Commit 2dd01239 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to create rule

parent a321107b
Pipeline #68253 passed with stage
in 54 minutes and 19 seconds
......@@ -6,6 +6,7 @@
#include "confirmbeforedeletingcreaterulewidget.h"
#include <KLocalizedString>
#include <QComboBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
......@@ -13,10 +14,14 @@
ConfirmBeforeDeletingCreateRuleWidget::ConfirmBeforeDeletingCreateRuleWidget(QWidget *parent)
: QWidget(parent)
, mPatternLineEdit(new QLineEdit(this))
, mRuleTypeComboBox(new QComboBox(this))
{
auto mainLayout = new QHBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mRuleTypeComboBox->setObjectName(QStringLiteral("mRuleTypeComboBox"));
mainLayout->addWidget(mRuleTypeComboBox);
auto label = new QLabel(i18n("Pattern"), this);
label->setObjectName(QStringLiteral("label"));
mainLayout->addWidget(label);
......
......@@ -10,6 +10,7 @@
#include "confirmbeforedeleting_private_export.h"
class QLineEdit;
class QComboBox;
class KMAILCONFIRMBEFOREDELETING_TESTS_EXPORT ConfirmBeforeDeletingCreateRuleWidget : public QWidget
{
Q_OBJECT
......@@ -23,4 +24,5 @@ public:
private:
QLineEdit *const mPatternLineEdit;
QComboBox *const mRuleTypeComboBox;
};
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