summaryrefslogtreecommitdiff
path: root/productinventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'productinventory.h')
-rw-r--r--productinventory.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/productinventory.h b/productinventory.h
index 34df6c4..8d748bc 100644
--- a/productinventory.h
+++ b/productinventory.h
@@ -26,6 +26,9 @@
#include <QSqlError>
#include <QMessageBox>
#include <QTableWidgetItem>
+#include <QSplitter>
+#include <QCheckBox>
+#include <QGridLayout>
#include <QDebug>
namespace Ui {
@@ -71,7 +74,9 @@ private:
int createTable(QString category); // create a table and add it to our tables list with a header, returns index in list or -1
QStringList headerLabels; // labels used for table headers
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