mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-27 18:03:52 +08:00
@@ -203,7 +203,7 @@ DevicePanel::DevicePanel(QWidget* parent) : QWidget(parent) {
|
||||
)");
|
||||
}
|
||||
|
||||
SoftwarePanel::SoftwarePanel(QWidget* parent) : QFrame(parent) {
|
||||
SoftwarePanel::SoftwarePanel(QWidget* parent) : QWidget(parent) {
|
||||
QVBoxLayout *main_layout = new QVBoxLayout(this);
|
||||
setLayout(main_layout);
|
||||
setStyleSheet(R"(QLabel {font-size: 50px;})");
|
||||
|
||||
@@ -30,7 +30,7 @@ public:
|
||||
explicit TogglesPanel(QWidget *parent = nullptr);
|
||||
};
|
||||
|
||||
class SoftwarePanel : public QFrame {
|
||||
class SoftwarePanel : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SoftwarePanel(QWidget* parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user