summaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/uiloaderpropertyhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/uiloaderpropertyhandler.h')
-rw-r--r--SQLiteStudio3/guiSQLiteStudio/uiloaderpropertyhandler.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/uiloaderpropertyhandler.h b/SQLiteStudio3/guiSQLiteStudio/uiloaderpropertyhandler.h
new file mode 100644
index 0000000..506d588
--- /dev/null
+++ b/SQLiteStudio3/guiSQLiteStudio/uiloaderpropertyhandler.h
@@ -0,0 +1,16 @@
+#ifndef UILOADERPROPERTYHANDLER_H
+#define UILOADERPROPERTYHANDLER_H
+
+#include "guiSQLiteStudio_global.h"
+#include <QVariant>
+
+class QWidget;
+
+class GUI_API_EXPORT UiLoaderPropertyHandler
+{
+ public:
+ virtual const char* getPropertyName() const = 0;
+ virtual void handle(QWidget* widget, const QVariant& value) = 0;
+};
+
+#endif // UILOADERPROPERTYHANDLER_H