Commit 587ff95d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Continue to implement create dialog

parent 792ab142
Pipeline #123480 passed with stage
in 13 minutes and 57 seconds
......@@ -5,14 +5,23 @@
*/
#include "openurlwithconfigurecreatewidget.h"
#include <KLocalizedString>
#include <QLabel>
#include <QLineEdit>
#include <QVBoxLayout>
OpenUrlWithConfigureCreateWidget::OpenUrlWithConfigureCreateWidget(QWidget *parent)
: QWidget{parent}
, mServerName(new QLineEdit(this))
{
auto mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainlayout"));
mainLayout->setContentsMargins(QMargins());
auto label = new QLabel(i18n("Server Name:"), this);
mainLayout->addWidget(label);
mServerName->setObjectName(QStringLiteral("mServerName"));
mainLayout->addWidget(mServerName);
}
OpenUrlWithConfigureCreateWidget::~OpenUrlWithConfigureCreateWidget()
......
......@@ -7,11 +7,14 @@
#include "openurlwith_private_export.h"
#include <QWidget>
class QLineEdit;
class LIBOPENURLWITHCONFIGURE_TESTS_EXPORT OpenUrlWithConfigureCreateWidget : public QWidget
{
Q_OBJECT
public:
explicit OpenUrlWithConfigureCreateWidget(QWidget *parent = nullptr);
~OpenUrlWithConfigureCreateWidget() override;
private:
QLineEdit *const mServerName;
};
Supports Markdown
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