Edit owner trust level.

Inplace editing with a combobox if user is allowed. in app config file.
This commit is contained in:
SET
2020-10-25 17:28:47 +01:00
parent ca2105733b
commit e434315940
16 changed files with 304 additions and 28 deletions

View File

@@ -25,11 +25,16 @@
#include "PopupUploader.h"
#include "PopupDeleter.h"
#include "TransientMessageWidget.h"
#include "KeyEdit.h"
#include "global.h"
using namespace Wt;
class KeyEdit;
class K7Main : public WApplication
{
friend class KeyEdit;
public:
K7Main(const WEnvironment& env);
virtual ~K7Main();
@@ -39,9 +44,7 @@ private:
/**
* Translate UID trusts to string
*/
typedef map<int, WString> UidValidityMap;
UidValidityMap UidValidities;
typedef map<int, WString> OwnerTrustMap;
OwnerTrustMap OwnerTrustLevel;
AppConfig * m_config;
WGridLayout * m_grlMain;
@@ -56,6 +59,7 @@ private:
WTreeTable * m_ttbSubKeys;
Uploader * m_uploader;
Deleter * m_deleter;
KeyEdit * m_keyEdit;
/**
* Finds public keys as per criteria,
* and private keys if any is declared in config file for current client.