| AlterTableDialog | Handle alter table features. Sqlite3 has very limited ALTER TABLE feature set, so there is only support for "table rename" and "add column". Table Renaming is handled directly in the LiteManWindow method renameTable(). Adding columns - see addColumns(). It's a wrapper around plain ALTER TABLE ADD COLUMN statement. Drop Column is using a workaround with tmp table, insert-select statement and renaming. See createButton_clicked() |
| AlterTriggerDialog | GUI for trigger altering |
| AlterViewDialog | GUI for view altering |
| AnalyzeDialog | Handle DB statistics here. Sqlite3 offers simple statistics for its internal SQL optimizer |
| ArgsParser | Parse the CLI user input. Based on the Scribus code (a bit) |
| ImportTable::BaseModel | A base Model for all import "modules". It's a model in qt4 mvc architecture. See Qt4 docs for methods meanings |
| BlobPreviewWidget | Brute force BLOB to Image converter. Methods setBlobData() and setBlobFromFile() try convert BLOBs into images supported by Qt4 to create a image previews. It displays data size for all values |
| ConstraintsDialog | Create constraint related triggers. Sqlite3 does not know how to handle constraints itself |
| CreateIndexDialog | GUI for index creation |
| CreateTableDialog | A GUI for CREATE TABLE procedure |
| CreateTriggerDialog | GUI for trigger creation |
| CreateViewDialog | GUI for view creation |
| ImportTable::CSVModel | Comma Separated Values importer |
| Database | The database manager |
| DatabaseTableField | This struct is a sqlite3 table column representation. Something like a system catalogue item |
| DataExportDialog | GUI for data export into file or clipboard |
| DataViewer | A Complex widget handling the database outputs and status messages |
| HelpBrowser | A simple documentation browser. Docs are generated by Docbook files in th Documentation section in the SVN tree |
| ImportTableDialog | Import data into table using various importer types |
| ImportTableLogDialog | Simple import log viewer. Used from ImportTableDialog as a result viewer when an import error occurs |
| DataViewerTools::KeyPressEater | Catch a "Copy to clipboard" key sequence. It depends on the OS system - mostly Ctrl+C. This class is used as an eventFilter for DataViewer::ui.tableView because this widget is handled in designer (I don't want to inherit it to live in my code). See DataViewer constructor |
| LiteManWindow | The main window for LiteMan |
| MultiEditDialog | Enthanced modal editor for custom delegate. User handles here large texts (more than 1 line), files to BLOBs, and date strings. DateTime mask/format can be setup as in Qt4 classes: http://doc.trolltech.com/4.3/qdatetime.html#toString |
| Populator::PopColumn | Column description for Populator |
| PopulatorColumnWidget | Populator configurator for one column. It's a GUI for column related configuration. No calculation are handled here -- only Populator::PopColumn settings |
| PopulatorDialog | Simple (testing/QA) data generator for tables. Populator tries to guess what to insert into the table. It finds if the requested value is number/text/primary key and its size. When user choose "resume errors" checkbox in its GUI the Populator runs until the end and does not check any errors. When it's disabled by user, the first error (e.g. unique constraint or trigger test violated) stops the execution |
| Preferences | |
| PreferencesDialog | Basic preferences dialog and handling. It constructs GUI to manage the prefs. The static methods are used to access the prefs out of this class in the application guts |
| PrefsDataDisplayWidget | |
| PrefsLNFWidget | |
| PrefsSQLEditorWidget | |
| QueryEditorDialog | A dialog for creating and editing queries |
| QueryStringModel | Improved QStringListModel for items handling in paralel layouts. See queryeditordilog.ui in Qt4 designer. QueryStringModels are used in "swap" items views |
| SchemaBrowser | A "toolbox" widget containing DB objects and more useful info. It contains a DB object tree and PRAGMAs list now |
| ShortcutEditorDialog | A GUI for settings sQL editor shortcuts. The basic idea of "shortcuts" is: user can define some string sequences like "sf" what will be expanded into e.g. "select * from" after pressing Tabelator in the editor |
| ShortcutModel | A model for sQL editor shortcuts. See ShortcutEditorDialog for basic idea of shortcuts. Shortcuts are handled as a QList of QPairs in the model. It's due the need of changing "key" values what is impossible in QMap/QHash structures (well, it could be done but it is expensive). Shortcuts are saved by Preferences as a QMap(QString,QVariant). QVariant due the QSettings limitations |
| SqlDelegate | A special delegate for editation of database result cells. See SqlDelegateUi for its widget. See Qt4 docs for delegate informations |
| SqlDelegateUi | A custom widget used for direct data editation in the DataViewer result table. It contains line edit and some buttons for specific tasks. LineEdit is used for direct editation as in the default item delegate. This widget is disabled when there is stored a multiline text (\n) or the value is BLOB. nullButton handles a real NULL values insertions. Text can be in 3 states: a string, an empty string ('') and NULL. Sqlite3 makes difference between '' and NULL. editButton opens "multi" editor (see MultiEditDialog()). User can edit multi lined large texts, load files into BLOB, or format DateTime data |
| SqlEditor | Execute Query dialog. Simple SQL editor. It allows simple editing capabilities for user. There is a simple syntax highlighting (see SqlHighlighter class) |
| SqlEditorWidget | A customized QTextEdit. It handles the current line highlighting and max line width mark |
| SqlItemView | Display one record in one form view. It provides set of generic line edits for current model index. User can change model indexes by GUI buttons |
| SqliteProcess | |
| SqlQueryModel | Simple color/behaviour improvements for standard Qt4 Sql Models |
| SqlTableModel | Simple color/behaviour improvements for standard Qt4 Sql Models |
| TableEditorDialog | A base dialog for creating and editing tables. This dialog is taken as a inheritance parent for AlterTableDialog and CreateTableDialog |
| TableTree | Schema browser. A tree structure containing sorted database objects |
| TermEditor | A hidden helper widget for editing a query term |
| toSQLParse | |
| toSQLParse::editorTokenizer | |
| toSQLParse::settings | |
| toSQLParse::statement | |
| toSQLParse::stringTokenizer | |
| toSQLParse::tokenizer | |
| VacuumDialog | Handle DB file (un)used space. Sqlite3 offers VACUUM option for its internal data structures |
| ImportTable::XMLModel | MS Excel XML importer |