509d777500
* Timestamp at millisec resolution * Log level selection - Info by default * Auto scroll control - enable(default)/disable * Support copy (selected) logs to clipboard * Support clear logs * Annotate dock window title, if not on top (aka visible)
138 lines
3.6 KiB
XML
138 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>LogsWindow</class>
|
|
<widget class="QWidget" name="LogsWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>693</width>
|
|
<height>300</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QFrame" name="frame">
|
|
<property name="frameShape">
|
|
<enum>QFrame::Panel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Level</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>level</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="level">
|
|
<property name="toolTip">
|
|
<string>Log Level</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string>Select the desired logging level</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Info</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Warning</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Error</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="autoScroll">
|
|
<property name="text">
|
|
<string>Auto Scroll</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>429</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="clear">
|
|
<property name="toolTip">
|
|
<string>Clear Logs</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string>Clear Logs</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Clear</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="ostinato.qrc">
|
|
<normaloff>:/icons/portstats_clear_all.png</normaloff>:/icons/portstats_clear_all.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="XTableView" name="logs">
|
|
<property name="whatsThis">
|
|
<string>Ostinato application logs are displayed here</string>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>XTableView</class>
|
|
<extends>QTableView</extends>
|
|
<header>xtableview.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>level</tabstop>
|
|
<tabstop>autoScroll</tabstop>
|
|
<tabstop>clear</tabstop>
|
|
<tabstop>logs</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="ostinato.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|