24 lines
567 B
C++
24 lines
567 B
C++
|
/*
|
||
|
* Created by victoria on 2021-05-15.
|
||
|
*/
|
||
|
|
||
|
#include "contactsettings.h"
|
||
|
#include "ui_contactsettings.h"
|
||
|
#include "omemodevices.h"
|
||
|
|
||
|
ContactSettings::ContactSettings(QWidget *parent)
|
||
|
: QDialog(parent), m_ui(new Ui::ContactSettings()) {
|
||
|
m_ui->setupUi(this);
|
||
|
|
||
|
connect(m_ui->devicesButton, &QPushButton::clicked, this, &ContactSettings::openDeviceList);
|
||
|
}
|
||
|
|
||
|
ContactSettings::~ContactSettings() {}
|
||
|
|
||
|
void ContactSettings::openDeviceList() {
|
||
|
auto devices = new OMEMODevices(this);
|
||
|
|
||
|
devices->setAttribute(Qt::WA_DeleteOnClose);
|
||
|
devices->show();
|
||
|
}
|