aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/db/dbpluginoption.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-12-17 07:07:47 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2021-12-17 07:07:47 -0500
commit558b1e35fd0777ac97763c1b28056ac984e583e7 (patch)
tree1eb2557119a117ea76535c89cd14a49e510b96bf /SQLiteStudio3/coreSQLiteStudio/db/dbpluginoption.h
parentc22eb635c11fd45f9c30f911d70e1d79111a49ce (diff)
parent1fdc150116cad39aae5c5da407c3312b47a59e3a (diff)
Update upstream source from tag 'upstream/3.3.3+dfsg1'
Update to upstream version '3.3.3+dfsg1' with Debian dir 9a301fff4922aed2fec0c04c7d011947168c42f1
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;