Commit 4d82decf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

continue to implement manage group

parent 86aac3db
Pipeline #44848 canceled with stage
......@@ -19,11 +19,22 @@
*/
#include "groupmanagementdialog.h"
#include "groupmanagementwidget.h"
#include <QVBoxLayout>
#include <QDialogButtonBox>
GroupManagementDialog::GroupManagementDialog(QWidget *parent)
: QDialog(parent)
, mGroupManagementWidget(new GroupManagementWidget(this))
{
mGroupManagementWidget->setObjectName(QStringLiteral("mGroupManagementWidget"));
auto mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
buttonBox->setObjectName(QStringLiteral("buttonBox"));
connect(buttonBox, &QDialogButtonBox::accepted, this, &GroupManagementDialog::accept);
connect(buttonBox, &QDialogButtonBox::rejected, this, &GroupManagementDialog::reject);
}
GroupManagementDialog::~GroupManagementDialog()
......
......@@ -24,12 +24,15 @@
#include <QDialog>
#include "libkdebugsettings_private_export.h"
class GroupManagementWidget;
class LIBKDEBUGSETTINGS_EXPORT_TEST_EXPORT GroupManagementDialog : public QDialog
{
Q_OBJECT
public:
explicit GroupManagementDialog(QWidget *parent = nullptr);
~GroupManagementDialog() override;
private:
GroupManagementWidget *const mGroupManagementWidget;
};
#endif // GROUPMANAGEMENTDIALOG_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment