mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 11:32:21 +08:00
big button
old-commit-hash: e8587520acac6cd7fd316acb5468cf58fc853d2e
This commit is contained in:
@@ -203,7 +203,14 @@ SettingsWindow::SettingsWindow(QWidget *parent) : QWidget(parent) {
|
||||
panel_layout = new QStackedLayout();
|
||||
|
||||
// close button
|
||||
QPushButton *close_button = new QPushButton("<- back");
|
||||
QPushButton *close_button = new QPushButton("X");
|
||||
close_button->setStyleSheet(R"(
|
||||
QPushButton {
|
||||
padding: 50px;
|
||||
font-weight: bold;
|
||||
font-size: 100px;
|
||||
}
|
||||
)");
|
||||
sidebar_layout->addWidget(close_button);
|
||||
QObject::connect(close_button, SIGNAL(released()), this, SIGNAL(closeSettings()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user