2 // scmwidget.h: Main widget page container
5 // (C) 2012 Underground Software
8 #ifndef __SCMWIDGET_H__
9 #define __SCMWIDGET_H__
13 #include "vendorlevelwidget.h"
18 class SCMWidget: public QWidget
23 SCMWidget(QWidget * parent = 0);
26 // void keyPressEvent(QKeyEvent *);
28 void GetNextVendor(void);
29 void GetPreviousVendor(void);
30 void CreateNote(void);
31 void CreateAlert(void);
32 void CreatePurchaseOrder(void);
33 void ShowOpenPOs(void);
34 void ShowClosedPOs(void);
35 void ShowAllPOs(void);
37 void AddLocation(void);
38 void AddContact(void);
39 void EditVendor(void);
42 void GetVendorIDs(void);
44 void UpdateNotes(void);
47 QTreeView * purchaseOrders;
50 QTabWidget * vendorAddress;
51 QTabWidget * vendorContact;
52 QListWidget * vendorClass;
54 VendorLevelWidget * vendorLevel;
61 QToolButton * nextVendorButton;
62 QToolButton * previousVendorButton;
63 QPushButton * editVendor;
64 QPushButton * addVendor;
65 QPushButton * addLocation;
66 QPushButton * addContact;
67 QPushButton * createAlert;
68 QPushButton * createNote;
69 QPushButton * showOpen;
70 QPushButton * showClosed;
71 QPushButton * showAll;
72 QPushButton * createPO;
73 QCheckBox * vendorRelated;
78 std::vector<int> vendorID;
82 #endif // __SCMWIDGET_H__