]> Shamusworld >> Repos - schematic/blobdiff - src/vendorlevelwidget.h
Added new classes, lots of new functionality.
[schematic] / src / vendorlevelwidget.h
diff --git a/src/vendorlevelwidget.h b/src/vendorlevelwidget.h
new file mode 100644 (file)
index 0000000..124eed9
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// addresswidget.h: Vendor address display
+//
+// by James Hammons
+// (C) 2012 Underground Software
+//
+
+#ifndef __VENDORLEVELWIDGET_H__
+#define __VENDORLEVELWIDGET_H__
+
+#include <QtGui>
+
+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__
+