diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-12 08:30:40 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-22 07:32:56 -0400 |
| commit | bc9f286bce224743d244e540d55f26b55affbd4a (patch) | |
| tree | 06d957f1d19e314dcb10d82e69d78dc8e1930550 /src/mainwindow.ui | |
| parent | 1f1b838c2b3fd3148d2c2a1a8fe6fcf9fb07383f (diff) | |
moved the log to a dock widget
added a menu item in the view menu for it
Diffstat (limited to 'src/mainwindow.ui')
| -rw-r--r-- | src/mainwindow.ui | 69 |
1 files changed, 52 insertions, 17 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 70d1cf39..d83c68ca 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -1286,23 +1286,6 @@ p, li { white-space: pre-wrap; } </item> </layout> </widget> - <widget class="QTreeView" name="logList"> - <property name="contextMenuPolicy"> - <enum>Qt::ActionsContextMenu</enum> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::NoSelection</enum> - </property> - <property name="uniformRowHeights"> - <bool>true</bool> - </property> - <property name="itemsExpandable"> - <bool>false</bool> - </property> - <property name="headerHidden"> - <bool>true</bool> - </property> - </widget> </widget> </item> </layout> @@ -1403,6 +1386,7 @@ p, li { white-space: pre-wrap; } <addaction name="actionToolBarIconsAndText"/> </widget> <addaction name="menuToolbars"/> + <addaction name="actionViewLog"/> <addaction name="separator"/> <addaction name="actionNotifications"/> </widget> @@ -1417,6 +1401,49 @@ p, li { white-space: pre-wrap; } <addaction name="menuRun"/> <addaction name="menuHelp"/> </widget> + <widget class="QDockWidget" name="logDock"> + <property name="windowTitle"> + <string>Log</string> + </property> + <attribute name="dockWidgetArea"> + <number>8</number> + </attribute> + <widget class="QWidget" name="dockWidgetContents"> + <layout class="QVBoxLayout" name="verticalLayout_6"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QTreeView" name="logList"> + <property name="contextMenuPolicy"> + <enum>Qt::ActionsContextMenu</enum> + </property> + <property name="selectionMode"> + <enum>QAbstractItemView::NoSelection</enum> + </property> + <property name="uniformRowHeights"> + <bool>true</bool> + </property> + <property name="itemsExpandable"> + <bool>false</bool> + </property> + <property name="headerHidden"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </widget> <action name="actionInstallMod"> <property name="icon"> <iconset resource="resources.qrc"> @@ -1736,6 +1763,14 @@ p, li { white-space: pre-wrap; } <string>Status &bar</string> </property> </action> + <action name="actionViewLog"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Log</string> + </property> + </action> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> |
