]> Shamusworld >> Repos - schematic/blob - src/scmwidget.h
6081f7127a1bd85837b064480693ea8dbae08695
[schematic] / src / scmwidget.h
1 //
2 // scmwidget.h: Main widget page container
3 //
4 // by James Hammons
5 // (C) 2012 Underground Software
6 //
7
8 #ifndef __SCMWIDGET_H__
9 #define __SCMWIDGET_H__
10
11 #include <QtGui>
12 #include "vendorlevelwidget.h"
13
14 class SCMWidget: public QWidget
15 {
16         public:
17                 SCMWidget(QWidget * parent = 0);
18
19 //      protected:
20 //              void keyPressEvent(QKeyEvent *);
21
22         public:
23                 QTreeView * purchaseOrders;
24                 QLabel * vendorName;
25                 QLabel * ndaSigned;
26                 QTabWidget * vendorAddress;
27                 QTabWidget * vendorContact;
28                 QListWidget * vendorClass;
29                 QLabel * username;
30                 VendorLevelWidget * vendorLevel;
31                 QListWidget * alerts;
32                 QListWidget * notes;
33
34         private:
35                 QToolButton * nextVendorButton;
36                 QToolButton * previousVendorButton;
37                 QPushButton * editVendor;
38                 QPushButton * addVendor;
39                 QPushButton * addLocation;
40                 QPushButton * addContact;
41                 QPushButton * createAlert;
42                 QPushButton * createNote;
43                 QPushButton * showOpen;
44                 QPushButton * showClosed;
45                 QPushButton * showAll;
46                 QPushButton * createPO;
47 };
48
49 #endif  // __SCMWIDGET_H__