diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-07-25 01:13:21 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-07-25 01:13:47 +0200 |
commit | 3ee5a63c5ca35911d6136d0d030f62c1d9809836 (patch) | |
tree | 4f88e4828837655e7c946f69f3f13657dbdc0c42 /application/pages/instance/NotesPage.ui | |
parent | 7dfe73df0c26733d68abc576c3eefab1a69e2149 (diff) | |
download | MultiMC-3ee5a63c5ca35911d6136d0d030f62c1d9809836.tar MultiMC-3ee5a63c5ca35911d6136d0d030f62c1d9809836.tar.gz MultiMC-3ee5a63c5ca35911d6136d0d030f62c1d9809836.tar.lz MultiMC-3ee5a63c5ca35911d6136d0d030f62c1d9809836.tar.xz MultiMC-3ee5a63c5ca35911d6136d0d030f62c1d9809836.zip |
NOISSUE make notes page focusable with tab key
Diffstat (limited to 'application/pages/instance/NotesPage.ui')
-rw-r--r-- | application/pages/instance/NotesPage.ui | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/application/pages/instance/NotesPage.ui b/application/pages/instance/NotesPage.ui index 88cca92f..67cb261c 100644 --- a/application/pages/instance/NotesPage.ui +++ b/application/pages/instance/NotesPage.ui @@ -10,7 +10,7 @@ <height>538</height> </rect> </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> + <layout class="QVBoxLayout" name="verticalLayout"> <property name="leftMargin"> <number>0</number> </property> @@ -24,34 +24,26 @@ <number>0</number> </property> <item> - <widget class="QTabWidget" name="tabWidget"> - <property name="currentIndex"> - <number>0</number> + <widget class="QTextEdit" name="noteEditor"> + <property name="verticalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOn</enum> + </property> + <property name="tabChangesFocus"> + <bool>true</bool> + </property> + <property name="acceptRichText"> + <bool>false</bool> + </property> + <property name="textInteractionFlags"> + <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> </property> - <widget class="QWidget" name="tab"> - <attribute name="title"> - <string notr="true">Tab 1</string> - </attribute> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> - <widget class="QTextEdit" name="noteEditor"> - <property name="verticalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOn</enum> - </property> - <property name="acceptRichText"> - <bool>false</bool> - </property> - <property name="textInteractionFlags"> - <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> - </property> - </widget> - </item> - </layout> - </widget> </widget> </item> </layout> </widget> + <tabstops> + <tabstop>noteEditor</tabstop> + </tabstops> <resources/> <connections/> </ui> |