summaryrefslogtreecommitdiff
path: root/productinventory.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2019-04-11 10:51:31 +0930
committerDaniel Jones <admin@danieljon.es>2019-04-11 10:51:31 +0930
commita140c3d8d118a27d685ce06f7d296d27602c5043 (patch)
tree820ef6c80641b90fb51cdd446e60217a2efc813c /productinventory.h
parent0069dd59b4284d17ca67224dbc77cdd06dd40b5c (diff)
downloadproductinventory-a140c3d8d118a27d685ce06f7d296d27602c5043.tar.gz
productinventory-a140c3d8d118a27d685ce06f7d296d27602c5043.zip
many fixes, tweaks and things added, mainly checkbox related
Diffstat (limited to 'productinventory.h')
-rw-r--r--productinventory.h24
1 files changed, 22 insertions, 2 deletions
diff --git a/productinventory.h b/productinventory.h
index 8d748bc..d79b949 100644
--- a/productinventory.h
+++ b/productinventory.h
@@ -28,7 +28,8 @@
#include <QTableWidgetItem>
#include <QSplitter>
#include <QCheckBox>
-#include <QGridLayout>
+#include <QVBoxLayout>
+#include <qscrollbar.h>
#include <QDebug>
namespace Ui {
@@ -56,6 +57,26 @@ private slots:
void on_mustHaveImagesCheckBox_clicked(); // called when must have images filter selected
void on_mustNotHaveImagesCheckBox_clicked(); // called when must not have images filter selected
+ void on_selectAllButton_clicked();
+
+ void on_unselectAllButton_clicked();
+
+ void on_checkBox_2_clicked();
+
+ void on_filterSortAlphaCheckBox_clicked();
+
+ void on_filterSortRevAlphaCheckBox_clicked();
+
+ void on_filterSortAlphabeticalCheckBox_clicked();
+
+ void on_filterSortReverseAlphabeticalCheckbox_clicked();
+
+ void on_filterSortReverseAlphabeticalCheckBox_clicked();
+
+ void on_newestFirstCheckBox_clicked();
+
+ void on_oldestFirstCheckBox_clicked();
+
private:
Ui::ProductInventory *ui;
QString conStatus; // connection status text
@@ -76,7 +97,6 @@ private:
QList<QLabel *> labels; // labels used for table names
void resizeRows(); // resize all table rows to fit the content
QList<QCheckBox *> checkboxes; // checkboxes used to filter product categories
- QGridLayout *categoryLayout; // layout
};
#endif // PRODUCTINVENTORY_H