userForm
0
0
852
653
Form
background-color: rgba(255, 255, 255, 0);
10
12
10
10
-
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;
}
0
0
0
0
10
-
15
20
18
30
16
-
黑体
18
75
true
用户管理
-
Qt::Horizontal
40
20
-
21
21
21
21
创建设备模型
:/resource/add.svg:/resource/add.svg
21
21
-
21
21
21
21
删除设备模型
:/resource/remove.svg:/resource/remove.svg
21
21
-
21
21
21
21
编辑设备模型
:/resource/edit.svg:/resource/edit.svg
21
21
-
0
0
16777215
16777215
QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 1px;
}
QTableView {
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
alternate-background-color: #F8F9FA;
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
}
QTableView::item:selected {
background-color: #D9D9D9;
}
QHeaderView::section:horizontal {
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
text-align: center; /* 让表头文本居中显示 */
}
QHeaderView::section:vertical {
border: 0; /* 移除表头的边框 */
}
QScrollBar:vertical {
background: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */
width: 3px; /* 设置滚动条的宽度 */
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,即不显示 */
}
Qt::ScrollBarAlwaysOff
QAbstractItemView::NoEditTriggers
true
QAbstractItemView::NoDragDrop
true
QAbstractItemView::SingleSelection
QAbstractItemView::SelectRows
false
false
true