Edit widgets inherit from DialogyWidget.

Closes #17
This commit is contained in:
Florian Geyer 2012-04-24 13:23:09 +02:00 committed by Felix Geyer
parent 279793365a
commit f7bdeefbe3
8 changed files with 15 additions and 12 deletions

View File

@ -24,7 +24,7 @@
#include "keys/PasswordKey.h"
ChangeMasterKeyWidget::ChangeMasterKeyWidget(QWidget* parent)
: QWidget(parent)
: DialogyWidget(parent)
, m_ui(new Ui::ChangeMasterKeyWidget())
{
m_ui->setupUi(this);

View File

@ -19,8 +19,8 @@
#define KEEPASSX_CHANGEMASTERKEYWIDGET_H
#include <QtCore/QScopedPointer>
#include <QtGui/QWidget>
#include "gui/DialogyWidget.h"
#include "keys/CompositeKey.h"
class QLabel;
@ -28,7 +28,7 @@ namespace Ui {
class ChangeMasterKeyWidget;
}
class ChangeMasterKeyWidget : public QWidget
class ChangeMasterKeyWidget : public DialogyWidget
{
Q_OBJECT

View File

@ -20,7 +20,7 @@
DatabaseSettingsWidget::DatabaseSettingsWidget(QWidget* parent)
: QWidget(parent)
: DialogyWidget(parent)
, m_ui(new Ui::DatabaseSettingsWidget())
{
m_ui->setupUi(this);

View File

@ -19,7 +19,8 @@
#define KEEPASSX_DATABASESETTINGSWIDGET_H
#include <QtCore/QScopedPointer>
#include <QtGui/QWidget>
#include "gui/DialogyWidget.h"
class QAbstractButton;
@ -27,7 +28,7 @@ namespace Ui {
class DatabaseSettingsWidget;
}
class DatabaseSettingsWidget : public QWidget
class DatabaseSettingsWidget : public DialogyWidget
{
Q_OBJECT

View File

@ -31,7 +31,7 @@
#include "gui/EntryAttributesModel.h"
EditEntryWidget::EditEntryWidget(QWidget* parent)
: QWidget(parent)
: DialogyWidget(parent)
, m_entry(0)
, m_ui(new Ui::EditEntryWidget())
, m_mainUi(new Ui::EditEntryWidgetMain())

View File

@ -19,7 +19,8 @@
#define KEEPASSX_EDITENTRYWIDGET_H
#include <QtCore/QScopedPointer>
#include <QtGui/QWidget>
#include "gui/DialogyWidget.h"
class Entry;
class EntryAttachments;
@ -36,7 +37,7 @@ namespace Ui {
class EditEntryWidgetNotes;
}
class EditEntryWidget : public QWidget
class EditEntryWidget : public DialogyWidget
{
Q_OBJECT

View File

@ -19,7 +19,7 @@
#include "ui_EditGroupWidget.h"
EditGroupWidget::EditGroupWidget(QWidget* parent)
: QWidget(parent)
: DialogyWidget(parent)
, m_ui(new Ui::EditGroupWidget())
, m_group(0)
{

View File

@ -19,7 +19,8 @@
#define KEEPASSX_EDITGROUPWIDGET_H
#include <QtCore/QScopedPointer>
#include <QtGui/QWidget>
#include "gui/DialogyWidget.h"
#include "core/Group.h"
@ -27,7 +28,7 @@ namespace Ui {
class EditGroupWidget;
}
class EditGroupWidget : public QWidget
class EditGroupWidget : public DialogyWidget
{
Q_OBJECT