SqpSettingsDialog.cpp
17 lines
| 496 B
| text/x-c
|
CppLexer
Alexandre Leroux
|
r463 | #include "Settings/SqpSettingsDialog.h" | ||
#include "ui_SqpSettingsDialog.h" | ||||
SqpSettingsDialog::SqpSettingsDialog(QWidget *parent) | ||||
: QDialog{parent}, ui{new Ui::SqpSettingsDialog} | ||||
{ | ||||
ui->setupUi(this); | ||||
// Connection to change the current page to the selection of an entry in the list | ||||
connect(ui->listWidget, &QListWidget::currentRowChanged, ui->stackedWidget, | ||||
&QStackedWidget::setCurrentIndex); | ||||
} | ||||
SqpSettingsDialog::~SqpSettingsDialog() noexcept | ||||
{ | ||||
delete ui; | ||||
} | ||||