konaclient-qt/mainwindow.ui

504 lines
12 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>880</width>
<height>600</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>640</width>
<height>480</height>
</size>
</property>
<property name="windowTitle">
<string>KonaClient</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QScrollArea" name="scrollList">
<property name="styleSheet">
<string notr="true">/* background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(122, 122, 122, 255));*/</string>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>663</width>
<height>533</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QVBoxLayout" name="listLayout">
<property name="spacing">
<number>6</number>
</property>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>880</width>
<height>25</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&amp;File</string>
</property>
<addaction name="actionQuit"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>&amp;View</string>
</property>
<widget class="QMenu" name="menuWidgets">
<property name="title">
<string>&amp;Widgets</string>
</property>
<addaction name="actionSearch"/>
<addaction name="actionNavigation"/>
<addaction name="actionTags"/>
</widget>
<addaction name="menuWidgets"/>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>&amp;Help</string>
</property>
</widget>
<addaction name="menuFile"/>
<addaction name="menuView"/>
<addaction name="menuHelp"/>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<widget class="QDockWidget" name="searchWidget">
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="floating">
<bool>false</bool>
</property>
<property name="features">
<set>QDockWidget::AllDockWidgetFeatures</set>
</property>
<property name="windowTitle">
<string>Search</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLineEdit" name="txtSearch">
<property name="toolTip">
<string>Remember to replace spaces per underscores. For example &quot;Suzumiya Haruhi&quot; -&gt; suzumiya_haruhi
You can use * as a wildcard. For example &quot;higurashi*&quot;</string>
</property>
<property name="statusTip">
<string>Enter tags seperated by a space.</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="searchButtonLayout">
<item>
<widget class="QPushButton" name="btnSearchPosts">
<property name="statusTip">
<string>Search in posts</string>
</property>
<property name="text">
<string>&amp;Posts</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnSearchPools">
<property name="statusTip">
<string>Search in pools</string>
</property>
<property name="text">
<string>P&amp;ools</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="navigationWidget">
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="windowTitle">
<string>Navigation</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_3">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Jump to page:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="pageJumpNum">
<property name="minimum">
<number>1</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="btnJump">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Go!</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="tagsWidget">
<property name="windowTitle">
<string>Tags</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_4">
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents_2">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>194</width>
<height>304</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="lblTags">
<property name="text">
<string>[Tags]</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>1000</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<action name="actionQuit">
<property name="text">
<string>&amp;Quit</string>
</property>
</action>
<action name="actionSearch">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Search</string>
</property>
<property name="shortcut">
<string>Alt+S</string>
</property>
</action>
<action name="actionNavigation">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Navigation</string>
</property>
<property name="shortcut">
<string>Alt+N</string>
</property>
</action>
<action name="actionTags">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Tags</string>
</property>
<property name="shortcut">
<string>Alt+T</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections>
<connection>
<sender>btnSearchPosts</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>searchPosts()</slot>
<hints>
<hint type="sourcelabel">
<x>58</x>
<y>117</y>
</hint>
<hint type="destinationlabel">
<x>69</x>
<y>148</y>
</hint>
</hints>
</connection>
<connection>
<sender>btnSearchPools</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>searchPools()</slot>
<hints>
<hint type="sourcelabel">
<x>172</x>
<y>119</y>
</hint>
<hint type="destinationlabel">
<x>200</x>
<y>146</y>
</hint>
</hints>
</connection>
<connection>
<sender>txtSearch</sender>
<signal>returnPressed()</signal>
<receiver>MainWindow</receiver>
<slot>searchPosts()</slot>
<hints>
<hint type="sourcelabel">
<x>146</x>
<y>83</y>
</hint>
<hint type="destinationlabel">
<x>26</x>
<y>145</y>
</hint>
</hints>
</connection>
<connection>
<sender>btnJump</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>jumpToPage()</slot>
<hints>
<hint type="sourcelabel">
<x>186</x>
<y>232</y>
</hint>
<hint type="destinationlabel">
<x>285</x>
<y>348</y>
</hint>
</hints>
</connection>
<connection>
<sender>lblTags</sender>
<signal>linkActivated(QString)</signal>
<receiver>MainWindow</receiver>
<slot>tagClicked(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>61</x>
<y>298</y>
</hint>
<hint type="destinationlabel">
<x>200</x>
<y>558</y>
</hint>
</hints>
</connection>
<connection>
<sender>tagsWidget</sender>
<signal>visibilityChanged(bool)</signal>
<receiver>actionTags</receiver>
<slot>setChecked(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>127</x>
<y>265</y>
</hint>
<hint type="destinationlabel">
<x>282</x>
<y>261</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionTags</sender>
<signal>toggled(bool)</signal>
<receiver>tagsWidget</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>97</x>
<y>412</y>
</hint>
</hints>
</connection>
<connection>
<sender>searchWidget</sender>
<signal>visibilityChanged(bool)</signal>
<receiver>actionSearch</receiver>
<slot>setChecked(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>97</x>
<y>82</y>
</hint>
<hint type="destinationlabel">
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionSearch</sender>
<signal>toggled(bool)</signal>
<receiver>searchWidget</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>97</x>
<y>82</y>
</hint>
</hints>
</connection>
<connection>
<sender>navigationWidget</sender>
<signal>visibilityChanged(bool)</signal>
<receiver>actionNavigation</receiver>
<slot>setChecked(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>97</x>
<y>193</y>
</hint>
<hint type="destinationlabel">
<x>97</x>
<y>82</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionNavigation</sender>
<signal>toggled(bool)</signal>
<receiver>navigationWidget</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>97</x>
<y>193</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionQuit</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>439</x>
<y>299</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>searchPosts()</slot>
<slot>searchPools()</slot>
<slot>jumpToPage()</slot>
<slot>tagClicked(QString)</slot>
</slots>
</ui>