summaryrefslogtreecommitdiffstats
path: root/src/MainWindow.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-11-07 11:31:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-11-28 15:19:44 +0900
commitae3256947f8ac390d0efa271f9721b3ac92f2999 (patch)
tree00549b7195d317fa8a23adc5644aeabcd42cdc2d /src/MainWindow.h
parenta92640a3d98908db6d68cf107ca8dbced8447b7a (diff)
downloaduniversal-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.h13
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;
};