101 lines
2.2 KiB
XML
101 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>TableWidget</class>
|
|
<widget class="QMainWindow" name="TableWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1048</width>
|
|
<height>598</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Table Widget Demo</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<widget class="QPushButton" name="bt_save">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>290</x>
|
|
<y>510</y>
|
|
<width>128</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save Changes</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTableView" name="tableView">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>10</y>
|
|
<width>1021</width>
|
|
<height>471</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="bt_revert">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>500</x>
|
|
<y>510</y>
|
|
<width>131</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Revert Changes</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1048</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
<addaction name="actionExit"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<action name="actionExit">
|
|
<property name="text">
|
|
<string>Exit</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>actionExit</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>TableWidget</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>-1</x>
|
|
<y>-1</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>468</x>
|
|
<y>260</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|