From 016003905ca0e8e459e3dc33e786beda8ec92f45 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 30 Jan 2015 17:00:07 -0500 Subject: Imported Upstream version 3.0.2 --- .../coreSQLiteStudio/plugins/exportplugin.h | 1 + .../coreSQLiteStudio/plugins/genericexportplugin.h | 2 + .../coreSQLiteStudio/plugins/populateconstant.ui | 4 +- .../coreSQLiteStudio/plugins/populatedictionary.ui | 28 ++++++------ .../coreSQLiteStudio/plugins/populaterandom.ui | 26 +++++------ .../coreSQLiteStudio/plugins/populaterandomtext.ui | 52 +++++++++++----------- .../coreSQLiteStudio/plugins/populatescript.ui | 14 +++--- .../coreSQLiteStudio/plugins/populatesequence.ui | 14 +++--- 8 files changed, 72 insertions(+), 69 deletions(-) (limited to 'SQLiteStudio3/coreSQLiteStudio/plugins') diff --git a/SQLiteStudio3/coreSQLiteStudio/plugins/exportplugin.h b/SQLiteStudio3/coreSQLiteStudio/plugins/exportplugin.h index 06aded7..8c269e2 100644 --- a/SQLiteStudio3/coreSQLiteStudio/plugins/exportplugin.h +++ b/SQLiteStudio3/coreSQLiteStudio/plugins/exportplugin.h @@ -224,6 +224,7 @@ class ExportPlugin : virtual public Plugin * @param database "Attach" name of the database that the table belongs to. Can be "main", "temp", or any attach name. * @param table Name of the table to export. * @param columnNames Name of columns in the table, in order they will appear in the rows passed to exportTableRow(). + * This will be empty if data is not being exported. This is different than for exportTable(), where columnNames are always present. * @param ddl The DDL of the table. * @param createTable Table DDL parsed into an object. * @param providedData All data entries requested by the plugin in the return value of getProviderFlags(). diff --git a/SQLiteStudio3/coreSQLiteStudio/plugins/genericexportplugin.h b/SQLiteStudio3/coreSQLiteStudio/plugins/genericexportplugin.h index 1719baa..0edbde6 100644 --- a/SQLiteStudio3/coreSQLiteStudio/plugins/genericexportplugin.h +++ b/SQLiteStudio3/coreSQLiteStudio/plugins/genericexportplugin.h @@ -6,6 +6,8 @@ class API_EXPORT GenericExportPlugin : virtual public GenericPlugin, public ExportPlugin { + Q_OBJECT + public: bool initBeforeExport(Db* db, QIODevice* output, const ExportManager::StandardExportConfig& config); ExportManager::ExportModes getSupportedModes() const; diff --git a/SQLiteStudio3/coreSQLiteStudio/plugins/populateconstant.ui b/SQLiteStudio3/coreSQLiteStudio/plugins/populateconstant.ui index 39e80e1..ddd1131 100644 --- a/SQLiteStudio3/coreSQLiteStudio/plugins/populateconstant.ui +++ b/SQLiteStudio3/coreSQLiteStudio/plugins/populateconstant.ui @@ -11,7 +11,7 @@ - Form + Form @@ -23,7 +23,7 @@ - PopulateConstant.Value + PopulateConstant.Value diff --git a/SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.ui b/SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.ui index f99491f..6a28476 100644 --- a/SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.ui +++ b/SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.ui @@ -11,7 +11,7 @@ - Form + Form @@ -23,7 +23,7 @@ - PopulateDictionary.File + PopulateDictionary.File Pick dictionary file @@ -41,12 +41,12 @@ - - PopulateDictionary.Lines - Whitespace + + PopulateDictionary.Lines + false @@ -54,12 +54,12 @@ - - PopulateDictionary.Lines - Line break + + PopulateDictionary.Lines + true @@ -76,12 +76,12 @@ - - PopulateDictionary.Random - Ordered + + PopulateDictionary.Random + false @@ -89,12 +89,12 @@ - - PopulateDictionary.Random - Randomly + + PopulateDictionary.Random + true diff --git a/SQLiteStudio3/coreSQLiteStudio/plugins/populaterandom.ui b/SQLiteStudio3/coreSQLiteStudio/plugins/populaterandom.ui index fb304ea..4e7853e 100644 --- a/SQLiteStudio3/coreSQLiteStudio/plugins/populaterandom.ui +++ b/SQLiteStudio3/coreSQLiteStudio/plugins/populaterandom.ui @@ -11,7 +11,7 @@ - Form + Form @@ -22,12 +22,12 @@ - - PopulateRandom.Prefix - No prefix + + PopulateRandom.Prefix + @@ -41,15 +41,15 @@ - - PopulateRandom.MinValue - -999999999 999999999 + + PopulateRandom.MinValue + @@ -63,9 +63,6 @@ - - PopulateRandom.MaxValue - -999999999 @@ -75,6 +72,9 @@ 999999999 + + PopulateRandom.MaxValue + @@ -88,12 +88,12 @@ - - PopulateRandom.Suffix - No suffix + + PopulateRandom.Suffix + diff --git a/SQLiteStudio3/coreSQLiteStudio/plugins/populaterandomtext.ui b/SQLiteStudio3/coreSQLiteStudio/plugins/populaterandomtext.ui index 28febde..00ff1e5 100644 --- a/SQLiteStudio3/coreSQLiteStudio/plugins/populaterandomtext.ui +++ b/SQLiteStudio3/coreSQLiteStudio/plugins/populaterandomtext.ui @@ -11,20 +11,20 @@ - Form + Form - - PopulateRandomText.UseCustomSets - Use characters from common sets: true + + PopulateRandomText.UseCustomSets + false @@ -38,12 +38,12 @@ - - PopulateRandomText.MinLength - 999999999 + + PopulateRandomText.MinLength + @@ -63,12 +63,12 @@ Letters from a to z. - - PopulateRandomText.IncludeAlpha - Alpha + + PopulateRandomText.IncludeAlpha + @@ -76,12 +76,12 @@ Numbers from 0 to 9. - - PopulateRandomText.IncludeNumeric - Numeric + + PopulateRandomText.IncludeNumeric + @@ -89,12 +89,12 @@ A whitespace, a tab and a new line character. - - PopulateRandomText.IncludeWhitespace - Whitespace + + PopulateRandomText.IncludeWhitespace + @@ -102,12 +102,12 @@ Includes all above and all others. - - PopulateRandomText.IncludeBinary - Binary + + PopulateRandomText.IncludeBinary + @@ -115,12 +115,12 @@ - - PopulateRandomText.UseCustomSets - Use characters from my custom set: + + PopulateRandomText.UseCustomSets + true @@ -134,12 +134,12 @@ - - PopulateRandomText.MaxLength - 999999999 + + PopulateRandomText.MaxLength + @@ -160,7 +160,7 @@ If you type some character multiple times, it's more likely to be used. - PopulateRandomText.CustomCharacters + PopulateRandomText.CustomCharacters diff --git a/SQLiteStudio3/coreSQLiteStudio/plugins/populatescript.ui b/SQLiteStudio3/coreSQLiteStudio/plugins/populatescript.ui index 8d37994..7e530f5 100644 --- a/SQLiteStudio3/coreSQLiteStudio/plugins/populatescript.ui +++ b/SQLiteStudio3/coreSQLiteStudio/plugins/populatescript.ui @@ -11,7 +11,7 @@ - Form + Form @@ -29,7 +29,7 @@ - PopulateScript.InitCode + PopulateScript.InitCode true @@ -48,7 +48,7 @@ - PopulateScript.Code + PopulateScript.Code true @@ -73,7 +73,7 @@ - PopulateScript.Language + PopulateScript.Language true @@ -92,13 +92,13 @@ - ... + ... - http://sqlitestudio.pl/wiki/index.php/Official_plugins#Script_.28built-in.29 + http://sqlitestudio.pl/wiki/index.php/Official_plugins#Script_.28built-in.29 - help + help diff --git a/SQLiteStudio3/coreSQLiteStudio/plugins/populatesequence.ui b/SQLiteStudio3/coreSQLiteStudio/plugins/populatesequence.ui index 231af85..20c7064 100644 --- a/SQLiteStudio3/coreSQLiteStudio/plugins/populatesequence.ui +++ b/SQLiteStudio3/coreSQLiteStudio/plugins/populatesequence.ui @@ -11,20 +11,20 @@ - Form + Form - - PopulateSequence.StartValue - -99999999 99999999 + + PopulateSequence.StartValue + @@ -36,9 +36,6 @@ - - PopulateSequence.Step - -999999 @@ -48,6 +45,9 @@ 1 + + PopulateSequence.Step + -- cgit v1.2.3