forked from blue/squawk
context menu to trust or distrust keys
This commit is contained in:
parent
b72a837754
commit
73d83f55af
5 changed files with 144 additions and 18 deletions
|
@ -17,11 +17,13 @@
|
|||
#ifndef VCARD_OMEMO_H
|
||||
#define VCARD_OMEMO_H
|
||||
|
||||
#include <qwidget.h>
|
||||
#include <QWidget>
|
||||
#include <QScopedPointer>
|
||||
#include <QMenu>
|
||||
|
||||
#include "keysmodel.h"
|
||||
#include "keydelegate.h"
|
||||
#include "shared/icons.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
|
@ -34,6 +36,9 @@ public:
|
|||
Omemo(QWidget* parent = nullptr);
|
||||
~Omemo();
|
||||
|
||||
private slots:
|
||||
void onActiveKeysContextMenu(const QPoint& pos);
|
||||
|
||||
private:
|
||||
void generateMockData();
|
||||
|
||||
|
@ -43,6 +48,7 @@ private:
|
|||
UI::KeyDelegate unusedKeysDelegate;
|
||||
UI::KeysModel keysModel;
|
||||
UI::KeysModel unusedKeysModel;
|
||||
QMenu* contextMenu;
|
||||
};
|
||||
|
||||
#endif // VCARD_OMEMO_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue