mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-15 06:51:04 -04:00
Refactor EditGroupWidget.
This commit is contained in:
parent
1558dd8309
commit
807924c0bc
2 changed files with 49 additions and 58 deletions
|
@ -19,6 +19,7 @@
|
|||
#define KEEPASSX_EDITGROUPWIDGET_H
|
||||
|
||||
#include <QtCore/QScopedPointer>
|
||||
#include <QtGui/QComboBox>
|
||||
|
||||
#include "core/Group.h"
|
||||
#include "gui/EditWidget.h"
|
||||
|
@ -49,6 +50,10 @@ private Q_SLOTS:
|
|||
void cancel();
|
||||
|
||||
private:
|
||||
void addTriStateItems(QComboBox* comboBox);
|
||||
int indexFromTriState(Group::TriState triState);
|
||||
Group::TriState triStateFromIndex(int index);
|
||||
|
||||
const QScopedPointer<Ui::EditGroupWidgetMain> m_mainUi;
|
||||
const QScopedPointer<Ui::EditGroupWidgetAdvanced> m_advancedUi;
|
||||
QWidget* const m_editGroupWidgetMain;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue