X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvendorlevelwidget.h;fp=src%2Fvendorlevelwidget.h;h=124eed9ed472ace278a7e24bfde312a730f59aba;hb=6df1a447a1fa1b9e51fd177a806f910813657b09;hp=0000000000000000000000000000000000000000;hpb=f3116511d09acfd5b32d3412c82c4337d89f2ad9;p=schematic diff --git a/src/vendorlevelwidget.h b/src/vendorlevelwidget.h new file mode 100644 index 0000000..124eed9 --- /dev/null +++ b/src/vendorlevelwidget.h @@ -0,0 +1,34 @@ +// +// addresswidget.h: Vendor address display +// +// by James Hammons +// (C) 2012 Underground Software +// + +#ifndef __VENDORLEVELWIDGET_H__ +#define __VENDORLEVELWIDGET_H__ + +#include + +class VendorLevelWidget: public QWidget +{ + public: + VendorLevelWidget(QWidget * parent = 0); + + void DoQuery(int key); + + private: + void ParseDescription(void); + + private: + QLabel * topLine; + QLabel * level; + int color; + QString description; + + public: + bool usable; +}; + +#endif // __VENDORLEVELWIDGET_H__ +