Commit 6d4eb121 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add settings page

parent 7a0a120d
Pipeline #28010 canceled with stage
......@@ -17,6 +17,7 @@
Boston, MA 02110-1301, USA.
*/
#include "folderconfiguresettingspagewidget.h"
#include "folderconfiguresettingswidget.h"
#include "folderconfiguretreewidget.h"
#include <QHBoxLayout>
......@@ -29,6 +30,8 @@ FolderConfigureSettingsWidget::FolderConfigureSettingsWidget(QWidget *parent)
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins(0, 0, 0, 0);
//TODO add label ?
QSplitter *splitter = new QSplitter(this);
splitter->setObjectName(QStringLiteral("splitter"));
splitter->setChildrenCollapsible(false);
......@@ -37,6 +40,12 @@ FolderConfigureSettingsWidget::FolderConfigureSettingsWidget(QWidget *parent)
mFolderConfigureTreeWidget = new FolderConfigureTreeWidget(this);
mFolderConfigureTreeWidget->setObjectName(QStringLiteral("mFolderConfigureTreeWidget"));
splitter->addWidget(mFolderConfigureTreeWidget);
mFolderConfigureSettingsPageWidget = new FolderConfigureSettingsPageWidget(this);
mFolderConfigureSettingsPageWidget->setObjectName(QStringLiteral("mFolderConfigureSettingsPageWidget"));
splitter->addWidget(mFolderConfigureSettingsPageWidget);
}
FolderConfigureSettingsWidget::~FolderConfigureSettingsWidget()
......
......@@ -22,6 +22,7 @@
#include <QWidget>
class FolderConfigureTreeWidget;
class FolderConfigureSettingsPageWidget;
class FolderConfigureSettingsWidget : public QWidget
{
Q_OBJECT
......@@ -31,6 +32,7 @@ public:
void save();
private:
FolderConfigureTreeWidget *mFolderConfigureTreeWidget = nullptr;
FolderConfigureSettingsPageWidget *mFolderConfigureSettingsPageWidget = nullptr;
};
#endif // FOLDERCONFIGURESETTINGSWIDGET_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