diff options
Diffstat (limited to 'productinventory.ui')
-rw-r--r-- | productinventory.ui | 193 |
1 files changed, 114 insertions, 79 deletions
diff --git a/productinventory.ui b/productinventory.ui index 3bd84d4..1e10f34 100644 --- a/productinventory.ui +++ b/productinventory.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>583</width> - <height>484</height> + <width>705</width> + <height>564</height> </rect> </property> <property name="windowTitle"> @@ -18,7 +18,7 @@ <item> <widget class="QTabWidget" name="mainTabs"> <property name="sizePolicy"> - <sizepolicy hsizetype="Ignored" vsizetype="Expanding"> + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -150,7 +150,21 @@ <layout class="QFormLayout" name="formLayout_6"> <item row="0" column="0"> <layout class="QGridLayout" name="gridLayout_4"> - <item row="3" column="1"> + <item row="1" column="0"> + <widget class="QLabel" name="filterBrandsLabel"> + <property name="text"> + <string>Filter brands</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Sorting</string> + </property> + </widget> + </item> + <item row="5" column="1"> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -163,13 +177,6 @@ </property> </spacer> </item> - <item row="1" column="0"> - <widget class="QLabel" name="filterBrandsLabel"> - <property name="text"> - <string>Filter brands</string> - </property> - </widget> - </item> <item row="2" column="1"> <widget class="QLineEdit" name="includesTextBrandsInput"> <property name="minimumSize"> @@ -187,28 +194,17 @@ </property> </widget> </item> - </layout> - </item> - <item row="1" column="0"> - <widget class="QPushButton" name="pushButton"> - <property name="text"> - <string>Filter</string> - </property> - </widget> - </item> - <item row="2" column="0"> - <layout class="QFormLayout" name="formLayout_5"> - <item row="0" column="0"> - <widget class="QLabel" name="statsLabel"> + <item row="4" column="1"> + <widget class="QCheckBox" name="filterSortReverseAlphabeticalCheckBox"> <property name="text"> - <string>Stats:</string> + <string>Reverse alphabetical</string> </property> </widget> </item> - <item row="1" column="0"> - <widget class="QLabel" name="statsHereLabel"> + <item row="4" column="0"> + <widget class="QCheckBox" name="filterSortAlphabeticalCheckBox"> <property name="text"> - <string>STATS_PLACEHOLDER</string> + <string>Alphabetical</string> </property> </widget> </item> @@ -216,22 +212,22 @@ </item> <item row="0" column="1"> <layout class="QFormLayout" name="formLayout_2"> - <item row="0" column="0"> + <item row="1" column="0"> <widget class="QLabel" name="filterProductsLabel"> <property name="text"> <string>Filter products</string> </property> </widget> </item> - <item row="1" column="0"> - <widget class="QLabel" name="filterCategoryLabel"> + <item row="2" column="0"> + <widget class="QLabel" name="includesTextProductsLabel"> <property name="text"> - <string>Category</string> + <string>Includes text:</string> </property> </widget> </item> - <item row="1" column="1"> - <widget class="QComboBox" name="filterCategoryComboBox"> + <item row="2" column="1"> + <widget class="QLineEdit" name="includesTextProductsInput"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> <horstretch>0</horstretch> @@ -246,30 +242,85 @@ </property> </widget> </item> - <item row="3" column="0"> - <widget class="QLabel" name="includesTextProductsLabel"> + <item row="5" column="0"> + <widget class="QLabel" name="filterCategoryLabel"> <property name="text"> - <string>Includes text:</string> + <string>Categories</string> </property> </widget> </item> - <item row="3" column="1"> - <widget class="QLineEdit" name="includesTextProductsInput"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <item row="5" column="1"> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="0" column="0"> + <widget class="QPushButton" name="selectAllButton"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>90</width> + <height>16777215</height> + </size> + </property> + <property name="text"> + <string>Select all</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QPushButton" name="unselectAllButton"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>90</width> + <height>16777215</height> + </size> + </property> + <property name="text"> + <string>Unselect all</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="7" column="0" colspan="2"> + <widget class="QScrollArea" name="filterCategoryScrollArea"> + <property name="sizeAdjustPolicy"> + <enum>QAbstractScrollArea::AdjustToContents</enum> </property> - <property name="minimumSize"> - <size> - <width>115</width> - <height>0</height> - </size> + <property name="widgetResizable"> + <bool>true</bool> </property> + <widget class="QWidget" name="scrollAreaWidgetContents_2"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>395</width> + <height>68</height> + </rect> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <layout class="QGridLayout" name="filterCategoryGrid"> + <property name="spacing"> + <number>0</number> + </property> + </layout> + </item> + </layout> + </widget> </widget> </item> - <item row="5" column="0"> + <item row="8" column="0"> <widget class="QCheckBox" name="mustHaveImagesCheckBox"> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> @@ -282,39 +333,21 @@ </property> </widget> </item> - <item row="6" column="0"> + <item row="8" column="1"> <widget class="QCheckBox" name="mustNotHaveImagesCheckBox"> <property name="text"> <string>Must not have images</string> </property> </widget> </item> - <item row="4" column="0" colspan="2"> - <widget class="QScrollArea" name="filterCategoryScrollArea"> - <property name="widgetResizable"> - <bool>true</bool> - </property> - <widget class="QWidget" name="scrollAreaWidgetContents_2"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>318</width> - <height>68</height> - </rect> - </property> - <layout class="QGridLayout" name="gridLayout_3"/> - </widget> - </widget> - </item> - <item row="5" column="1"> + <item row="9" column="0"> <widget class="QCheckBox" name="newestFirstCheckBox"> <property name="text"> <string>Newest first</string> </property> </widget> </item> - <item row="6" column="1"> + <item row="9" column="1"> <widget class="QCheckBox" name="oldestFirstCheckBox"> <property name="text"> <string>Oldest first</string> @@ -323,6 +356,13 @@ </item> </layout> </item> + <item row="1" column="0"> + <widget class="QPushButton" name="pushButton"> + <property name="text"> + <string>Filter</string> + </property> + </widget> + </item> </layout> </widget> </widget> @@ -337,8 +377,8 @@ <rect> <x>0</x> <y>0</y> - <width>549</width> - <height>118</height> + <width>685</width> + <height>187</height> </rect> </property> <layout class="QGridLayout" name="gridLayout"> @@ -429,7 +469,7 @@ <rect> <x>0</x> <y>0</y> - <width>583</width> + <width>705</width> <height>20</height> </rect> </property> @@ -461,13 +501,8 @@ <tabstop>scrollArea</tabstop> <tabstop>tableWidget</tabstop> <tabstop>includesTextBrandsInput</tabstop> - <tabstop>filterCategoryComboBox</tabstop> - <tabstop>includesTextProductsInput</tabstop> <tabstop>filterCategoryScrollArea</tabstop> <tabstop>mustHaveImagesCheckBox</tabstop> - <tabstop>newestFirstCheckBox</tabstop> - <tabstop>mustNotHaveImagesCheckBox</tabstop> - <tabstop>oldestFirstCheckBox</tabstop> <tabstop>pushButton</tabstop> </tabstops> <resources/> |