Simple UserOperationLog table.

This commit is contained in:
Krad
2021-11-23 13:22:00 +08:00
parent b31bcbcf63
commit 6247aae95e
10 changed files with 253 additions and 22 deletions

View File

@@ -25,22 +25,22 @@
SelectFormWidget::SelectFormWidget(QWidget *parent) :
TabFormWidget(parent)
{
const char* style="QHeaderView::section{background-color:#595959;"
" min-height:50px;max-height:50px;"
"font-weight:Bold; font-size:16px; border:1px solid #323232;}"
"QHeaderView::section:horizontal{border-bottom: 1px solid rgb(0,170,255);}"
"QHeaderView::section:vertical{min-height:36px;max-height:36px;}"
"QWidget#edit_patient{min-width:300px;max-width:300px;}"
"QTableView{border:none}"
"QTableView{alternate-background-color: #595959;selection-color:white;selection-background-color:#0078d8}"
"QToolButton#sexBtn{min-width:120px;max-width:120px;font-size:20px;padding:2px;}"
"QToolButton#sexBtn:disabled{color:silver}"
"QWidget#sexpanelwidget{border:1px solid silver;}"
"QWidget#sexpanelwidget:enabled{background-color: #515151;}"
"QToolButton#sexBtn:checked{border:2px solid darkorange;padding:0px;}"
;
this->setStyleSheet(this->styleSheet().append(style));
// const char* style="QHeaderView::section{background-color:#595959;"
// " min-height:50px;max-height:50px;"
// "font-weight:Bold; font-size:16px; border:1px solid #323232;}"
// "QHeaderView::section:horizontal{border-bottom: 1px solid rgb(0,170,255);}"
// "QHeaderView::section:vertical{min-height:36px;max-height:36px;}"
// "QWidget#edit_patient{min-width:300px;max-width:300px;}"
// "QTableView{border:none}"
// "QTableView{alternate-background-color: #595959;selection-color:white;selection-background-color:#0078d8}"
// "QToolButton#sexBtn{min-width:120px;max-width:120px;font-size:20px;padding:2px;}"
// "QToolButton#sexBtn:disabled{color:silver}"
// "QWidget#sexpanelwidget{border:1px solid silver;}"
// "QWidget#sexpanelwidget:enabled{background-color: #515151;}"
// "QToolButton#sexBtn:checked{border:2px solid darkorange;padding:0px;}"
// ;
//
// this->setStyleSheet(this->styleSheet().append(style));
//init command bar
QHBoxLayout* layout =new QHBoxLayout();
ui->commandWidget->setLayout(layout);