Most seems to work. Multi threading is not optimal
however some points use a timeout with select or wait_for to poll a condition at the same time.
This commit is contained in:
parent
c3d604e7b4
commit
4167c483f5
16 changed files with 76 additions and 67 deletions
|
|
@ -45,12 +45,12 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>993</width>
|
||||
<height>22</height>
|
||||
<height>24</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuTest">
|
||||
<property name="title">
|
||||
<string>File</string>
|
||||
<string>Fi&le</string>
|
||||
</property>
|
||||
<addaction name="actionNew_SQL"/>
|
||||
<addaction name="actionLoad_SQL"/>
|
||||
|
|
@ -69,7 +69,7 @@
|
|||
</widget>
|
||||
<widget class="QMenu" name="menuQuery">
|
||||
<property name="title">
|
||||
<string>Query</string>
|
||||
<string>&Query</string>
|
||||
</property>
|
||||
<addaction name="actionExecute_SQL"/>
|
||||
<addaction name="actionExplain"/>
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
</widget>
|
||||
<widget class="QMenu" name="menuView">
|
||||
<property name="title">
|
||||
<string>Window</string>
|
||||
<string>Wi&ndow</string>
|
||||
</property>
|
||||
<addaction name="actionShow_connection_manager"/>
|
||||
</widget>
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
<normaloff>:/icons/folder.png</normaloff>:/icons/folder.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Load SQL</string>
|
||||
<string>&Load SQL</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+O</string>
|
||||
|
|
@ -138,7 +138,7 @@
|
|||
<normaloff>:/icons/script_save.png</normaloff>:/icons/script_save.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Save SQL</string>
|
||||
<string>&Save SQL</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+S</string>
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
<normaloff>:/icons/table_save.png</normaloff>:/icons/table_save.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Export data</string>
|
||||
<string>&Export data</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionClose">
|
||||
|
|
@ -160,7 +160,7 @@
|
|||
</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Close</string>
|
||||
<string>&Close</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+F4</string>
|
||||
|
|
@ -168,12 +168,12 @@
|
|||
</action>
|
||||
<action name="actionAbout">
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normalon>:/icons/information.png</normalon>
|
||||
</iconset>
|
||||
<iconset resource="resources.qrc">
|
||||
<normaloff>:/icons/about.png</normaloff>
|
||||
<normalon>:/icons/information.png</normalon>:/icons/about.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>About</string>
|
||||
<string>&About</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionExecute_SQL">
|
||||
|
|
@ -183,7 +183,7 @@
|
|||
</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Execute queries</string>
|
||||
<string>&Execute queries</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Execute the (selected) queries</string>
|
||||
|
|
@ -199,7 +199,7 @@
|
|||
</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Cancel</string>
|
||||
<string>&Cancel</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Alt+Pause</string>
|
||||
|
|
@ -211,7 +211,7 @@
|
|||
<normaloff>:/icons/lightbulb.png</normaloff>:/icons/lightbulb.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Explain Analyze</string>
|
||||
<string>Ex&plain Analyze</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Shift+F7</string>
|
||||
|
|
@ -219,22 +219,22 @@
|
|||
</action>
|
||||
<action name="actionSave_SQL_as">
|
||||
<property name="text">
|
||||
<string>Save SQL as</string>
|
||||
<string>Sa&ve SQL as</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSave_copy_of_SQL_as">
|
||||
<property name="text">
|
||||
<string>Save copy of SQL as</string>
|
||||
<string>Save copy &of SQL as</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionNew_SQL">
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normalon>:/icons/page_white_add.png</normalon>
|
||||
</iconset>
|
||||
<iconset resource="resources.qrc">
|
||||
<normaloff>:/icons/new_query_tab.png</normaloff>
|
||||
<normalon>:/icons/page_white_add.png</normalon>:/icons/new_query_tab.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>New SQL</string>
|
||||
<string>&New SQL</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+N</string>
|
||||
|
|
@ -247,7 +247,7 @@
|
|||
</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Explain</string>
|
||||
<string>E&xplain</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Explain the (selected) query</string>
|
||||
|
|
@ -258,7 +258,7 @@
|
|||
</action>
|
||||
<action name="actionShow_connection_manager">
|
||||
<property name="text">
|
||||
<string>Show connection manager</string>
|
||||
<string>&Show connection manager</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionCopy">
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Copy</string>
|
||||
<string>&Copy</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+C</string>
|
||||
|
|
@ -281,7 +281,7 @@
|
|||
</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Copy as C-string</string>
|
||||
<string>Copy as C-&string</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Alt+C</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue