Use Qss instead of some image path in code.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user