Changeset View
Changeset View
Standalone View
Standalone View
src/view/katestatusbar.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 66 | public Q_SLOTS: | |||
---|---|---|---|---|---|
79 | void modeChanged(); | 79 | void modeChanged(); | ||
80 | 80 | | |||
81 | void wordCountChanged(int, int, int, int); | 81 | void wordCountChanged(int, int, int, int); | ||
82 | 82 | | |||
83 | void toggleWordCount(bool on); | 83 | void toggleWordCount(bool on); | ||
84 | 84 | | |||
85 | void configChanged(); | 85 | void configChanged(); | ||
86 | 86 | | |||
87 | void dictionaryChanged(QAction *action); | ||||
88 | | ||||
87 | protected: | 89 | protected: | ||
88 | bool eventFilter(QObject *obj, QEvent *event) override; | 90 | bool eventFilter(QObject *obj, QEvent *event) override; | ||
89 | void contextMenuEvent(QContextMenuEvent *event) override; | 91 | void contextMenuEvent(QContextMenuEvent *event) override; | ||
90 | 92 | | |||
91 | private: | 93 | private: | ||
92 | KTextEditor::ViewPrivate *const m_view; | 94 | KTextEditor::ViewPrivate *const m_view; | ||
93 | StatusBarButton *m_cursorPosition = nullptr; | 95 | StatusBarButton *m_cursorPosition = nullptr; | ||
94 | QString m_wordCount; | 96 | QString m_wordCount; | ||
95 | StatusBarButton *m_modified = nullptr; | 97 | StatusBarButton *m_modified = nullptr; | ||
96 | StatusBarButton *m_inputMode = nullptr; | 98 | StatusBarButton *m_inputMode = nullptr; | ||
97 | StatusBarButton *m_mode = nullptr; | 99 | StatusBarButton *m_mode = nullptr; | ||
98 | StatusBarButton *m_encoding = nullptr; | 100 | StatusBarButton *m_encoding = nullptr; | ||
99 | StatusBarButton *m_tabsIndent = nullptr; | 101 | StatusBarButton *m_tabsIndent = nullptr; | ||
102 | StatusBarButton *m_dictionary = nullptr; | ||||
103 | QActionGroup *m_dictionaryGroup; | ||||
100 | QMenu *m_indentSettingsMenu; | 104 | QMenu *m_indentSettingsMenu; | ||
101 | unsigned int m_modifiedStatus; | 105 | unsigned int m_modifiedStatus; | ||
102 | unsigned int m_selectionMode; | 106 | unsigned int m_selectionMode; | ||
103 | QActionGroup *m_tabGroup; | 107 | QActionGroup *m_tabGroup; | ||
104 | QActionGroup *m_indentGroup; | 108 | QActionGroup *m_indentGroup; | ||
105 | QAction *m_mixedAction; | 109 | QAction *m_mixedAction; | ||
106 | QAction *m_hardAction; | 110 | QAction *m_hardAction; | ||
107 | QAction *m_softAction; | 111 | QAction *m_softAction; | ||
Show All 15 Lines |