]> Shamusworld >> Repos - schematic/blob - src/vendorlevelwidget.h
Move DB access to NoteDialog class, new AlertDialog class.
[schematic] / src / vendorlevelwidget.h
1 //
2 // addresswidget.h: Vendor address display
3 //
4 // by James Hammons
5 // (C) 2012 Underground Software
6 //
7
8 #ifndef __VENDORLEVELWIDGET_H__
9 #define __VENDORLEVELWIDGET_H__
10
11 #include <QtGui>
12
13 class VendorLevelWidget: public QWidget
14 {
15         public:
16                 VendorLevelWidget(QWidget * parent = 0);
17
18                 void DoQuery(int key);
19
20         private:
21                 void ParseDescription(void);
22
23         private:
24                 QLabel * topLine;
25                 QLabel * level;
26                 int color;
27                 QString description;
28
29         public:
30                 bool usable;
31 };
32
33 #endif  // __VENDORLEVELWIDGET_H__
34