aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/db/dbpluginoption.h
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/db/dbpluginoption.h')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/db/dbpluginoption.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/db/dbpluginoption.h b/SQLiteStudio3/coreSQLiteStudio/db/dbpluginoption.h
index e2ed66f..6cf27d5 100644
--- a/SQLiteStudio3/coreSQLiteStudio/db/dbpluginoption.h
+++ b/SQLiteStudio3/coreSQLiteStudio/db/dbpluginoption.h
@@ -45,7 +45,8 @@ struct DbPluginOption
FILE = 4, /**< QLineEdit will be added */
PASSWORD = 5, /**< QLineEdit with value masking will be added */
CHOICE = 6, /**< QComboBox will be added */
- CUSTOM_PATH_BROWSE = 7 /**< File path browse button will be handled by the plugin. No additional editor will be added. */
+ CUSTOM_PATH_BROWSE = 7, /**< File path browse button will be handled by the plugin. No additional editor will be added. */
+ SQL = 8, /**< SqlEditor will be added. */
};
/**
@@ -75,6 +76,11 @@ struct DbPluginOption
QStringList choiceValues;
/**
+ * @brief List of value for QComboBox, including it's data (hidden) component.
+ */
+ QMap<QString, QVariant> choiceDataValues;
+
+ /**
* @brief Default value to be set in the editor widget.
*/
QVariant defaultValue;