Commit 7d0faabf authored by Laurent Montel's avatar Laurent Montel
Browse files

Continue to implement configure dialog

parent fe8f11e0
Pipeline #221447 passed with stage
in 18 minutes and 18 seconds
......@@ -12,10 +12,21 @@
TranslatorConfigureWidget::TranslatorConfigureWidget(QWidget *parent)
: QWidget{parent}
, mEngine(new QComboBox(this))
{
auto mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins({});
mEngine->setObjectName(QStringLiteral("mEngine"));
auto hboxLayout = new QHBoxLayout;
hboxLayout->setContentsMargins({});
mainLayout->addLayout(hboxLayout);
auto label = new QLabel(i18n("Engine:"), this);
label->setObjectName(QStringLiteral("label"));
hboxLayout->addWidget(label);
hboxLayout->addWidget(mEngine);
}
TranslatorConfigureWidget::~TranslatorConfigureWidget()
......
......@@ -7,11 +7,14 @@
#pragma once
#include <QWidget>
class QComboBox;
class TranslatorConfigureWidget : public QWidget
{
Q_OBJECT
public:
explicit TranslatorConfigureWidget(QWidget *parent = nullptr);
~TranslatorConfigureWidget() override;
private:
QComboBox *const mEngine;
};
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