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" #include "keys/PasswordKey.h"
ChangeMasterKeyWidget::ChangeMasterKeyWidget(QWidget* parent) ChangeMasterKeyWidget::ChangeMasterKeyWidget(QWidget* parent)
: QWidget(parent) : DialogyWidget(parent)
, m_ui(new Ui::ChangeMasterKeyWidget()) , m_ui(new Ui::ChangeMasterKeyWidget())
{ {
m_ui->setupUi(this); m_ui->setupUi(this);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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