Created
August 12, 2013 15:08
-
-
Save anonymous/6211647 to your computer and use it in GitHub Desktop.
This Patch is thought to be used width the Qt widget Q7seg 0.1 at qt-apps.org. It contains fixes to make this widget compatible to Qt 5 and removes needless semicolons. Plugin support is discarded. But you can use it like a regular class.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/Q7segplug-0.1/q7seg.h 2008-01-25 13:35:24.000000000 +0100 | |
+++ b/Q7segplug-0.1/q7seg.h 2013-08-11 21:24:52.000000000 +0200 | |
@@ -22,15 +22,15 @@ | |
#define Q7SEG_H | |
#include <QtGui> | |
-#include <QtDesigner/QDesignerExportWidget> | |
+#include <QtWidgets> | |
-class QDESIGNER_WIDGET_EXPORT Q7seg : public QWidget | |
+class Q7seg : public QWidget | |
{ | |
Q_OBJECT | |
Q_ENUMS(NumColor) | |
- Q_PROPERTY(int num READ num WRITE setNumber); | |
- Q_PROPERTY(NumColor color READ color WRITE setColor); | |
+ Q_PROPERTY(int num READ num WRITE setNumber) | |
+ Q_PROPERTY(NumColor color READ color WRITE setColor) | |
public: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment