]> Shamusworld >> Repos - schematic/blobdiff - src/scmwidget.h
Added new classes, lots of new functionality.
[schematic] / src / scmwidget.h
diff --git a/src/scmwidget.h b/src/scmwidget.h
new file mode 100644 (file)
index 0000000..6081f71
--- /dev/null
@@ -0,0 +1,49 @@
+//
+// scmwidget.h: Main widget page container
+//
+// by James Hammons
+// (C) 2012 Underground Software
+//
+
+#ifndef __SCMWIDGET_H__
+#define __SCMWIDGET_H__
+
+#include <QtGui>
+#include "vendorlevelwidget.h"
+
+class SCMWidget: public QWidget
+{
+       public:
+               SCMWidget(QWidget * parent = 0);
+
+//     protected:
+//             void keyPressEvent(QKeyEvent *);
+
+       public:
+               QTreeView * purchaseOrders;
+               QLabel * vendorName;
+               QLabel * ndaSigned;
+               QTabWidget * vendorAddress;
+               QTabWidget * vendorContact;
+               QListWidget * vendorClass;
+               QLabel * username;
+               VendorLevelWidget * vendorLevel;
+               QListWidget * alerts;
+               QListWidget * notes;
+
+       private:
+               QToolButton * nextVendorButton;
+               QToolButton * previousVendorButton;
+               QPushButton * editVendor;
+               QPushButton * addVendor;
+               QPushButton * addLocation;
+               QPushButton * addContact;
+               QPushButton * createAlert;
+               QPushButton * createNote;
+               QPushButton * showOpen;
+               QPushButton * showClosed;
+               QPushButton * showAll;
+               QPushButton * createPO;
+};
+
+#endif // __SCMWIDGET_H__