feat(omemo): basic UI

This commit is contained in:
vae 2021-05-15 12:28:43 +03:00
parent bb2ce750c8
commit 08fe37bfb2
Signed by: vae
GPG key ID: A9A33351400E00E5
9 changed files with 220 additions and 15 deletions

View 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();
}