rockbox/utils/themeeditor/gui/editorwindow.ui
Dominik Riebeling 3ff7dc75a1 themeeditor: Fix menu Quit entry not working.
Change-Id: Ib527b4b4a7b450dee713dea93eaf93d85c0d4bfd
2020-09-03 18:45:48 +02:00

509 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>EditorWindow</class>
<widget class="QMainWindow" name="EditorWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>628</width>
<height>433</height>
</rect>
</property>
<property name="windowTitle">
<string>Rockbox Theme Editor</string>
</property>
<property name="windowIcon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/windowicon.png</normaloff>:/resources/windowicon.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="editorTabs">
<property name="currentIndex">
<number>-1</number>
</property>
<property name="tabsClosable">
<bool>true</bool>
</property>
<property name="movable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>628</width>
<height>27</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&amp;File</string>
</property>
<widget class="QMenu" name="menuRecent_Files">
<property name="title">
<string>Recent Files</string>
</property>
</widget>
<widget class="QMenu" name="menuRecent_Projects">
<property name="title">
<string>Recent Projects</string>
</property>
</widget>
<addaction name="actionNew_Document"/>
<addaction name="actionNew_Project"/>
<addaction name="actionOpen_Document"/>
<addaction name="actionOpen_Project"/>
<addaction name="menuRecent_Files"/>
<addaction name="menuRecent_Projects"/>
<addaction name="separator"/>
<addaction name="actionClose_Document"/>
<addaction name="actionClose_Project"/>
<addaction name="separator"/>
<addaction name="actionSave_Document"/>
<addaction name="actionSave_Document_As"/>
<addaction name="actionExport_Project"/>
<addaction name="separator"/>
<addaction name="actionPreferences"/>
<addaction name="separator"/>
<addaction name="actionQuit"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>&amp;View</string>
</property>
<addaction name="actionPreview_Panel"/>
<addaction name="actionDisplay_Panel"/>
<addaction name="actionFile_Panel"/>
<addaction name="separator"/>
<addaction name="actionDevice_Configuration"/>
<addaction name="actionTimer"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>&amp;Edit</string>
</property>
<addaction name="actionUndo"/>
<addaction name="actionRedo"/>
<addaction name="separator"/>
<addaction name="actionCut"/>
<addaction name="actionCopy"/>
<addaction name="actionPaste"/>
<addaction name="separator"/>
<addaction name="actionFind_Replace"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuView"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QDockWidget" name="skinPreviewDock">
<property name="windowTitle">
<string>Skin Preview</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="skinPreviewContents">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QVBoxLayout" name="skinPreviewLayout"/>
</item>
</layout>
</widget>
</widget>
<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>
</widget>
<widget class="QDockWidget" name="projectDock">
<property name="windowTitle">
<string>Project</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_2">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QListView" name="projectTree"/>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="parseTreeDock">
<property name="windowTitle">
<string>Parse Tree</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_3">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QTreeView" name="parseTree">
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::MultiSelection</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fromTree">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Update Code</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<action name="actionQuit">
<property name="text">
<string>&amp;Quit</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionDisplay_Panel">
<property name="checkable">
<bool>false</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>Parse &amp;Tree Panel</string>
</property>
</action>
<action name="actionPreferences">
<property name="text">
<string>&amp;Preferences</string>
</property>
<property name="shortcut">
<string>Ctrl+P</string>
</property>
</action>
<action name="actionFile_Panel">
<property name="checkable">
<bool>false</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>P&amp;roject Panel</string>
</property>
</action>
<action name="actionPreview_Panel">
<property name="checkable">
<bool>false</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Preview Panel</string>
</property>
</action>
<action name="actionNew_Document">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/document-new.png</normaloff>:/resources/resources/document-new.png</iconset>
</property>
<property name="text">
<string>&amp;New Document</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actionOpen_Document">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/document-open.png</normaloff>:/resources/resources/document-open.png</iconset>
</property>
<property name="text">
<string>&amp;Open Document</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="actionSave_Document">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/document-save.png</normaloff>:/resources/resources/document-save.png</iconset>
</property>
<property name="text">
<string>&amp;Save Document</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="actionClose_Document">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Close Document</string>
</property>
<property name="shortcut">
<string>Ctrl+W</string>
</property>
</action>
<action name="actionSave_Document_As">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/document-save-as.png</normaloff>:/resources/resources/document-save-as.png</iconset>
</property>
<property name="text">
<string>Save Document &amp;As</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+S</string>
</property>
</action>
<action name="actionToolbarNew">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/document-new.png</normaloff>:/resources/resources/document-new.png</iconset>
</property>
<property name="text">
<string>ToolbarNew</string>
</property>
<property name="toolTip">
<string>New</string>
</property>
</action>
<action name="actionToolbarOpen">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/document-open.png</normaloff>:/resources/resources/document-open.png</iconset>
</property>
<property name="text">
<string>ToolbarOpen</string>
</property>
<property name="toolTip">
<string>Open</string>
</property>
</action>
<action name="actionToolbarSave">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/document-save.png</normaloff>:/resources/resources/document-save.png</iconset>
</property>
<property name="text">
<string>ToolbarSave</string>
</property>
<property name="toolTip">
<string>Save</string>
</property>
</action>
<action name="actionOpen_Project">
<property name="text">
<string>Open P&amp;roject</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+O</string>
</property>
</action>
<action name="actionDevice_Configuration">
<property name="text">
<string>&amp;Device Configuration</string>
</property>
<property name="shortcut">
<string>Ctrl+D</string>
</property>
</action>
<action name="actionUndo">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/edit-undo.png</normaloff>:/resources/resources/edit-undo.png</iconset>
</property>
<property name="text">
<string>&amp;Undo</string>
</property>
<property name="shortcut">
<string>Ctrl+Z</string>
</property>
</action>
<action name="actionRedo">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/edit-redo.png</normaloff>:/resources/resources/edit-redo.png</iconset>
</property>
<property name="text">
<string>&amp;Redo</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+Z</string>
</property>
</action>
<action name="actionCut">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/edit-cut.png</normaloff>:/resources/resources/edit-cut.png</iconset>
</property>
<property name="text">
<string>C&amp;ut</string>
</property>
<property name="shortcut">
<string>Ctrl+X</string>
</property>
</action>
<action name="actionCopy">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/edit-copy.png</normaloff>:/resources/resources/edit-copy.png</iconset>
</property>
<property name="text">
<string>&amp;Copy</string>
</property>
<property name="shortcut">
<string>Ctrl+C</string>
</property>
</action>
<action name="actionPaste">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/edit-paste.png</normaloff>:/resources/resources/edit-paste.png</iconset>
</property>
<property name="text">
<string>&amp;Paste</string>
</property>
<property name="shortcut">
<string>Ctrl+V</string>
</property>
</action>
<action name="actionFind_Replace">
<property name="icon">
<iconset resource="../resources.qrc">
<normaloff>:/resources/resources/edit-find-replace.png</normaloff>:/resources/resources/edit-find-replace.png</iconset>
</property>
<property name="text">
<string>&amp;Find/Replace</string>
</property>
<property name="shortcut">
<string>Ctrl+F</string>
</property>
</action>
<action name="actionTimer">
<property name="text">
<string>T&amp;imer</string>
</property>
<property name="shortcut">
<string>Ctrl+T</string>
</property>
</action>
<action name="actionClose_Project">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Close Pro&amp;ject</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+W</string>
</property>
</action>
<action name="actionNew_Project">
<property name="text">
<string>N&amp;ew Project</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+N</string>
</property>
</action>
<action name="actionExport_Project">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>E&amp;xport Project</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+X</string>
</property>
</action>
<action name="actionFiles">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Files</string>
</property>
<property name="visible">
<bool>true</bool>
</property>
</action>
<action name="actionProjects">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Projects</string>
</property>
<property name="visible">
<bool>true</bool>
</property>
</action>
</widget>
<tabstops>
<tabstop>projectTree</tabstop>
<tabstop>parseTree</tabstop>
<tabstop>fromTree</tabstop>
<tabstop>editorTabs</tabstop>
</tabstops>
<resources>
<include location="../resources.qrc"/>
</resources>
<connections>
<connection>
<sender>actionQuit</sender>
<signal>triggered()</signal>
<receiver>EditorWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>299</x>
<y>199</y>
</hint>
</hints>
</connection>
</connections>
</ui>