mainwindow.cpp
27 lines
| 680 B
| text/x-c
|
CppLexer
Jeandet Alexis
|
r0 | #include "mainwindow.h" | ||
#include "ui_mainwindow.h" | ||||
MainWindow::MainWindow(QWidget *parent) : | ||||
QMainWindow(parent), | ||||
ui(new Ui::MainWindow) | ||||
{ | ||||
ui->setupUi(this); | ||||
Jeandet Alexis
|
r1 | qApp->setStyleSheet( | ||
"QGroupBox {\ | ||||
border: 1px solid gray;\ | ||||
border-radius: 9px;\ | ||||
margin-top: 0.5em;\ | ||||
}\ | ||||
\ | ||||
QGroupBox::title {\ | ||||
subcontrol-origin: margin;\ | ||||
left: 10px;\ | ||||
padding: 0 3px 0 3px;\ | ||||
}\ | ||||
"); | ||||
Jeandet Alexis
|
r0 | } | ||
MainWindow::~MainWindow() | ||||
{ | ||||
delete ui; | ||||
} | ||||