You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
304 lines
7.2 KiB
304 lines
7.2 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<widget class="QTreeView" name="treeView">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>180</y>
|
|
<width>791</width>
|
|
<height>331</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="sizeAdjustPolicy">
|
|
<enum>QAbstractScrollArea::AdjustToContents</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="Append_btn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>600</x>
|
|
<y>150</y>
|
|
<width>89</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Append</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>10</y>
|
|
<width>181</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>TextLabel</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>203</x>
|
|
<y>10</y>
|
|
<width>84</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>510</x>
|
|
<y>10</y>
|
|
<width>67</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>TextLabel</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>600</x>
|
|
<y>10</y>
|
|
<width>136</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chbIsNull">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>291</x>
|
|
<y>10</y>
|
|
<width>95</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Allow Null</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="cmbType">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>390</x>
|
|
<y>10</y>
|
|
<width>100</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>INT</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>BOOLEAN</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>DOUBLE</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>VARCHAR</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chbIsForignKey">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>70</y>
|
|
<width>101</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>IsForignKey</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="cmbTablsName">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>150</x>
|
|
<y>70</y>
|
|
<width>131</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>70</x>
|
|
<y>150</y>
|
|
<width>418</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>TextLabel</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_3"/>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>TextLabel</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_4"/>
|
|
</widget>
|
|
<widget class="QPushButton" name="cancel_btn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>700</x>
|
|
<y>150</y>
|
|
<width>89</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
<addaction name="actionCreate_Database"/>
|
|
<addaction name="actionEdit_Database"/>
|
|
<addaction name="actionsave"/>
|
|
<addaction name="actionclese"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<widget class="QToolBar" name="toolBar">
|
|
<property name="windowTitle">
|
|
<string>toolBar</string>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionCreate_Database"/>
|
|
<addaction name="actionEdit_Database"/>
|
|
<addaction name="actionAdd_Table"/>
|
|
<addaction name="actionAdd_Field"/>
|
|
</widget>
|
|
<action name="actionCreate_Database">
|
|
<property name="icon">
|
|
<iconset resource="res/Icons.qrc">
|
|
<normaloff>:/Icons/new.png</normaloff>:/Icons/new.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Create Database</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+D</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEdit_Database">
|
|
<property name="icon">
|
|
<iconset resource="res/Icons.qrc">
|
|
<normaloff>:/Icons/edit.png</normaloff>:/Icons/edit.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Edit Database</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionclese">
|
|
<property name="text">
|
|
<string>close</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>close</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAdd_Table">
|
|
<property name="icon">
|
|
<iconset resource="res/Icons.qrc">
|
|
<normaloff>:/Icons/add.png</normaloff>:/Icons/add.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add Table</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+T</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAdd_Field">
|
|
<property name="icon">
|
|
<iconset resource="res/Icons.qrc">
|
|
<normaloff>:/Icons/column.png</normaloff>:/Icons/column.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add Field</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+F</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionsave">
|
|
<property name="text">
|
|
<string>save</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources>
|
|
<include location="res/Icons.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|
|
|