insertTaskDlg 0 0 659 502 Dialog 0 2 0 0 请输入关键词查询 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,即不显示 */ } QAbstractItemView::NoEditTriggers false true QAbstractItemView::SelectRows false true false false false Microsoft YaHei color: rgb(255, 0, 0); Qt::Horizontal 40 20 background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); 添加 background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); 取消