X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fscmwidget.h;h=d29e5ad4cfc819777eb80dafe79c398345dd3b78;hb=e2916da12c7309ded63c3d091271ebb2f9123305;hp=6081f7127a1bd85837b064480693ea8dbae08695;hpb=6faae8ae2d4575bb03459bd381a5cf8da8044b3c;p=schematic diff --git a/src/scmwidget.h b/src/scmwidget.h index 6081f71..d29e5ad 100644 --- a/src/scmwidget.h +++ b/src/scmwidget.h @@ -9,15 +9,28 @@ #define __SCMWIDGET_H__ #include +#include #include "vendorlevelwidget.h" +class AddressWidget; +class ContactWidget; + class SCMWidget: public QWidget { + Q_OBJECT + public: SCMWidget(QWidget * parent = 0); // protected: // void keyPressEvent(QKeyEvent *); + protected slots: + void GetNextVendor(void); + void GetPreviousVendor(void); + + public: + void GetVendorIDs(void); + void GetVendor(int); public: QTreeView * purchaseOrders; @@ -30,8 +43,10 @@ class SCMWidget: public QWidget VendorLevelWidget * vendorLevel; QListWidget * alerts; QListWidget * notes; + AddressWidget * vaw1; + ContactWidget * vcw1; - private: +// private: QToolButton * nextVendorButton; QToolButton * previousVendorButton; QPushButton * editVendor; @@ -44,6 +59,11 @@ class SCMWidget: public QWidget QPushButton * showClosed; QPushButton * showAll; QPushButton * createPO; + QCheckBox * vendorRelated; + + private: + std::vector vendorID; + int vidCursor; }; #endif // __SCMWIDGET_H__