MainWindow 0 0 800 600 SQLiteBrowser :/oldimages/icon16:/oldimages/icon16 1 Database &Structure toolBar1 Qt::ToolButtonTextBesideIcon Qt::CustomContextMenu true QAbstractItemView::ScrollPerPixel true Name Object Type Schema &Browse Data Table: comboBrowseTable 1 0 150 0 Select a table to browse data Use this list to select a table to be displayed in the database view Refresh the data in the selected table. This button refreshes the data in the currently selected table. :/icons/refresh:/icons/refresh F5 Qt::Horizontal 300 20 Insert a new record in the current table This button creates a new, empty record in the database New Record Delete the current record This button deletes the record currently selected in the database Delete Record This is the database view. You can double-click any record to edit its contents in the cell editor window. QAbstractItemView::NoEditTriggers QAbstractItemView::ExtendedSelection QAbstractItemView::ScrollPerPixel false Go to previous record set page This button is used to navigate to the previous set of 1000 records in the database view < 0 - 0 of 0 false Go to next record set page This button is used to navigate to the next 1000 records set in the database view > Qt::Horizontal 40 20 Click here to browse the specified record This button is used to navigate to the record number specied in the Go to: area. Go to: Enter record number to browse Type a record number in this area and click the Go to: button to display the record in the database view 1 Edit &Pragmas true 0 0 278 444 QFormLayout::ExpandingFieldsGrow <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_auto_vacuum"><span style=" text-decoration: underline; color:#0000ff;">Auto Vacuum</span></a></p></body></html> true Qt::LinksAccessibleByMouse comboboxPragmaAutoVacuum None Full Incremental <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_automatic_index"><span style=" text-decoration: underline; color:#0000ff;">Automatic Index</span></a></p></body></html> true checkboxPragmaAutomaticIndex <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_checkpoint_fullfsync"><span style=" text-decoration: underline; color:#0000ff;">Checkpoint Full FSYNC</span></a></p></body></html> true checkboxPragmaCheckpointFullFsync <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_foreign_keys"><span style=" text-decoration: underline; color:#0000ff;">Foreign Keys</span></a></p></body></html> true checkboxPragmaForeignKeys <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_fullfsync"><span style=" text-decoration: underline; color:#0000ff;">Full FSYNC</span></a></p></body></html> true checkboxPragmaFullFsync <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_ignore_check_constraints"><span style=" text-decoration: underline; color:#0000ff;">Ignore Check Constraints</span></a></p></body></html> true checkboxPragmaIgnoreCheckConstraints <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_journal_mode"><span style=" text-decoration: underline; color:#0000ff;">Journal Mode</span></a></p></body></html> true comboboxPragmaJournalMode Delete Truncate Persist Memory WAL Off <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_journal_size_limit"><span style=" text-decoration: underline; color:#0000ff;">Journal Size Limit</span></a></p></body></html> true spinPragmaJournalSizeLimit -1 100000 <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_locking_mode"><span style=" text-decoration: underline; color:#0000ff;">Locking Mode</span></a></p></body></html> true comboboxPragmaLockingMode Normal Exclusive <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_max_page_count"><span style=" text-decoration: underline; color:#0000ff;">Max Page Count</span></a></p></body></html> true spinPragmaMaxPageCount 2000000000 <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_page_size"><span style=" text-decoration: underline; color:#0000ff;">Page Size</span></a></p></body></html> true spinPragmaPageSize 512 65536 <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_recursive_triggers"><span style=" text-decoration: underline; color:#0000ff;">Recursive Triggers</span></a></p></body></html> true checkboxPragmaRecursiveTriggers <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_secure_delete"><span style=" text-decoration: underline; color:#0000ff;">Secure Delete</span></a></p></body></html> true checkboxPragmaSecureDelete <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_synchronous"><span style=" text-decoration: underline; color:#0000ff;">Synchronous</span></a></p></body></html> true comboboxPragmaSynchronous Off Normal Full <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_temp_store"><span style=" text-decoration: underline; color:#0000ff;">Temp Store</span></a></p></body></html> true comboboxPragmaTempStore Default File Memory <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_schema_version"><span style=" text-decoration: underline; color:#0000ff;">User Version</span></a></p></body></html> true spinPragmaUserVersion 10000 <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_wal_autocheckpoint"><span style=" text-decoration: underline; color:#0000ff;">WAL Auto Checkpoint</span></a></p></body></html> true spinPragmaWalAutoCheckpoint 10000 QDialogButtonBox::Cancel|QDialogButtonBox::Save false E&xecute SQL toolBar1 -1 true true 0 0 800 20 &File &Import &Export &Edit &View &Help toolBar Qt::ToolButtonTextBesideIcon TopToolBarArea false QDockWidget::AllDockWidgetFeatures SQL Log 8 &Show SQL submitted by comboLogSubmittedBy User Application Qt::Horizontal 40 20 &Clear 0 Monospace 8 true Monospace 8 true :/icons/db_new:/icons/db_new &New Database... Create a new database file Create a new database file This option is used to create a new database file. Ctrl+N :/icons/db_open:/icons/db_open &Open Database... Open an existing database file Open an existing database file This option is used to open an existing database file. Ctrl+O false &Close Database Ctrl+W false :/icons/db_revert:/icons/db_revert Revert Changes Revert database to last saved state This option is used to revert the current database file to its last saved state. All changes made since the last save operation are lost. 75 true false :/icons/db_save:/icons/db_save Write Changes Write changes to the database file This option is used to save changes to the database file. 75 true false Compact Database Compact the database file, removing space wasted by deleted records Compact the database file, removing space wasted by deleted records. Compact the database file, removing space wasted by deleted records. E&xit Ctrl+Q Database from SQL file... Import data from an .sql dump text file into a new or existing database. This option lets you import data from an .sql dump text file into a new or existing database. SQL dump files can be created on most database engines, including MySQL and PostgreSQL. Table from CSV file... Open a wizard that lets you import data from a comma separated text file into a database table. Open a wizard that lets you import data from a comma separated text file into a database table. CSV files can be created on most database and spreadsheet applications. Database to SQL file... Export a database to a .sql dump text file. This option lets you export a database to a .sql dump text file. SQL dump files contain all data necessary to recreate the database on most database engines, including MySQL and PostgreSQL. Table as CSV file... Export a database table as a comma separated text file. Export a database table as a comma separated text file, ready to be imported into other database or spreadsheet applications. false :/icons/table_create:/icons/table_create Create Table... Open the Create Table wizard, where it is possible to define the name and fields for a new table in the database false :/icons/table_delete:/icons/table_delete Delete Table... Delete Object Open the Delete Table wizard, where you can select a database table to be dropped. false :/icons/table_modify:/icons/table_modify Modify Table... Open the Modify Table wizard, where it is possible to rename an existing table. It is also possible to add or delete fields form a table, as well as modify field names and types. false :/icons/index_create:/icons/index_create Create Index... Open the Create Index wizard, where it is possible to define a new index on an existing database table. :/icons/settings:/icons/settings &Preferences... Open the preferences window. Open the preferences window. true :/oldimages/log:/oldimages/log SQL &Log Display or hide the SQL log window, which stores all SQL commands issued by the user or the application. Ctrl+L true &DB Toolbar Shows or hides the Database toolbar. :/icons/whatis:/icons/whatis What's This? Shift+F1 &About... &Recently opened :/icons/open_tab:/icons/open_tab Open &tab Ctrl+T :/icons/run:/icons/run &Execute SQL F5 :/icons/open_sql:/icons/open_sql Open SQL file :/icons/save_sql:/icons/save_sql Save SQL file ExtendedTableWidget QTableView
ExtendedTableWidget.h
dbTreeWidget comboBrowseTable buttonRefresh buttonNewRecord buttonDeleteRecord dataTable buttonPrevious buttonNext buttonGoto editGoto scrollareaPragmas comboboxPragmaAutoVacuum checkboxPragmaAutomaticIndex checkboxPragmaCheckpointFullFsync checkboxPragmaForeignKeys checkboxPragmaFullFsync checkboxPragmaIgnoreCheckConstraints comboboxPragmaJournalMode spinPragmaJournalSizeLimit comboboxPragmaLockingMode spinPragmaMaxPageCount spinPragmaPageSize checkboxPragmaRecursiveTriggers checkboxPragmaSecureDelete comboboxPragmaSynchronous comboboxPragmaTempStore spinPragmaUserVersion spinPragmaWalAutoCheckpoint comboLogSubmittedBy buttonLogClear fileExitAction activated() MainWindow close() -1 -1 399 299 fileOpenAction activated() MainWindow fileOpen() -1 -1 399 299 fileNewAction activated() MainWindow fileNew() -1 -1 399 299 fileCloseAction activated() MainWindow fileClose() -1 -1 399 299 comboBrowseTable activated(QString) MainWindow populateTable(QString) 59 82 399 299 buttonNewRecord clicked() MainWindow addRecord() 584 82 399 299 buttonDeleteRecord clicked() MainWindow deleteRecord() 687 82 399 299 buttonPrevious clicked() MainWindow navigatePrevious() 27 380 399 299 buttonNext clicked() MainWindow navigateNext() 128 380 399 299 buttonGoto clicked() MainWindow navigateGoto() 493 380 399 299 editGoto returnPressed() MainWindow navigateGoto() 790 379 399 299 buttonRefresh clicked() MainWindow browseRefresh() 265 103 399 299 fileCompactAction activated() MainWindow compact() -1 -1 399 299 helpWhatsThisAction activated() MainWindow helpWhatsThis() -1 -1 399 299 helpAboutAction activated() MainWindow helpAbout() -1 -1 399 299 mainTab currentChanged(int) MainWindow mainTabSelected(int) 399 315 399 299 fileImportCSVAction activated() MainWindow importTableFromCSV() -1 -1 399 299 fileExportCSVAction activated() MainWindow exportTableToCSV() -1 -1 399 299 fileRevertAction activated() MainWindow fileRevert() -1 -1 399 299 fileSaveAction activated() MainWindow fileSave() -1 -1 399 299 editCreateIndexAction activated() MainWindow createIndex() -1 -1 399 299 editDeleteObjectAction activated() MainWindow deleteObject() -1 -1 399 299 editModifyTableAction activated() MainWindow editTable() -1 -1 399 299 fileExportSQLAction activated() MainWindow exportDatabaseToSQL() -1 -1 399 299 fileImportSQLAction activated() MainWindow importDatabaseFromSQL() -1 -1 399 299 viewPreferencesAction activated() MainWindow openPreferences() -1 -1 399 299 dbTreeWidget customContextMenuRequested(QPoint) MainWindow createTreeContextMenu(QPoint) 399 341 399 299 dbTreeWidget itemSelectionChanged() MainWindow changeTreeSelection() 399 341 399 299 viewDBToolbarAction toggled(bool) toolbarDB setVisible(bool) -1 -1 399 34 editCreateTableAction activated() MainWindow createTable() -1 -1 399 299 buttonBoxPragmas rejected() MainWindow loadPragmas() 251 381 -1 470 buttonBoxPragmas accepted() MainWindow savePragmas() 364 381 802 522 buttonLogClear clicked() editLogApplication clear() 794 441 103 476 buttonLogClear clicked() editLogUser clear() 794 441 611 576 comboLogSubmittedBy currentIndexChanged(int) stackLog setCurrentIndex(int) 258 441 399 492 sqlLogAction toggled(bool) dockLog setVisible(bool) -1 -1 399 467 dockLog visibilityChanged(bool) sqlLogAction setChecked(bool) 399 467 -1 -1 dataTable doubleClicked(QModelIndex) MainWindow doubleClickTable(QModelIndex) 399 211 399 299 tabSqlAreas tabCloseRequested(int) MainWindow closeSqlTab(int) 48 90 -1 51 actionExecuteSql activated() MainWindow executeQuery() -1 -1 399 299 actionSqlOpenTab activated() MainWindow openSqlTab() -1 -1 399 299 actionSqlOpenFile activated() MainWindow openSqlFile() -1 -1 399 299 actionSqlSaveFile activated() MainWindow saveSqlFile() -1 -1 399 299 fileOpen() fileClose() populateTable(QString) addRecord() deleteRecord() navigatePrevious() navigateNext() navigateGoto() browseFind(bool) browseRefresh() compact() helpWhatsThis() doubleClickTable(QModelIndex) browseTableHeaderClicked(int) mainTabSelected(int) executeQuery() importTableFromCSV() exportTableToCSV() fileRevert() fileSave() deleteIndex() createIndex() createTable() deleteObject() editTable() editTablePopup() addField() editField() exportDatabaseToSQL() importDatabaseFromSQL() openPreferences() createTreeContextMenu(QPoint) changeTreeSelection() fileNew() helpAbout() deleteField() loadPragmas() savePragmas() copy() closeSqlTab(int) openSqlTab() openSqlFile() saveSqlFile()