mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
refactor: Remove unused actions
This commit is contained in:
@@ -117,26 +117,6 @@
|
|||||||
<addaction name="menu_Internals"/>
|
<addaction name="menu_Internals"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QStatusBar" name="sb_SwiftData"/>
|
<widget class="QStatusBar" name="sb_SwiftData"/>
|
||||||
<action name="menu_FileExit">
|
|
||||||
<property name="text">
|
|
||||||
<string>Exit</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_FileSettingsDirectory">
|
|
||||||
<property name="text">
|
|
||||||
<string>Settings directory</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_FileResetSettings">
|
|
||||||
<property name="text">
|
|
||||||
<string>Reset settings</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_FileReloadStyleSheets">
|
|
||||||
<property name="text">
|
|
||||||
<string>Reload style sheets</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_WindowFont">
|
<action name="menu_WindowFont">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Font</string>
|
<string>Font</string>
|
||||||
@@ -163,91 +143,6 @@
|
|||||||
<string>Ctrl+M, D</string>
|
<string>Ctrl+M, D</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="menu_WindowToggleOnTop">
|
|
||||||
<property name="text">
|
|
||||||
<string>Toggle stay on top</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="actionNavigator">
|
|
||||||
<property name="text">
|
|
||||||
<string>Navigator</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_DebugMetaTypes">
|
|
||||||
<property name="text">
|
|
||||||
<string>Debug metatypes (to console)</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_JsonBootstrapTemplate">
|
|
||||||
<property name="text">
|
|
||||||
<string>JSON bootstrap template</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsEnvVars">
|
|
||||||
<property name="text">
|
|
||||||
<string>Env.variables</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsMetatypes">
|
|
||||||
<property name="text">
|
|
||||||
<string>Metatypes</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsSetup">
|
|
||||||
<property name="text">
|
|
||||||
<string>Setup</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsCompileInfo">
|
|
||||||
<property name="text">
|
|
||||||
<string>Compile info</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsDisplayCachedFiles">
|
|
||||||
<property name="text">
|
|
||||||
<string>All cache files</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsDeleteCachedFiles">
|
|
||||||
<property name="text">
|
|
||||||
<string>Delete cached fies</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_SettingsDirectory">
|
|
||||||
<property name="text">
|
|
||||||
<string>Directory</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_SettingsReset">
|
|
||||||
<property name="text">
|
|
||||||
<string>Reset</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_SettingsFiles">
|
|
||||||
<property name="text">
|
|
||||||
<string>Files</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_CacheDirectory">
|
|
||||||
<property name="text">
|
|
||||||
<string>Directory</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_CacheFiles">
|
|
||||||
<property name="text">
|
|
||||||
<string>Files</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_CacheReset">
|
|
||||||
<property name="text">
|
|
||||||
<string>Reset</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_JsonDownloadTemplate">
|
|
||||||
<property name="text">
|
|
||||||
<string>JSON download template</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
</widget>
|
</widget>
|
||||||
<layoutdefault spacing="6" margin="11"/>
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
|
|||||||
@@ -369,36 +369,11 @@
|
|||||||
<string>Position EDNX (Schleißheim, GER)</string>
|
<string>Position EDNX (Schleißheim, GER)</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="menu_FileExit">
|
|
||||||
<property name="text">
|
|
||||||
<string>Exit</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_FileSettingsDirectory">
|
|
||||||
<property name="text">
|
|
||||||
<string>Settings directory</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_FileResetSettings">
|
|
||||||
<property name="text">
|
|
||||||
<string>Reset settings</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_FileReloadStyleSheets">
|
|
||||||
<property name="text">
|
|
||||||
<string>Reload style sheets</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_WindowFont">
|
<action name="menu_WindowFont">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Font</string>
|
<string>Font</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="menu_DebugMetaTypes">
|
|
||||||
<property name="text">
|
|
||||||
<string>Meta types (to console)</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_TestLocationsLOWW">
|
<action name="menu_TestLocationsLOWW">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Position LOWW (Vienna, AUT)</string>
|
<string>Position LOWW (Vienna, AUT)</string>
|
||||||
@@ -428,76 +403,11 @@
|
|||||||
<string>Ctrl+W, Ctrl+N</string>
|
<string>Ctrl+W, Ctrl+N</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="menu_NavigatorHorizontal">
|
|
||||||
<property name="text">
|
|
||||||
<string>Horizontal navigator</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsMetatypes">
|
|
||||||
<property name="text">
|
|
||||||
<string>Metatypes</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsEnvVars">
|
|
||||||
<property name="text">
|
|
||||||
<string>Env.variables</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsSetup">
|
|
||||||
<property name="text">
|
|
||||||
<string>Setup</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsCompileInfo">
|
|
||||||
<property name="text">
|
|
||||||
<string>Compile info</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsPage">
|
<action name="menu_InternalsPage">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Internals page</string>
|
<string>Internals page</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="menu_InternalsDeleteCachedFiles">
|
|
||||||
<property name="text">
|
|
||||||
<string>Delete cached files</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_InternalsDisplayCachedFiles">
|
|
||||||
<property name="text">
|
|
||||||
<string>Display cached files</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_SettingsDirectory">
|
|
||||||
<property name="text">
|
|
||||||
<string>Directory</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_SettingsFiles">
|
|
||||||
<property name="text">
|
|
||||||
<string>Files</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_SettingsReset">
|
|
||||||
<property name="text">
|
|
||||||
<string>Reset</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_CacheDirectory">
|
|
||||||
<property name="text">
|
|
||||||
<string>Directory</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_CacheFiles">
|
|
||||||
<property name="text">
|
|
||||||
<string>Files</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_CacheReset">
|
|
||||||
<property name="text">
|
|
||||||
<string>Reset</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="menu_AutoPublish">
|
<action name="menu_AutoPublish">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="../misc/misc.qrc">
|
<iconset resource="../misc/misc.qrc">
|
||||||
|
|||||||
@@ -212,9 +212,6 @@ void SwiftGuiStd::initStyleSheet()
|
|||||||
|
|
||||||
void SwiftGuiStd::initGuiSignals()
|
void SwiftGuiStd::initGuiSignals()
|
||||||
{
|
{
|
||||||
// Remark: With new style, only methods of same signature can be connected
|
|
||||||
// This is why we still have some "old" SIGNAL/SLOT connections here
|
|
||||||
|
|
||||||
// main window
|
// main window
|
||||||
connect(ui->sw_MainMiddle, &QStackedWidget::currentChanged, this, &SwiftGuiStd::onCurrentMainWidgetChanged);
|
connect(ui->sw_MainMiddle, &QStackedWidget::currentChanged, this, &SwiftGuiStd::onCurrentMainWidgetChanged);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user