Use Qss instead of some image path in code.

This commit is contained in:
Krad
2022-07-14 09:57:05 +08:00
parent 90e41ff7d1
commit 055cb7c7ae
12 changed files with 210 additions and 208 deletions

View File

@@ -191,9 +191,6 @@ void SelectFormWidget::initDetailPanel(QHBoxLayout *contentLayout) {// prepare e
contentLayout->addWidget(mEditPatForm);
auto* btnShowEdit = new VerticalTextToolButton(this);
btnShowEdit->setObjectName("showeditBtn");
btnShowEdit->setIcon(QIcon(":/icons/edit.png"));
btnShowEdit->setIconSize(QSize(30, 30));
btnShowEdit->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
btnShowEdit->setFixedHeight(225);
btnShowEdit->setVerticalText("Patient Detail");
contentLayout->addWidget(btnShowEdit);