| 1 | <ui version="4.0" > | 
|---|
| 2 | <author></author> | 
|---|
| 3 | <comment></comment> | 
|---|
| 4 | <exportmacro></exportmacro> | 
|---|
| 5 | <class>Browser</class> | 
|---|
| 6 | <widget class="QWidget" name="Browser" > | 
|---|
| 7 | <property name="geometry" > | 
|---|
| 8 | <rect> | 
|---|
| 9 | <x>0</x> | 
|---|
| 10 | <y>0</y> | 
|---|
| 11 | <width>765</width> | 
|---|
| 12 | <height>515</height> | 
|---|
| 13 | </rect> | 
|---|
| 14 | </property> | 
|---|
| 15 | <property name="windowTitle" > | 
|---|
| 16 | <string>Qt SQL Browser</string> | 
|---|
| 17 | </property> | 
|---|
| 18 | <layout class="QVBoxLayout" > | 
|---|
| 19 | <property name="margin" > | 
|---|
| 20 | <number>8</number> | 
|---|
| 21 | </property> | 
|---|
| 22 | <property name="spacing" > | 
|---|
| 23 | <number>6</number> | 
|---|
| 24 | </property> | 
|---|
| 25 | <item> | 
|---|
| 26 | <widget class="QSplitter" name="splitter_2" > | 
|---|
| 27 | <property name="sizePolicy" > | 
|---|
| 28 | <sizepolicy> | 
|---|
| 29 | <hsizetype>7</hsizetype> | 
|---|
| 30 | <vsizetype>7</vsizetype> | 
|---|
| 31 | <horstretch>0</horstretch> | 
|---|
| 32 | <verstretch>0</verstretch> | 
|---|
| 33 | </sizepolicy> | 
|---|
| 34 | </property> | 
|---|
| 35 | <property name="orientation" > | 
|---|
| 36 | <enum>Qt::Horizontal</enum> | 
|---|
| 37 | </property> | 
|---|
| 38 | <widget class="ConnectionWidget" name="connectionWidget" > | 
|---|
| 39 | <property name="sizePolicy" > | 
|---|
| 40 | <sizepolicy> | 
|---|
| 41 | <hsizetype>13</hsizetype> | 
|---|
| 42 | <vsizetype>7</vsizetype> | 
|---|
| 43 | <horstretch>1</horstretch> | 
|---|
| 44 | <verstretch>0</verstretch> | 
|---|
| 45 | </sizepolicy> | 
|---|
| 46 | </property> | 
|---|
| 47 | </widget> | 
|---|
| 48 | <widget class="QTableView" name="table" > | 
|---|
| 49 | <property name="sizePolicy" > | 
|---|
| 50 | <sizepolicy> | 
|---|
| 51 | <hsizetype>7</hsizetype> | 
|---|
| 52 | <vsizetype>7</vsizetype> | 
|---|
| 53 | <horstretch>2</horstretch> | 
|---|
| 54 | <verstretch>0</verstretch> | 
|---|
| 55 | </sizepolicy> | 
|---|
| 56 | </property> | 
|---|
| 57 | <property name="contextMenuPolicy" > | 
|---|
| 58 | <enum>Qt::ActionsContextMenu</enum> | 
|---|
| 59 | </property> | 
|---|
| 60 | <property name="selectionBehavior" > | 
|---|
| 61 | <enum>QAbstractItemView::SelectRows</enum> | 
|---|
| 62 | </property> | 
|---|
| 63 | </widget> | 
|---|
| 64 | </widget> | 
|---|
| 65 | </item> | 
|---|
| 66 | <item> | 
|---|
| 67 | <widget class="QGroupBox" name="groupBox" > | 
|---|
| 68 | <property name="sizePolicy" > | 
|---|
| 69 | <sizepolicy> | 
|---|
| 70 | <hsizetype>5</hsizetype> | 
|---|
| 71 | <vsizetype>3</vsizetype> | 
|---|
| 72 | <horstretch>0</horstretch> | 
|---|
| 73 | <verstretch>0</verstretch> | 
|---|
| 74 | </sizepolicy> | 
|---|
| 75 | </property> | 
|---|
| 76 | <property name="maximumSize" > | 
|---|
| 77 | <size> | 
|---|
| 78 | <width>16777215</width> | 
|---|
| 79 | <height>180</height> | 
|---|
| 80 | </size> | 
|---|
| 81 | </property> | 
|---|
| 82 | <property name="title" > | 
|---|
| 83 | <string>SQL Query</string> | 
|---|
| 84 | </property> | 
|---|
| 85 | <layout class="QVBoxLayout" > | 
|---|
| 86 | <property name="margin" > | 
|---|
| 87 | <number>9</number> | 
|---|
| 88 | </property> | 
|---|
| 89 | <property name="spacing" > | 
|---|
| 90 | <number>6</number> | 
|---|
| 91 | </property> | 
|---|
| 92 | <item> | 
|---|
| 93 | <widget class="QTextEdit" name="sqlEdit" > | 
|---|
| 94 | <property name="sizePolicy" > | 
|---|
| 95 | <sizepolicy> | 
|---|
| 96 | <hsizetype>7</hsizetype> | 
|---|
| 97 | <vsizetype>3</vsizetype> | 
|---|
| 98 | <horstretch>0</horstretch> | 
|---|
| 99 | <verstretch>0</verstretch> | 
|---|
| 100 | </sizepolicy> | 
|---|
| 101 | </property> | 
|---|
| 102 | <property name="minimumSize" > | 
|---|
| 103 | <size> | 
|---|
| 104 | <width>0</width> | 
|---|
| 105 | <height>18</height> | 
|---|
| 106 | </size> | 
|---|
| 107 | </property> | 
|---|
| 108 | <property name="baseSize" > | 
|---|
| 109 | <size> | 
|---|
| 110 | <width>0</width> | 
|---|
| 111 | <height>120</height> | 
|---|
| 112 | </size> | 
|---|
| 113 | </property> | 
|---|
| 114 | </widget> | 
|---|
| 115 | </item> | 
|---|
| 116 | <item> | 
|---|
| 117 | <layout class="QHBoxLayout" > | 
|---|
| 118 | <property name="margin" > | 
|---|
| 119 | <number>1</number> | 
|---|
| 120 | </property> | 
|---|
| 121 | <property name="spacing" > | 
|---|
| 122 | <number>6</number> | 
|---|
| 123 | </property> | 
|---|
| 124 | <item> | 
|---|
| 125 | <spacer> | 
|---|
| 126 | <property name="orientation" > | 
|---|
| 127 | <enum>Qt::Horizontal</enum> | 
|---|
| 128 | </property> | 
|---|
| 129 | <property name="sizeHint" > | 
|---|
| 130 | <size> | 
|---|
| 131 | <width>40</width> | 
|---|
| 132 | <height>20</height> | 
|---|
| 133 | </size> | 
|---|
| 134 | </property> | 
|---|
| 135 | </spacer> | 
|---|
| 136 | </item> | 
|---|
| 137 | <item> | 
|---|
| 138 | <widget class="QPushButton" name="clearButton" > | 
|---|
| 139 | <property name="text" > | 
|---|
| 140 | <string>&Clear</string> | 
|---|
| 141 | </property> | 
|---|
| 142 | </widget> | 
|---|
| 143 | </item> | 
|---|
| 144 | <item> | 
|---|
| 145 | <widget class="QPushButton" name="submitButton" > | 
|---|
| 146 | <property name="text" > | 
|---|
| 147 | <string>&Submit</string> | 
|---|
| 148 | </property> | 
|---|
| 149 | </widget> | 
|---|
| 150 | </item> | 
|---|
| 151 | </layout> | 
|---|
| 152 | </item> | 
|---|
| 153 | </layout> | 
|---|
| 154 | </widget> | 
|---|
| 155 | </item> | 
|---|
| 156 | </layout> | 
|---|
| 157 | <action name="insertRowAction" > | 
|---|
| 158 | <property name="enabled" > | 
|---|
| 159 | <bool>false</bool> | 
|---|
| 160 | </property> | 
|---|
| 161 | <property name="text" > | 
|---|
| 162 | <string>&Insert Row</string> | 
|---|
| 163 | </property> | 
|---|
| 164 | <property name="statusTip" > | 
|---|
| 165 | <string>Inserts a new Row</string> | 
|---|
| 166 | </property> | 
|---|
| 167 | </action> | 
|---|
| 168 | <action name="deleteRowAction" > | 
|---|
| 169 | <property name="enabled" > | 
|---|
| 170 | <bool>false</bool> | 
|---|
| 171 | </property> | 
|---|
| 172 | <property name="text" > | 
|---|
| 173 | <string>&Delete Row</string> | 
|---|
| 174 | </property> | 
|---|
| 175 | <property name="statusTip" > | 
|---|
| 176 | <string>Deletes the current Row</string> | 
|---|
| 177 | </property> | 
|---|
| 178 | </action> | 
|---|
| 179 | </widget> | 
|---|
| 180 | <pixmapfunction></pixmapfunction> | 
|---|
| 181 | <customwidgets> | 
|---|
| 182 | <customwidget> | 
|---|
| 183 | <class>ConnectionWidget</class> | 
|---|
| 184 | <extends>QTreeView</extends> | 
|---|
| 185 | <header>connectionwidget.h</header> | 
|---|
| 186 | <container>0</container> | 
|---|
| 187 | <pixmap></pixmap> | 
|---|
| 188 | </customwidget> | 
|---|
| 189 | </customwidgets> | 
|---|
| 190 | <tabstops> | 
|---|
| 191 | <tabstop>sqlEdit</tabstop> | 
|---|
| 192 | <tabstop>clearButton</tabstop> | 
|---|
| 193 | <tabstop>submitButton</tabstop> | 
|---|
| 194 | <tabstop>connectionWidget</tabstop> | 
|---|
| 195 | <tabstop>table</tabstop> | 
|---|
| 196 | </tabstops> | 
|---|
| 197 | <resources/> | 
|---|
| 198 | <connections/> | 
|---|
| 199 | </ui> | 
|---|