From a80a494efee7979c28ab1090734270e5c0515352 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 18 Sep 2022 20:19:47 +0900 Subject: Added main window menubar GUI. The logic of each action has not been implemented yet. Signed-off-by: Michele Calgaro --- src/__TODO/ToolBarWidget.ui | 124 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100755 src/__TODO/ToolBarWidget.ui (limited to 'src/__TODO/ToolBarWidget.ui') diff --git a/src/__TODO/ToolBarWidget.ui b/src/__TODO/ToolBarWidget.ui new file mode 100755 index 0000000..8665cac --- /dev/null +++ b/src/__TODO/ToolBarWidget.ui @@ -0,0 +1,124 @@ + + + ToolBarWidget + + + + 0 + 0 + 773 + 34 + + + + Form + + + + 6 + + + 0 + + + + + <html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Opens a dialog for selecting a source code file.</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">This file will be used to show what the indent tool changes.</p></body></html> + + + Open Source File + + + + :/mainWindow/document-open.png:/mainWindow/document-open.png + + + + + + + <html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">Turns the preview of the reformatted source code on and off.</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">In other words it switches between formatted and nonformatted code. (Ctrl+L)</p></body></html> + + + Live Indent Preview + + + + :/mainWindow/live-preview.png:/mainWindow/live-preview.png + + + Ctrl+L + + + + + + + <html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">Enables and disables the highlightning of the source</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">code shown below. (Still needs some performance improvements) (Ctrl+H)</p></body></html> + + + Syntax Highlight + + + + :/mainWindow/syntax-highlight.png:/mainWindow/syntax-highlight.png + + + Ctrl+H + + + true + + + DONOTTRANSLATE:SyntaxHighlightingEnabled + + + + + + + TQt::Horizontal + + + + 40 + 20 + + + + + + + + <html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Shows info about UniversalIndentGUI</p></body></html> + + + About + + + + :/mainWindow/info.png:/mainWindow/info.png + + + + + + + <html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Quits the UniversalIndentGUI</p></body></html> + + + Exit + + + + :/mainWindow/system-log-out.png:/mainWindow/system-log-out.png + + + + + + + + + + -- cgit v1.2.1