forked from blue/squawk
feat(omemo): basic UI
This commit is contained in:
parent
bb2ce750c8
commit
08fe37bfb2
9 changed files with 220 additions and 15 deletions
23
ui/omemo/contactsettings.cpp
Normal file
23
ui/omemo/contactsettings.cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* 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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue