diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-09-18 20:19:47 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-09-18 20:39:48 +0900 |
commit | a80a494efee7979c28ab1090734270e5c0515352 (patch) | |
tree | 1cdaee39e3e5a2b32c171f8389b29b15c519c607 /src/MainWindowBase.ui | |
parent | 14f7e49438caa24af81a0d7d7864ce71d96791e4 (diff) | |
download | universal-indent-gui-tqt-a80a494efee7979c28ab1090734270e5c0515352.tar.gz universal-indent-gui-tqt-a80a494efee7979c28ab1090734270e5c0515352.zip |
Added main window menubar GUI. The logic of each action has not been implemented yet.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/MainWindowBase.ui')
-rwxr-xr-x | src/MainWindowBase.ui | 383 |
1 files changed, 383 insertions, 0 deletions
diff --git a/src/MainWindowBase.ui b/src/MainWindowBase.ui new file mode 100755 index 0000000..56256f0 --- /dev/null +++ b/src/MainWindowBase.ui @@ -0,0 +1,383 @@ +<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> + <author>Thomas_-_S</author> + <class>MainWindowBase</class> + <widget class="TQMainWindow"> + <property name="name"> + <cstring>MainWindowBase</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>949</width> + <height>633</height> + </rect> + </property> + <property name="caption"> + <string>UniversalIndentGUI (TQt)</string> + </property> + <hbox> + <property name="name"> + <cstring>centralWidget</cstring> + </property> + <property name="spacing"> + <number>6</number> + </property> + <property name="margin"> + <number>0</number> + </property> + </hbox> + </widget> + <menubar> + <property name="name"> + <cstring>menuBar</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>949</width> + <height>21</height> + </rect> + </property> + <item text="&File" name="menuFile"> + <action name="actionOpenSourceFile"/> + <action name="actionMenuRecentlyOpenedFiles"/> + <item text="Recently Opened Files" name="popupMenuRecentlyOpenedFiles"> + <separator/> + <action name="actionClearRecentlyOpenedList"/> + </item> + <action name="actionMenuEncoding"/> + <item text="Reopen File with other Encoding" name="popupMenuEncoding"/> + <separator/> + <action name="actionSaveSourceFile"/> + <action name="actionSaveSourceFileAs"/> + <action name="actionMenuSaveEncoded"/> + <item text="Save Source File As with other Encoding" name="popupMenuSaveEncoded"/> + <separator/> + <action name="actionMenuExport"/> + <item text="Export" name="popupMenuExport"> + <action name="actionExportHTML"/> + <action name="actionExportPDF"/> + </item> + <action name="actionExit" /> + </item> + <item text="&Indenter" name="menuIndenter"> + </item> + <item text="&Settings" name="menuSettings"> + <action name="actionLiveIndentPreview"/> + <action name="actionEnableSyntaxHighlighting"/> + <action name="actionWhiteSpaceIsVisible"/> + <action name="actionMenuHighlighter"/> + <item text="Set Syntax Highlighter" name="popupMenuHighlighter"/> + <action name="actionIndenterParameterTooltipsEnabled"/> + <action name="actionLoadLastOpenedFileOnStartup"/> + <action name="actionShowSettings"/> + </item> + <item text="&Help" name="menuHelp"> + <action name="actionShowLog"/> + <separator/> + <action name="actionAboutUniversalIndentGUITQt"/> + </item> + </menubar> + <actions> + <action> + <property name="name"> + <cstring>actionOpenSourceFile</cstring> + </property> + <property name="text"> + <string>Open Source File</string> + </property> + <property name="statusTip"> + <string>Opens a dialog for selecting a source code file.</string> + </property> + <property name="accel"> + <string>Ctrl+O</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionMenuRecentlyOpenedFiles</cstring> + </property> + <property name="text"> + <string>Recently Opened Files</string> + </property> + <property name="statusTip"> + <string>Open a recently used file.</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionClearRecentlyOpenedList</cstring> + </property> + <property name="text"> + <string>Clear Recently Opened List</string> + </property> + <property name="statusTip"> + <string>Clears the list of recently open files.</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionMenuEncoding</cstring> + </property> + <property name="text"> + <string>Reopen File with other Encoding</string> + </property> + <property name="statusTip"> + <string>Reopen the current file using a specified encoding.</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionSaveSourceFile</cstring> + </property> + <property name="text"> + <string>Save Source File</string> + </property> + <property name="statusTip"> + <string>Saves the currently shown source code to the last opened or saved source file.</string> + </property> + <property name="accel"> + <string>Ctrl+S</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionSaveSourceFileAs</cstring> + </property> + <property name="text"> + <string>Save Source File As...</string> + </property> + <property name="statusTip"> + <string>Opens a file dialog to save the currently shown source code.</string> + </property> + <property name="accel"> + <string>Ctrl+Shift+S</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionMenuSaveEncoded</cstring> + </property> + <property name="text"> + <string>Save Source File As with other Encoding</string> + </property> + <property name="statusTip"> + <string>Save the current source file using a specified encoding.</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionMenuExport</cstring> + </property> + <property name="text"> + <string>Export</string> + </property> + <property name="statusTip"> + <string>Export the currently visible source</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionExportHTML</cstring> + </property> + <property name="text"> + <string>HTML</string> + </property> + <property name="statusTip"> + <string>Export the currently visible source code as HTML document</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionExportPDF</cstring> + </property> + <property name="text"> + <string>PDF</string> + </property> + <property name="statusTip"> + <string>Export the currently visible source code as PDF document</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionExit</cstring> + </property> + <property name="text"> + <string>Exit</string> + </property> + <property name="statusTip"> + <string>Quits the UniversalIndentGUI.</string> + </property> + <property name="accel"> + <string>Ctrl+Q</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionLiveIndentPreview</cstring> + </property> + <property name="toggleAction"> + <bool>true</bool> + </property> + <property name="text"> + <string>Live Indent Preview</string> + </property> + <property name="accel"> + <string>Ctrl+L</string> + </property> + <property name="visible"> + <bool>false</bool> + </property> + </action> + <action> + <property name="name"> + <cstring>actionEnableSyntaxHighlighting</cstring> + </property> + <property name="toggleAction"> + <bool>true</bool> + </property> + <property name="on"> + <bool>true</bool> + </property> + <property name="text"> + <string>Syntax Highlighting</string> + </property> + <property name="statusTip"> + <string>By enabling this, special keywords of the source code are highlighted.</string> + </property> + <property name="accel"> + <string>Ctrl+H</string> + </property> + </action> + <action name=""> + <property name="name"> + <cstring>actionWhiteSpaceIsVisible</cstring> + </property> + <property name="toggleAction"> + <bool>true</bool> + </property> + <property name="text"> + <string>White Space Visible</string> + </property> + <property name="toolTip"> + <string>Set white space visible</string> + </property> + <property name="statusTip"> + <string>Enables or disables diplaying of white space characters in the editor.</string> + </property> + <property name="visible"> + <bool>false</bool> + </property> + </action> + <action> + <property name="name"> + <cstring>actionMenuHighlighter</cstring> + </property> + <property name="text"> + <string>Set Syntax Highlighter</string> + </property> + <property name="statusTip"> + <string>Set the syntax highlighter to use</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionIndenterParameterTooltipsEnabled</cstring> + </property> + <property name="toggleAction"> + <bool>true</bool> + </property> + <property name="on"> + <bool>true</bool> + </property> + <property name="text"> + <string>Parameter Tooltips</string> + </property> + <property name="statusTip"> + <string>If checked, tooltips will show up if the mouse cursor remains over an indenter parameter for a while.</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionLoadLastOpenedFileOnStartup</cstring> + </property> + <property name="toggleAction"> + <bool>true</bool> + </property> + <property name="on"> + <bool>true</bool> + </property> + <property name="text"> + <string>Auto Open Last File</string> + </property> + <property name="toolTip"> + <string>Auto open last source file on startup</string> + </property> + <property name="statusTip"> + <string>If selected opens last source code file on startup</string> + </property> + <property name="visible"> + <bool>false</bool> + </property> + </action> + <action> + <property name="name"> + <cstring>actionShowSettings</cstring> + </property> + <property name="text"> + <string>Settings</string> + </property> + <property name="toolTip"> + <string>Opens the settings dialog</string> + </property> + <property name="statusTip"> + <string>Opens the settings dialog, to set language etc.</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionShowLog</cstring> + </property> + <property name="text"> + <string>Show Log</string> + </property> + <property name="toolTip"> + <string>Displays logging information.</string> + </property> + <property name="statusTip"> + <string>Displays logging info about the currently running UiGUI application.</string> + </property> + </action> + <action> + <property name="name"> + <cstring>actionAboutUniversalIndentGUITQt</cstring> + </property> + <property name="text"> + <string>About UniversalIndentGUI TQt</string> + </property> + <property name="statusTip"> + <string>Shows info about UniversalIndentGUI TQt.</string> + </property> + </action> + </actions> + <connections> + <connection> + <sender>actionExit</sender> + <signal>activated()</signal> + <receiver>MainWindowBase</receiver> + <slot>close()</slot> + <hints> + <hint type="sourcelabel"> + <x>-1</x> + <y>-1</y> + </hint> + <hint type="destinationlabel"> + <x>399</x> + <y>299</y> + </hint> + </hints> + </connection> + </connections> +</UI> |