diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-11-07 11:31:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-11-28 15:19:44 +0900 |
commit | ae3256947f8ac390d0efa271f9721b3ac92f2999 (patch) | |
tree | 00549b7195d317fa8a23adc5644aeabcd42cdc2d /src/MainWindow.h | |
parent | a92640a3d98908db6d68cf107ca8dbced8447b7a (diff) | |
download | universal-indent-gui-tqt-ae3256947f8ac390d0efa271f9721b3ac92f2999.tar.gz universal-indent-gui-tqt-ae3256947f8ac390d0efa271f9721b3ac92f2999.zip |
Added toolbar GUI. The logic of each button has not been implemented yet.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r-- | src/MainWindow.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h index 663d161..103b26c 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -29,11 +29,8 @@ /// class AboutDialog; /// class AboutDialogGraphicsView; /// class UiGuiHighlighter; -/// class IndentHandler; -/// namespace Ui -/// { -/// class ToolBarWidget; -/// } +/// class IndentHandler +class ToolBarWidget; /// /// class TQLabel; /// class TQScrollBar; @@ -72,7 +69,7 @@ class MainWindow : public MainWindowBase ///-- void sourceCodeChangedHelperSlot(); ///-- void sourceCodeChangedSlot(); ///-- void indentSettingsChangedSlot(); -///-- void previewTurnedOnOff(bool turnOn); + void previewTurnedOnOff(bool turnOn); void exportToPDF(); void exportToHTML(); ///-- void languageChanged(int languageIndex); @@ -95,7 +92,7 @@ class MainWindow : public MainWindowBase ///-- void createHighlighterMenu(); ///-- bool initApplicationLanguage(); void initMainWindow(); -///-- void initToolBar(); + void initToolBar(); ///-- void initTextEditor(); ///-- void initSyntaxHighlighter(); ///-- void initIndenter(); @@ -135,7 +132,7 @@ class MainWindow : public MainWindowBase ///-- bool _previewToggled; ///-- TQStringList _encodingsList; ///-- -///-- Ui::ToolBarWidget *_toolBarWidget; + ToolBarWidget *m_toolBarWidget; ///-- IndentHandler *_indentHandler; ///-- TQLabel *_textEditLineColumnInfoLabel; }; |