198 lines
6.0 KiB
XML
198 lines
6.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>insertTaskDlg</class>
|
||
<widget class="QDialog" name="insertTaskDlg">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>659</width>
|
||
<height>502</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>Dialog</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
<item>
|
||
<widget class="QWidget" name="widget" native="true">
|
||
<layout class="QVBoxLayout" name="verticalLayout">
|
||
<property name="leftMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QLineEdit" name="leSearchTask">
|
||
<property name="placeholderText">
|
||
<string>请输入关键词查询</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QTableView" name="tableViewTask">
|
||
<property name="styleSheet">
|
||
<string notr="true">QWidget {
|
||
background-color: #ffffff; /* 子部件的样式 */
|
||
border-radius: 0px;
|
||
}
|
||
QTableView {
|
||
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
|
||
alternate-background-color: #F8F9FA;
|
||
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
|
||
}
|
||
QTableView::item:selected {
|
||
background-color: #D9D9D9;
|
||
|
||
}
|
||
QTableView QTableCornerButton::section { /*左上角的button样式*/
|
||
background-color: #F7F7F7; /*背景颜色与表头一致*/
|
||
border: 0px;
|
||
border-radius:0px;
|
||
}
|
||
|
||
QHeaderView::section:horizontal {
|
||
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
|
||
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
|
||
border: 0; /* 移除表头的边框 */
|
||
padding: 4px; /* 设置表头的内边距 */
|
||
}
|
||
QHeaderView::section:vertical {
|
||
background-color: #FFFFFF; /* 设置表头的背景颜色为浅灰色 */
|
||
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
|
||
border: 0; /* 移除表头的边框 */
|
||
padding: 4px; /* 设置表头的内边距 */
|
||
}
|
||
QScrollBar:vertical {
|
||
background: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */
|
||
width: 5px; /* 设置滚动条的宽度 */
|
||
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
||
}
|
||
|
||
QScrollBar::handle:vertical {
|
||
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
||
min-height: 34px; /* 设置滚动条拖动手柄的最小高度 */
|
||
}
|
||
|
||
QScrollBar::add-line:vertical {
|
||
height: 0px; /* 设置垂直滚动条向下箭头的高度为0,即不显示 */
|
||
}
|
||
|
||
QScrollBar::sub-line:vertical {
|
||
height: 0px; /* 设置垂直滚动条向上箭头的高度为0,即不显示 */
|
||
}
|
||
QScrollBar:horizontal {
|
||
background: #BFBFBF; /* 设置横向滚动条的背景颜色为浅灰色 */
|
||
height: 5px; /* 设置滚动条的高度 */
|
||
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
||
}
|
||
QScrollBar::handle:horizontal {
|
||
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
||
min-width: 34px; /* 设置滚动条拖动手柄的最小宽度 */
|
||
}
|
||
QScrollBar::add-line:horizontal {
|
||
width: 0px; /* 设置横向滚动条向右箭头的宽度为0,即不显示 */
|
||
}
|
||
QScrollBar::sub-line:horizontal {
|
||
width: 0px; /* 设置横向滚动条向左箭头的宽度为0,即不显示 */
|
||
}</string>
|
||
</property>
|
||
<property name="editTriggers">
|
||
<set>QAbstractItemView::NoEditTriggers</set>
|
||
</property>
|
||
<property name="dragDropOverwriteMode">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="alternatingRowColors">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="selectionBehavior">
|
||
<enum>QAbstractItemView::SelectRows</enum>
|
||
</property>
|
||
<property name="showGrid">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="sortingEnabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<attribute name="verticalHeaderVisible">
|
||
<bool>false</bool>
|
||
</attribute>
|
||
<attribute name="verticalHeaderHighlightSections">
|
||
<bool>false</bool>
|
||
</attribute>
|
||
<attribute name="verticalHeaderShowSortIndicator" stdset="0">
|
||
<bool>false</bool>
|
||
</attribute>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
<item>
|
||
<widget class="QLabel" name="label">
|
||
<property name="font">
|
||
<font>
|
||
<family>Microsoft YaHei</family>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(255, 0, 0);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer">
|
||
<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="pbSave">
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(255, 255, 255);
|
||
color: rgb(0, 0, 0);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>添加</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pbCancel">
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(255, 255, 255);
|
||
color: rgb(0, 0, 0);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>取消</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|