TG-PlatformPlus/ui/logForm.ui

343 lines
9.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>logForm</class>
<widget class="QWidget" name="logForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>560</width>
<height>819</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QWidget" name="lgWidget" native="true">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 9px;
}
QWidget QPushButton {
subcontrol-origin: content; /* 设置子部件的原点为content */
border-radius: 2px;
}
QWidget QPushButton:hover {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 鼠标悬停时的背景颜色为红色 */
border-radius: 2px; /* 鼠标悬停时的边框为红色实线 */
}
QWidget QPushButton:pressed {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 按钮按下时的背景颜色为红色 */
border-radius: 2px; /* 按钮按下时的边框为红色实线 */
}
QToolTip {
background-color: #FFFFE0;
color: black;
border: 1px solid black;
padding: 5px;
border-radius: 3px;
opacity: 200;
}
QComboBox {
color: #000000
}
QComboBox::drop-down {
border: none
}
QComboBox::down-arrow {
image: url(:/resource/dropdown.svg);
width: 18px;
height: 18px;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<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>10</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<property name="spacing">
<number>15</number>
</property>
<property name="leftMargin">
<number>20</number>
</property>
<property name="topMargin">
<number>18</number>
</property>
<property name="rightMargin">
<number>20</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="label_7">
<property name="font">
<font>
<family>黑体</family>
<pointsize>18</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>日志</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_13">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pbOpen">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>打开目录</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/dir.svg</normaloff>:/resource/dir.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbClear">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>清空日志</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/clear.svg</normaloff>:/resource/clear.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbLock">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/lock.svg</normaloff>:/resource/lock.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cbLevel">
<property name="styleSheet">
<string notr="true">color: rgb(0, 0, 0);</string>
</property>
<item>
<property name="text">
<string>DEBUG</string>
</property>
</item>
<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="QComboBox" name="cbTag">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(0, 0, 0);</string>
</property>
<item>
<property name="text">
<string>ALL</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="styleSheet">
<string notr="true">QScrollBar:vertical {
background: transparent; /* 滚动条背景透明[1,2](@ref) */
width: 8px; /* 默认宽度 */
border: none; /* 去除边框[2](@ref) */
margin: 0px 0px 0px 0px; /* 边距清零 */
}
/* 水平滚动条 */
QScrollBar:horizontal {
background: transparent;
height: 8px;
border: none;
margin: 0px 0px 0px 0px;
}
/* 滑块通用样式 */
QScrollBar::handle:vertical,
QScrollBar::handle:horizontal {
background: #DDDDDD; /* 浅灰色滑块[1](@ref) */
border-radius: 4px; /* 圆角效果[2](@ref) */
min-height: 20px; /* 最小高度 */
min-width: 20px; /* 最小宽度 */
margin: 2px; /* 边距留白 */
}
/* 悬停时滑块样式 */
QScrollBar::handle:vertical:hover,
QScrollBar::handle:horizontal:hover {
background: #AAAAAA; /* 加深颜色[1](@ref) */
}
/* 隐藏上下箭头 */
QScrollBar::sub-line,
QScrollBar::add-line {
width: 0; /* 通过宽度清零隐藏箭头[1](@ref) */
height: 0;
border: none;
}
/* 滚动条背景区域样式 */
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal {
background: rgba(0,0,0,0); /* 完全透明背景[3](@ref) */
}</string>
</property>
<property name="maximumBlockCount">
<number>10</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="res.qrc"/>
</resources>
<connections/>
</ui>