summaryrefslogtreecommitdiff
path: root/productinventory.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2019-04-08 16:45:24 +0930
committerDaniel Jones <admin@danieljon.es>2019-04-08 16:45:24 +0930
commitd977c34d53a2d11b2d0f912e303c27c8af64a4cb (patch)
tree518c74754dfbcb86a2625dc43da53bc4f4710dfa /productinventory.h
parente38858efb7c8904352f9c4c1dea403b53a7a99f4 (diff)
downloadproductinventory-d977c34d53a2d11b2d0f912e303c27c8af64a4cb.tar.gz
productinventory-d977c34d53a2d11b2d0f912e303c27c8af64a4cb.zip
database changes, lots of core work
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