Removing obsolete .ui files

This commit is contained in:
tabuleiro
2009-12-02 17:18:16 +00:00
parent a1486769f3
commit 92f2822778
18 changed files with 0 additions and 4949 deletions
-103
View File
@@ -1,103 +0,0 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>aboutForm</class>
<widget class="QDialog">
<property name="name">
<cstring>aboutForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>514</width>
<height>191</height>
</rect>
</property>
<property name="caption">
<string>About</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Version 1.3
SQLite Database Browser is an open source, public domain, freeware visual tool used to create, design and edit SQLite 3.x database files.
This program was built with version 3.3.5 of the SQLite engine.
More information at http://sqlitebrowser.sourceforge.net.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout55</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>141</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>okButton</cstring>
</property>
<property name="text">
<string>Close</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>okButton</sender>
<signal>clicked()</signal>
<receiver>aboutForm</receiver>
<slot>close()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">sqlitedb.h</include>
<include location="local" impldecl="in implementation">aboutform.ui.h</include>
</includes>
<functions>
<function access="private" specifier="non virtual">init()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
-222
View File
@@ -1,222 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>addFieldForm</class>
<widget class="QDialog">
<property name="name">
<cstring>addFieldForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>338</width>
<height>136</height>
</rect>
</property>
<property name="caption">
<string>Add database field</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="1" column="1">
<property name="name">
<cstring>spacer17</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer15</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>cancelButton</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>createButton</cstring>
</property>
<property name="text">
<string>Create</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
<widget class="QLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout23</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Field name:</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Field type:</string>
</property>
</widget>
</vbox>
</widget>
<widget class="QLayoutWidget" row="0" column="1">
<property name="name">
<cstring>layout7</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLineEdit">
<property name="name">
<cstring>nameLineEdit</cstring>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QComboBox">
<item>
<property name="text">
<string></string>
</property>
</item>
<item>
<property name="text">
<string>text</string>
</property>
</item>
<item>
<property name="text">
<string>integer</string>
</property>
</item>
<item>
<property name="text">
<string>blob</string>
</property>
</item>
<property name="name">
<cstring>typeBox</cstring>
</property>
</widget>
<widget class="QToolButton">
<property name="name">
<cstring>typeButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>...</string>
</property>
<property name="toolTip" stdset="0">
<string>Custom type</string>
</property>
<property name="whatsThis" stdset="0">
<string>Click this button to enter a new type for the field</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>cancelButton</sender>
<signal>clicked()</signal>
<receiver>addFieldForm</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>createButton</sender>
<signal>clicked()</signal>
<receiver>addFieldForm</receiver>
<slot>confirmAddField()</slot>
</connection>
<connection>
<sender>typeButton</sender>
<signal>clicked()</signal>
<receiver>addFieldForm</receiver>
<slot>getCustomType()</slot>
</connection>
</connections>
<includes>
<include location="global" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in implementation">sqlitedb.h</include>
<include location="local" impldecl="in implementation">addfieldtypeform.h</include>
<include location="local" impldecl="in implementation">addfieldform.ui.h</include>
</includes>
<variables>
<variable access="public">QString fname;</variable>
<variable access="public">QString ftype;</variable>
</variables>
<slots>
<slot>setInitialValues( QString name, QString type )</slot>
<slot>confirmAddField()</slot>
<slot>getCustomType()</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,95 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>addFieldTypeForm</class>
<widget class="QDialog">
<property name="name">
<cstring>addFieldTypeForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>294</width>
<height>98</height>
</rect>
</property>
<property name="caption">
<string>Enter field type</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLineEdit" row="0" column="0">
<property name="name">
<cstring>typeNameEdit</cstring>
</property>
</widget>
<widget class="QLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>31</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>cancelButton</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>okButton</cstring>
</property>
<property name="text">
<string>OK</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>okButton</sender>
<signal>clicked()</signal>
<receiver>addFieldTypeForm</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>cancelButton</sender>
<signal>clicked()</signal>
<receiver>addFieldTypeForm</receiver>
<slot>reject()</slot>
</connection>
</connections>
<includes>
<include location="global" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in implementation">sqlitedb.h</include>
</includes>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,148 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>chooseTableForm</class>
<widget class="QDialog">
<property name="name">
<cstring>chooseTableForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>256</width>
<height>163</height>
</rect>
</property>
<property name="caption">
<string>Select table to edit</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Table name:</string>
</property>
</widget>
<widget class="QComboBox">
<property name="name">
<cstring>comboOptions</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Choose the table to delete</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use this control to select the name of the table to be edited</string>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer13</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>41</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout19</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer11</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>31</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>buttonEdit</cstring>
</property>
<property name="text">
<string>Edit</string>
</property>
<property name="toolTip" stdset="0">
<string>Edit table</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Cancel and close dialog box</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>chooseTableForm</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>buttonEdit</sender>
<signal>clicked()</signal>
<receiver>chooseTableForm</receiver>
<slot>editPressed()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">choosetableform.ui.h</include>
</includes>
<variables>
<variable access="public">QString option;</variable>
</variables>
<slots>
<slot>editPressed()</slot>
<slot>populateOptions( QStringList entries )</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,291 +0,0 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>createIndexForm</class>
<widget class="QDialog">
<property name="name">
<cstring>createIndexForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>300</width>
<height>258</height>
</rect>
</property>
<property name="caption">
<string>Create Index</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout15</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Index name:</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>indexLineEdit</cstring>
</property>
<property name="frameShape">
<enum>LineEditPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Enter the name for the new index</string>
</property>
<property name="whatsThis" stdset="0">
<string>This area contains the name of the index to be created</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="title">
<string>Define properties:</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget" row="0" column="1">
<property name="name">
<cstring>layout12</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QComboBox">
<property name="name">
<cstring>comboTables</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Choose the table to index</string>
</property>
<property name="whatsThis" stdset="0">
<string>This control is used to select the table to be indexed. Changing the selected table will automatically update the fields available in the control below</string>
</property>
</widget>
<widget class="QComboBox">
<property name="name">
<cstring>comboFields</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Choose the field to be indexed</string>
</property>
<property name="whatsThis" stdset="0">
<string>This control specifies the field to be used as an index</string>
</property>
</widget>
<widget class="QComboBox">
<item>
<property name="text">
<string>Ascending</string>
</property>
</item>
<item>
<property name="text">
<string>Descending</string>
</property>
</item>
<property name="name">
<cstring>comboOrder</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Choose the index order</string>
</property>
<property name="whatsThis" stdset="0">
<string>This option controls the ordering of the index. Ascending is the recommended ordering</string>
</property>
</widget>
<widget class="QComboBox">
<item>
<property name="text">
<string>Allowed</string>
</property>
</item>
<item>
<property name="text">
<string>Not allowed</string>
</property>
</item>
<property name="name">
<cstring>comboUnique</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Allow duplicate values in the index field</string>
</property>
<property name="whatsThis" stdset="0">
<string>This control determines if the indexed field allows duplicate values to be inserted into the database. Attempting to insert a duplicate value in an indexed fiield that does not allow this option will generate an error</string>
</property>
</widget>
</vbox>
</widget>
<widget class="QLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout13</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Table to index:</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>Field to index:</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel5</cstring>
</property>
<property name="text">
<string>Indexing order:</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel6</cstring>
</property>
<property name="text">
<string>Duplicate values:</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
</vbox>
</widget>
</grid>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer8</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>51</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCreate</cstring>
</property>
<property name="text">
<string>Create</string>
</property>
<property name="toolTip" stdset="0">
<string>Create Index</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Cancel and close dialog box</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>buttonCreate</sender>
<signal>clicked()</signal>
<receiver>createIndexForm</receiver>
<slot>confirmCreate()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>createIndexForm</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>comboTables</sender>
<signal>activated(const QString&amp;)</signal>
<receiver>createIndexForm</receiver>
<slot>tableSelected(const QString&amp;)</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in declaration">sqlitedb.h</include>
<include location="local" impldecl="in implementation">createindexform.ui.h</include>
</includes>
<variables>
<variable access="public">tableMap mtablemap;</variable>
<variable access="public">QString createStatement;</variable>
</variables>
<slots>
<slot>tableSelected( const QString &amp; entry )</slot>
<slot>confirmCreate()</slot>
<slot>populateTable( tableMap rmap )</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,284 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>createTableForm</class>
<widget class="QDialog">
<property name="name">
<cstring>createTableForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>309</width>
<height>320</height>
</rect>
</property>
<property name="caption">
<string>Create Table</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Table name:</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>tablenameLineEdit</cstring>
</property>
<property name="frameShape">
<enum>LineEditPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Enter the name for the new table</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use this control to enter the name of the table to be created.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>Define fields:</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QListView">
<column>
<property name="text">
<string>Field name</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Field type</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<item>
<property name="text">
<string>New Item</string>
</property>
<property name="text">
<string></string>
</property>
<property name="pixmap">
<pixmap></pixmap>
</property>
<property name="pixmap">
<pixmap></pixmap>
</property>
</item>
<property name="name">
<cstring>fieldListView</cstring>
</property>
<property name="resizePolicy">
<enum>Manual</enum>
</property>
<property name="resizeMode">
<enum>AllColumns</enum>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>111</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>buttonAddField</cstring>
</property>
<property name="text">
<string>Add</string>
</property>
<property name="toolTip" stdset="0">
<string>Add a new field definition</string>
</property>
<property name="whatsThis" stdset="0">
<string>This button is used to add a new field definition to your table</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>buttonDeleteField</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Delete</string>
</property>
<property name="toolTip" stdset="0">
<string>Delete current field definition</string>
</property>
<property name="whatsThis" stdset="0">
<string>This button is used to delete the currently selected field definition from your table</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer6</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>91</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCreate</cstring>
</property>
<property name="text">
<string>Create</string>
</property>
<property name="toolTip" stdset="0">
<string>Create the table</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Cancel and close dialog box</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>createTableForm</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>buttonCreate</sender>
<signal>clicked()</signal>
<receiver>createTableForm</receiver>
<slot>confirmCreate()</slot>
</connection>
<connection>
<sender>buttonAddField</sender>
<signal>clicked()</signal>
<receiver>createTableForm</receiver>
<slot>addField()</slot>
</connection>
<connection>
<sender>buttonDeleteField</sender>
<signal>clicked()</signal>
<receiver>createTableForm</receiver>
<slot>deleteField()</slot>
</connection>
<connection>
<sender>fieldListView</sender>
<signal>selectionChanged()</signal>
<receiver>createTableForm</receiver>
<slot>fieldSelectionChanged()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in declaration">sqlitedb.h</include>
<include location="local" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in implementation">addfieldform.h</include>
<include location="local" impldecl="in implementation">createtableform.ui.h</include>
</includes>
<variables>
<variable access="public">QString createStatement;</variable>
</variables>
<slots>
<slot>confirmCreate()</slot>
<slot>addField()</slot>
<slot>deleteField()</slot>
<slot>fieldSelectionChanged()</slot>
</slots>
<functions>
<function access="private" specifier="non virtual">init()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,152 +0,0 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>deleteIndexForm</class>
<widget class="QDialog">
<property name="name">
<cstring>deleteIndexForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>236</width>
<height>137</height>
</rect>
</property>
<property name="caption">
<string>Delete Index</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Index name:</string>
</property>
</widget>
<widget class="QComboBox">
<property name="name">
<cstring>comboOptions</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Choose the index to delete</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use this control to select the name of the index to be deleted</string>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer13</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>41</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout19</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer11</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>31</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>buttonDelete</cstring>
</property>
<property name="text">
<string>Delete</string>
</property>
<property name="toolTip" stdset="0">
<string>Delete the selected index</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Cancel and close dialog box</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>buttonDelete</sender>
<signal>clicked()</signal>
<receiver>deleteIndexForm</receiver>
<slot>confirmDelete()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>deleteIndexForm</receiver>
<slot>reject()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in declaration">qstring.h</include>
<include location="local" impldecl="in declaration">qstringlist.h</include>
<include location="local" impldecl="in declaration">sqlitedb.h</include>
<include location="local" impldecl="in implementation">deleteindexform.ui.h</include>
</includes>
<variables>
<variable access="public">QString option;</variable>
</variables>
<slots>
<slot>confirmDelete()</slot>
<slot>populateOptions( QStringList entries )</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,152 +0,0 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>deleteTableForm</class>
<widget class="QDialog">
<property name="name">
<cstring>deleteTableForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>236</width>
<height>137</height>
</rect>
</property>
<property name="caption">
<string>Delete Table</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Table name:</string>
</property>
</widget>
<widget class="QComboBox">
<property name="name">
<cstring>comboOptions</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Choose the table to delete</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use this control to select the name of the table to be deleted</string>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer13</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>41</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout19</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer11</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>31</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>buttonDelete</cstring>
</property>
<property name="text">
<string>Delete</string>
</property>
<property name="toolTip" stdset="0">
<string>Delete the selected table</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Cancel and close dialog box</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>deleteTableForm</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>buttonDelete</sender>
<signal>clicked()</signal>
<receiver>deleteTableForm</receiver>
<slot>confirmDelete()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in declaration">qstringlist.h</include>
<include location="local" impldecl="in declaration">qstring.h</include>
<include location="local" impldecl="in declaration">sqlitedb.h</include>
<include location="local" impldecl="in implementation">deletetableform.ui.h</include>
</includes>
<variables>
<variable access="public">QString option;</variable>
</variables>
<slots>
<slot>confirmDelete()</slot>
<slot>populateOptions( QStringList entries )</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,232 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>editFieldForm</class>
<widget class="QDialog">
<property name="name">
<cstring>editFieldForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>352</width>
<height>140</height>
</rect>
</property>
<property name="caption">
<string>Edit field name and type</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout23</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Field name:</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Field type:</string>
</property>
</widget>
</vbox>
</widget>
<spacer row="1" column="1">
<property name="name">
<cstring>spacer17</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>14</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer15</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>cancelButton</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>saveButton</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Apply Changes</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
<widget class="QLayoutWidget" row="0" column="1">
<property name="name">
<cstring>layout26</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout25</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QComboBox">
<item>
<property name="text">
<string></string>
</property>
</item>
<item>
<property name="text">
<string>text</string>
</property>
</item>
<item>
<property name="text">
<string>integer</string>
</property>
</item>
<item>
<property name="text">
<string>blob</string>
</property>
</item>
<property name="name">
<cstring>typeBox</cstring>
</property>
</widget>
<widget class="QToolButton">
<property name="name">
<cstring>typeButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>...</string>
</property>
<property name="toolTip" stdset="0">
<string>Custom type</string>
</property>
<property name="whatsThis" stdset="0">
<string>Click this button to enter a new type for the field</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLineEdit" row="0" column="0">
<property name="name">
<cstring>nameLineEdit</cstring>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>cancelButton</sender>
<signal>clicked()</signal>
<receiver>editFieldForm</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>saveButton</sender>
<signal>clicked()</signal>
<receiver>editFieldForm</receiver>
<slot>confirmEdit()</slot>
</connection>
<connection>
<sender>nameLineEdit</sender>
<signal>textChanged(const QString&amp;)</signal>
<receiver>editFieldForm</receiver>
<slot>enableSave()</slot>
</connection>
<connection>
<sender>typeButton</sender>
<signal>clicked()</signal>
<receiver>editFieldForm</receiver>
<slot>getCustomType()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">sqlitedb.h</include>
<include location="global" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in implementation">addfieldtypeform.h</include>
<include location="local" impldecl="in implementation">editfieldform.ui.h</include>
</includes>
<variables>
<variable access="public">QString name;</variable>
<variable access="public">QString type;</variable>
</variables>
<slots>
<slot>setInitialValues( QString name, QString type )</slot>
<slot>confirmEdit()</slot>
<slot>enableSave()</slot>
<slot>getCustomType()</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
-369
View File
@@ -1,369 +0,0 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>editForm</class>
<widget class="QDialog">
<property name="name">
<cstring>editForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>366</width>
<height>431</height>
</rect>
</property>
<property name="caption">
<string>Edit database cell</string>
</property>
<property name="modal">
<bool>true</bool>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QToolButton">
<property name="name">
<cstring>importButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Import</string>
</property>
<property name="toolTip" stdset="0">
<string>Import text</string>
</property>
<property name="whatsThis" stdset="0">
<string>Opens a file dialog used to import text to this database cell.</string>
</property>
</widget>
<widget class="QToolButton">
<property name="name">
<cstring>exportButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Export</string>
</property>
<property name="toolTip" stdset="0">
<string>Export text</string>
</property>
<property name="whatsThis" stdset="0">
<string>Opens a file dialog used to export the contents of this database cell to a text file.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer11_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>81</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QToolButton">
<property name="name">
<cstring>clearButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Clear</string>
</property>
<property name="toolTip" stdset="0">
<string>Clear cell data</string>
</property>
<property name="whatsThis" stdset="0">
<string>Erases the contents of the cell</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QWidgetStack">
<property name="name">
<cstring>editWidgetStack</cstring>
</property>
<widget class="QWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QTextEdit" row="0" column="0">
<property name="name">
<cstring>textEditor</cstring>
</property>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>1</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>editPixmap</cstring>
</property>
<property name="maximumSize">
<size>
<width>320</width>
<height>240</height>
</size>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
</grid>
</widget>
</widget>
<widget class="QFrame">
<property name="name">
<cstring>frame9</cstring>
</property>
<property name="frameShape">
<enum>Box</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="toolTip" stdset="0">
<string></string>
</property>
<property name="whatsThis" stdset="0">
<string>This area displays information about the data present in this database cell</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>currentTypeLabel</cstring>
</property>
<property name="text">
<string>Type of data currently in cell: Empty</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignLeft</set>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>currentDataInfo</cstring>
</property>
<property name="text">
<string>Data information</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
</widget>
</vbox>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer11</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>90</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>closeButton</cstring>
</property>
<property name="text">
<string>Close</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Close</string>
</property>
<property name="whatsThis" stdset="0">
<string>Close the window without saving changes</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>saveChangesButton</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Apply Changes</string>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>Save changes to database</string>
</property>
<property name="whatsThis" stdset="0">
<string>Close this window saving changes to the database</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>importButton</sender>
<signal>clicked()</signal>
<receiver>editForm</receiver>
<slot>importData()</slot>
</connection>
<connection>
<sender>exportButton</sender>
<signal>clicked()</signal>
<receiver>editForm</receiver>
<slot>exportData()</slot>
</connection>
<connection>
<sender>saveChangesButton</sender>
<signal>clicked()</signal>
<receiver>editForm</receiver>
<slot>saveChanges()</slot>
</connection>
<connection>
<sender>clearButton</sender>
<signal>clicked()</signal>
<receiver>editForm</receiver>
<slot>clearData()</slot>
</connection>
<connection>
<sender>textEditor</sender>
<signal>textChanged()</signal>
<receiver>editForm</receiver>
<slot>editTextChanged()</slot>
</connection>
<connection>
<sender>closeButton</sender>
<signal>clicked()</signal>
<receiver>editForm</receiver>
<slot>close()</slot>
</connection>
<connection>
<sender>textEditor</sender>
<signal>clicked(int,int)</signal>
<receiver>editForm</receiver>
<slot>editorClicked()</slot>
</connection>
</connections>
<includes>
<include location="global" impldecl="in declaration">qimage.h</include>
<include location="global" impldecl="in declaration">qapplication.h</include>
<include location="global" impldecl="in declaration">qfile.h</include>
<include location="global" impldecl="in declaration">stdlib.h</include>
<include location="local" impldecl="in implementation">sqlitedb.h</include>
<include location="global" impldecl="in implementation">qfiledialog.h</include>
<include location="global" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in implementation">editform.ui.h</include>
</includes>
<variables>
<variable>bool modified;</variable>
<variable>int dataType;</variable>
<variable>int dataSize;</variable>
<variable>int dataDepth;</variable>
<variable access="public">int curCol;</variable>
<variable access="public">int curRow;</variable>
</variables>
<signals>
<signal>goingAway();</signal>
<signal>updateRecordText(int, int, QString);</signal>
<signal>updateRecordBinary(int, int, unsigned char *);</signal>
</signals>
<slots>
<slot>reset()</slot>
<slot>setModified( bool modifiedstate )</slot>
<slot>enableExport( bool enabled )</slot>
<slot>enableTextEditor( bool enabled )</slot>
<slot>setDataType( int type, int size )</slot>
<slot>closeEvent( QCloseEvent * )</slot>
<slot>loadText( QString text, int row, int col )</slot>
<slot>importData()</slot>
<slot>exportData()</slot>
<slot>clearData()</slot>
<slot>saveChanges()</slot>
<slot>editTextChanged()</slot>
<slot>editorClicked()</slot>
</slots>
<functions>
<function access="private" specifier="non virtual">init()</function>
<function access="private" specifier="non virtual">destroy()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,329 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>editFormWindow</class>
<widget class="QMainWindow">
<property name="name">
<cstring>editFormWindow</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>331</width>
<height>435</height>
</rect>
</property>
<property name="caption">
<string>Edit database cell</string>
</property>
<property name="dockWindowsMovable">
<bool>true</bool>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
</vbox>
</widget>
<menubar>
<property name="name">
<cstring>MenuBar</cstring>
</property>
<item text="&amp;File" name="fileMenu">
<action name="fileOpenAction"/>
<action name="fileSaveAction"/>
<separator/>
<action name="filePrintAction"/>
<separator/>
</item>
<item text="&amp;Edit" name="editMenu">
<action name="editUndoAction"/>
<action name="editRedoAction"/>
<separator/>
<action name="editCutAction"/>
<action name="editCopyAction"/>
<action name="editPasteAction"/>
</item>
<item text="&amp;Help" name="helpMenu">
<action name="helpAboutAction"/>
</item>
</menubar>
<toolbars>
<toolbar dock="2">
<property name="name">
<cstring>toolBar</cstring>
</property>
<property name="label">
<string>Tools</string>
</property>
<action name="fileOpenAction"/>
<action name="fileSaveAction"/>
<action name="filePrintAction"/>
<separator/>
<action name="editCutAction"/>
<action name="editCopyAction"/>
<action name="editPasteAction"/>
<action name="helpContentsAction"/>
</toolbar>
</toolbars>
<actions>
<action>
<property name="name">
<cstring>fileNewAction</cstring>
</property>
<property name="iconSet">
<iconset>filenew</iconset>
</property>
<property name="text">
<string>New</string>
</property>
<property name="menuText">
<string>&amp;New</string>
</property>
<property name="accel">
<string>Ctrl+N</string>
</property>
</action>
<action>
<property name="name">
<cstring>fileOpenAction</cstring>
</property>
<property name="iconSet">
<iconset>fileopen</iconset>
</property>
<property name="text">
<string>&amp;Import</string>
</property>
<property name="menuText">
<string>&amp;Import</string>
</property>
<property name="accel">
<string>Ctrl+I</string>
</property>
</action>
<action>
<property name="name">
<cstring>fileSaveAction</cstring>
</property>
<property name="iconSet">
<iconset>filesave</iconset>
</property>
<property name="text">
<string>&amp;Export</string>
</property>
<property name="menuText">
<string>&amp;Export</string>
</property>
<property name="accel">
<string>Ctrl+E</string>
</property>
</action>
<action>
<property name="name">
<cstring>fileSaveAsAction</cstring>
</property>
<property name="text">
<string>Save As</string>
</property>
<property name="menuText">
<string>Save &amp;As...</string>
</property>
<property name="accel">
<string></string>
</property>
</action>
<action>
<property name="name">
<cstring>filePrintAction</cstring>
</property>
<property name="iconSet">
<iconset>print</iconset>
</property>
<property name="text">
<string>Print</string>
</property>
<property name="menuText">
<string>&amp;Print...</string>
</property>
<property name="accel">
<string>Ctrl+P</string>
</property>
</action>
<action>
<property name="name">
<cstring>fileExitAction</cstring>
</property>
<property name="text">
<string>Exit</string>
</property>
<property name="menuText">
<string>E&amp;xit</string>
</property>
<property name="accel">
<string></string>
</property>
</action>
<action>
<property name="name">
<cstring>editUndoAction</cstring>
</property>
<property name="iconSet">
<iconset>undo</iconset>
</property>
<property name="text">
<string>Undo</string>
</property>
<property name="menuText">
<string>&amp;Undo</string>
</property>
<property name="accel">
<string>Ctrl+Z</string>
</property>
</action>
<action>
<property name="name">
<cstring>editRedoAction</cstring>
</property>
<property name="iconSet">
<iconset>redo</iconset>
</property>
<property name="text">
<string>Redo</string>
</property>
<property name="menuText">
<string>&amp;Redo</string>
</property>
<property name="accel">
<string>Ctrl+Y</string>
</property>
</action>
<action>
<property name="name">
<cstring>editCutAction</cstring>
</property>
<property name="iconSet">
<iconset>editcut</iconset>
</property>
<property name="text">
<string>Cut</string>
</property>
<property name="menuText">
<string>&amp;Cut</string>
</property>
<property name="accel">
<string>Ctrl+X</string>
</property>
</action>
<action>
<property name="name">
<cstring>editCopyAction</cstring>
</property>
<property name="iconSet">
<iconset>editcopy</iconset>
</property>
<property name="text">
<string>Copy</string>
</property>
<property name="menuText">
<string>C&amp;opy</string>
</property>
<property name="accel">
<string>Ctrl+C</string>
</property>
</action>
<action>
<property name="name">
<cstring>editPasteAction</cstring>
</property>
<property name="iconSet">
<iconset>editpaste</iconset>
</property>
<property name="text">
<string>Paste</string>
</property>
<property name="menuText">
<string>&amp;Paste</string>
</property>
<property name="accel">
<string>Ctrl+V</string>
</property>
</action>
<action>
<property name="name">
<cstring>editFindAction</cstring>
</property>
<property name="iconSet">
<iconset>searchfind</iconset>
</property>
<property name="text">
<string>Find</string>
</property>
<property name="menuText">
<string>&amp;Find...</string>
</property>
<property name="accel">
<string>Ctrl+F</string>
</property>
</action>
<action>
<property name="name">
<cstring>helpContentsAction</cstring>
</property>
<property name="text">
<string>Contents</string>
</property>
<property name="menuText">
<string>&amp;Contents...</string>
</property>
<property name="accel">
<string></string>
</property>
</action>
<action>
<property name="name">
<cstring>helpIndexAction</cstring>
</property>
<property name="text">
<string>Index</string>
</property>
<property name="menuText">
<string>&amp;Index...</string>
</property>
<property name="accel">
<string></string>
</property>
</action>
<action>
<property name="name">
<cstring>helpAboutAction</cstring>
</property>
<property name="text">
<string>&amp;What is</string>
</property>
<property name="menuText">
<string>&amp;What is</string>
</property>
<property name="accel">
<string></string>
</property>
</action>
</actions>
<slots>
<slot>fileNew()</slot>
<slot>fileOpen()</slot>
<slot>fileSave()</slot>
<slot>fileSaveAs()</slot>
<slot>filePrint()</slot>
<slot>fileExit()</slot>
<slot>editUndo()</slot>
<slot>editRedo()</slot>
<slot>editCut()</slot>
<slot>editCopy()</slot>
<slot>editPaste()</slot>
<slot>editFind()</slot>
<slot>helpIndex()</slot>
<slot>helpContents()</slot>
<slot>helpAbout()</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,260 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>editTableForm</class>
<widget class="QDialog">
<property name="name">
<cstring>editTableForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>428</width>
<height>266</height>
</rect>
</property>
<property name="caption">
<string>Edit table definition</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout50</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLineEdit">
<property name="name">
<cstring>tableLine</cstring>
</property>
<property name="focusPolicy">
<enum>NoFocus</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QListView">
<column>
<property name="text">
<string>Field name</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Field type</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<item>
<property name="text">
<string>New Item</string>
</property>
<property name="text">
<string></string>
</property>
<property name="pixmap">
<pixmap></pixmap>
</property>
<property name="pixmap">
<pixmap></pixmap>
</property>
</item>
<property name="name">
<cstring>fieldListView</cstring>
</property>
<property name="resizePolicy">
<enum>Manual</enum>
</property>
<property name="resizeMode">
<enum>AllColumns</enum>
</property>
</widget>
</vbox>
</widget>
<widget class="QLayoutWidget" row="0" column="1">
<property name="name">
<cstring>layout42</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>renameTableButton</cstring>
</property>
<property name="text">
<string>Rename table</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer31</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>23</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>renameFieldButton</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Edit field</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>removeFieldButton</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Remove field</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>addFieldButton</cstring>
</property>
<property name="text">
<string>Add field</string>
</property>
</widget>
</vbox>
</widget>
<widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout41</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer34</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>161</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>closeButton</cstring>
</property>
<property name="text">
<string>Close</string>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>closeButton</sender>
<signal>clicked()</signal>
<receiver>editTableForm</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>renameTableButton</sender>
<signal>clicked()</signal>
<receiver>editTableForm</receiver>
<slot>renameTable()</slot>
</connection>
<connection>
<sender>removeFieldButton</sender>
<signal>clicked()</signal>
<receiver>editTableForm</receiver>
<slot>removeField()</slot>
</connection>
<connection>
<sender>addFieldButton</sender>
<signal>clicked()</signal>
<receiver>editTableForm</receiver>
<slot>addField()</slot>
</connection>
<connection>
<sender>renameFieldButton</sender>
<signal>clicked()</signal>
<receiver>editTableForm</receiver>
<slot>editField()</slot>
</connection>
<connection>
<sender>fieldListView</sender>
<signal>selectionChanged()</signal>
<receiver>editTableForm</receiver>
<slot>fieldSelectionChanged()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in declaration">sqlitedb.h</include>
<include location="local" impldecl="in implementation">renametableform.h</include>
<include location="global" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in implementation">addfieldform.h</include>
<include location="local" impldecl="in implementation">editfieldform.h</include>
<include location="global" impldecl="in implementation">qapplication.h</include>
<include location="local" impldecl="in implementation">edittableform.ui.h</include>
</includes>
<variables>
<variable access="public">bool modified;</variable>
<variable>QStringList types;</variable>
<variable>QStringList fields;</variable>
<variable>DBBrowserDB * pdb;</variable>
<variable access="public">QString curTable;</variable>
</variables>
<slots>
<slot>setActiveTable( DBBrowserDB * thedb, QString tableName )</slot>
<slot>populateFields()</slot>
<slot>renameTable()</slot>
<slot>editField()</slot>
<slot>addField()</slot>
<slot>removeField()</slot>
<slot>fieldSelectionChanged()</slot>
</slots>
<functions>
<function access="private" specifier="non virtual">init()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,148 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>exportTableCSVForm</class>
<widget class="QDialog">
<property name="name">
<cstring>exportTableCSVForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>365</width>
<height>150</height>
</rect>
</property>
<property name="caption">
<string>Choose table to export as CSV text</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Table name:</string>
</property>
</widget>
<widget class="QComboBox">
<property name="name">
<cstring>comboOptions</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Choose the table to delete</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use this control to select the name of the table to be deleted</string>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer13</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>41</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout69</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer11</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>29</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>Cancel and close dialog box</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>buttonExport</cstring>
</property>
<property name="text">
<string>Export</string>
</property>
<property name="toolTip" stdset="0">
<string>Delete the selected table</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>buttonExport</sender>
<signal>clicked()</signal>
<receiver>exportTableCSVForm</receiver>
<slot>exportPressed()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>exportTableCSVForm</receiver>
<slot>reject()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">exporttablecsvform.ui.h</include>
</includes>
<variables>
<variable access="public">QString option;</variable>
</variables>
<slots>
<slot>exportPressed()</slot>
<slot>populateOptions( QStringList entries )</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
-237
View File
@@ -1,237 +0,0 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>findForm</class>
<widget class="QDialog">
<property name="name">
<cstring>findForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>239</width>
<height>319</height>
</rect>
</property>
<property name="caption">
<string>Find</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout5</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton" row="1" column="2">
<property name="name">
<cstring>searchButton</cstring>
</property>
<property name="text">
<string>Search</string>
</property>
<property name="toolTip" stdset="0">
<string>Perform the search</string>
</property>
<property name="whatsThis" stdset="0">
<string>This button starts the search process</string>
</property>
</widget>
<widget class="QComboBox" row="0" column="0">
<item>
<property name="text">
<string>user</string>
</property>
</item>
<property name="name">
<cstring>findFieldCombobox</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Field to be searched</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use this control to select the field to be searched in the current table</string>
</property>
</widget>
<widget class="QLineEdit" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>searchLine</cstring>
</property>
<property name="frameShape">
<enum>LineEditPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="toolTip" stdset="0">
<string>Enter values or words to search</string>
</property>
<property name="whatsThis" stdset="0">
<string>This is a place to enter the word or number to be searched in the database</string>
</property>
</widget>
<widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
<item>
<property name="text">
<string>=</string>
</property>
</item>
<item>
<property name="text">
<string>contains</string>
</property>
</item>
<item>
<property name="text">
<string>&gt;</string>
</property>
</item>
<item>
<property name="text">
<string>&gt;=</string>
</property>
</item>
<item>
<property name="text">
<string>&lt;=</string>
</property>
</item>
<item>
<property name="text">
<string>&lt;</string>
</property>
</item>
<property name="name">
<cstring>findOperatorComboBox</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Search criteria: use 'contains' for partial matches</string>
</property>
<property name="whatsThis" stdset="0">
<string>This control is used to select the search criteria used to look for the search term in the database. Use '=' or 'contains' to find words, and the comparison symbols to filter numeric data.</string>
</property>
</widget>
</grid>
</widget>
<widget class="QListView">
<column>
<property name="text">
<string>Record</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Data</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>findListView</cstring>
</property>
<property name="midLineWidth">
<number>30</number>
</property>
<property name="resizePolicy">
<enum>Manual</enum>
</property>
<property name="resizeMode">
<enum>LastColumn</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Results of the search will appear in this area. Click on a result to select the corresponding record in the database</string>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout18</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>resultsLabel</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Found:</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer10</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>searchButton</sender>
<signal>clicked()</signal>
<receiver>findForm</receiver>
<slot>find()</slot>
</connection>
<connection>
<sender>findListView</sender>
<signal>clicked(QListViewItem*)</signal>
<receiver>findForm</receiver>
<slot>recordSelected(QListViewItem*)</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in declaration">sqlitedb.h</include>
<include location="local" impldecl="in implementation">findform.ui.h</include>
</includes>
<signals>
<signal>lookfor(const QString&amp;, const QString&amp;, const QString&amp;);</signal>
<signal>showrecord(int);</signal>
<signal>goingAway();</signal>
</signals>
<slots>
<slot>showResults( resultMap rmap )</slot>
<slot>find()</slot>
<slot>resetFields( QStringList fieldlist )</slot>
<slot>resetResults()</slot>
<slot>recordSelected( QListViewItem * witem )</slot>
<slot>closeEvent( QCloseEvent * )</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
File diff suppressed because it is too large Load Diff
@@ -1,304 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>importCSVForm</class>
<widget class="QDialog">
<property name="name">
<cstring>importCSVForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>372</width>
<height>382</height>
</rect>
</property>
<property name="caption">
<string>Create table from CSV file</string>
</property>
<property name="modal">
<bool>true</bool>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout27</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>New table name:</string>
</property>
</widget>
<widget class="QLineEdit" row="0" column="1">
<property name="name">
<cstring>tableNameEdit</cstring>
</property>
</widget>
<widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>extractFieldNamesCheckbox</cstring>
</property>
<property name="text">
<string>Extract field names from first line</string>
</property>
</widget>
<widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout25</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout23</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Field separator:</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Text quote character:</string>
</property>
</widget>
</vbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer15</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>81</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout22</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QComboBox">
<item>
<property name="text">
<string>,</string>
</property>
</item>
<item>
<property name="text">
<string>;</string>
</property>
</item>
<item>
<property name="text">
<string>TAB</string>
</property>
</item>
<property name="name">
<cstring>fieldBox</cstring>
</property>
</widget>
<widget class="QComboBox">
<item>
<property name="text">
<string>"</string>
</property>
</item>
<item>
<property name="text">
<string>'</string>
</property>
</item>
<item>
<property name="text">
<string>\</string>
</property>
</item>
<item>
<property name="text">
<string></string>
</property>
</item>
<property name="name">
<cstring>quoteBox</cstring>
</property>
</widget>
</vbox>
</widget>
</hbox>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>spacer14</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>138</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QTable">
<property name="name">
<cstring>previewTable</cstring>
</property>
<property name="numRows">
<number>0</number>
</property>
<property name="numCols">
<number>0</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>NoSelection</enum>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout20</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer13</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>cancelButton</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>createButton</cstring>
</property>
<property name="text">
<string>Create</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>cancelButton</sender>
<signal>clicked()</signal>
<receiver>importCSVForm</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>createButton</sender>
<signal>clicked()</signal>
<receiver>importCSVForm</receiver>
<slot>createButtonPressed()</slot>
</connection>
<connection>
<sender>fieldBox</sender>
<signal>activated(int)</signal>
<receiver>importCSVForm</receiver>
<slot>fieldSeparatorChanged()</slot>
</connection>
<connection>
<sender>quoteBox</sender>
<signal>activated(int)</signal>
<receiver>importCSVForm</receiver>
<slot>textQuoteChanged()</slot>
</connection>
<connection>
<sender>extractFieldNamesCheckbox</sender>
<signal>toggled(bool)</signal>
<receiver>importCSVForm</receiver>
<slot>extractFieldNamesChanged(bool)</slot>
</connection>
</connections>
<includes>
<include location="global" impldecl="in declaration">qstringlist.h</include>
<include location="global" impldecl="in declaration">qstring.h</include>
<include location="local" impldecl="in declaration">sqlitedb.h</include>
<include location="global" impldecl="in implementation">qmessagebox.h</include>
<include location="global" impldecl="in implementation">qapplication.h</include>
<include location="local" impldecl="in implementation">importcsvform.ui.h</include>
</includes>
<variables>
<variable>QStringList curList;</variable>
<variable>char quote;</variable>
<variable>char sep;</variable>
<variable>int numfields;</variable>
<variable>QString csvfilename;</variable>
<variable>DBBrowserDB * pdb;</variable>
</variables>
<slots>
<slot>initialize( QString &amp; csvfile, DBBrowserDB * db )</slot>
<slot>createButtonPressed()</slot>
<slot>preview()</slot>
<slot>fieldSeparatorChanged()</slot>
<slot>textQuoteChanged()</slot>
<slot>extractFieldNamesChanged( bool enabled )</slot>
</slots>
<functions>
<function access="private" specifier="non virtual">init()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
@@ -1,120 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>renameTableForm</class>
<widget class="QDialog">
<property name="name">
<cstring>renameTableForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>313</width>
<height>101</height>
</rect>
</property>
<property name="caption">
<string>Rename table</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLineEdit">
<property name="name">
<cstring>tablenameLineEdit</cstring>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer27</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout34</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer26</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>31</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>closeButton</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>renameButton</cstring>
</property>
<property name="text">
<string>Rename</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>closeButton</sender>
<signal>clicked()</signal>
<receiver>renameTableForm</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>renameButton</sender>
<signal>clicked()</signal>
<receiver>renameTableForm</receiver>
<slot>renameClicked()</slot>
</connection>
</connections>
<includes>
<include location="global" impldecl="in implementation">qmessagebox.h</include>
<include location="local" impldecl="in implementation">sqlitedb.h</include>
<include location="local" impldecl="in implementation">renametableform.ui.h</include>
</includes>
<slots>
<slot>renameClicked()</slot>
<slot>setTableName( QString name )</slot>
</slots>
<functions>
<function returnType="QString">getTableName()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
-165
View File
@@ -1,165 +0,0 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>sqlLogForm</class>
<widget class="QDialog">
<property name="name">
<cstring>sqlLogForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>547</width>
<height>203</height>
</rect>
</property>
<property name="caption">
<string>SQL Log</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Show SQL submitted by:</string>
</property>
</widget>
<widget class="QComboBox">
<item>
<property name="text">
<string>User</string>
</property>
</item>
<item>
<property name="text">
<string>Application</string>
</property>
</item>
<property name="name">
<cstring>comboBox3</cstring>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer10</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>150</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>clearButton</cstring>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QWidgetStack">
<property name="name">
<cstring>logStack</cstring>
</property>
<widget class="QWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QTextEdit" row="0" column="0">
<property name="name">
<cstring>userLogText</cstring>
</property>
<property name="textFormat">
<enum>PlainText</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>1</number>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QTextEdit">
<property name="name">
<cstring>appLogText</cstring>
</property>
<property name="textFormat">
<enum>PlainText</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</vbox>
</widget>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>clearButton</sender>
<signal>clicked()</signal>
<receiver>sqlLogForm</receiver>
<slot>clearLog()</slot>
</connection>
<connection>
<sender>comboBox3</sender>
<signal>activated(int)</signal>
<receiver>logStack</receiver>
<slot>raiseWidget(int)</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">sqlitedb.h</include>
<include location="local" impldecl="in implementation">sqllogform.ui.h</include>
</includes>
<signals>
<signal>goingAway();</signal>
<signal>dbState(bool dirty);</signal>
</signals>
<slots>
<slot>closeEvent( QCloseEvent * )</slot>
<slot>log( QString &amp; statement, int msgtype )</slot>
<slot>msgDBDirtyState( bool dirty )</slot>
<slot>clearLog()</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>