Delete the ChooseTableForm and DeleteTableForm dialogs

Delete those two dialog, the only use of which is to make it possible to
select a table which is totally pointless because the user can do this
in the main window and would probably do so intuitively anyway.
This commit is contained in:
Martin Kleusberg
2013-01-02 20:03:33 +01:00
parent 547e8d9964
commit 0180017dbd
8 changed files with 13 additions and 520 deletions

View File

@@ -31,8 +31,8 @@
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<addaction name="editCreateTableAction"/>
<addaction name="editModifyTableActionPopup"/>
<addaction name="editDeleteTableActionPopup"/>
<addaction name="editModifyTableAction"/>
<addaction name="editDeleteTableAction"/>
<addaction name="separator"/>
<addaction name="editAddFieldActionPopup"/>
<addaction name="editModifyFieldActionPopup"/>
@@ -805,36 +805,6 @@
<string>Delete Field</string>
</property>
</action>
<action name="editModifyTableActionPopup">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="icons/icons.qrc">
<normaloff>:/icons/table_modify</normaloff>:/icons/table_modify</iconset>
</property>
<property name="text">
<string>Modify Table</string>
</property>
<property name="toolTip">
<string>Modify Table</string>
</property>
</action>
<action name="editDeleteTableActionPopup">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="icons/icons.qrc">
<normaloff>:/icons/table_delete</normaloff>:/icons/table_delete</iconset>
</property>
<property name="text">
<string>Delete Table</string>
</property>
<property name="toolTip">
<string>Delete Table</string>
</property>
</action>
<action name="editModifyFieldActionPopup">
<property name="enabled">
<bool>false</bool>
@@ -1305,22 +1275,6 @@
</hint>
</hints>
</connection>
<connection>
<sender>editDeleteTableAction</sender>
<signal>activated()</signal>
<receiver>MainWindow</receiver>
<slot>createTable()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>299</y>
</hint>
</hints>
</connection>
<connection>
<sender>editDeleteTableAction</sender>
<signal>activated()</signal>
@@ -1353,38 +1307,6 @@
</hint>
</hints>
</connection>
<connection>
<sender>editDeleteTableActionPopup</sender>
<signal>activated()</signal>
<receiver>MainWindow</receiver>
<slot>deleteTablePopup()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>299</y>
</hint>
</hints>
</connection>
<connection>
<sender>editModifyTableActionPopup</sender>
<signal>activated()</signal>
<receiver>MainWindow</receiver>
<slot>editTablePopup()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>399</x>
<y>299</y>
</hint>
</hints>
</connection>
<connection>
<sender>editAddFieldActionPopup</sender>
<signal>activated()</signal>