Commit 7a0a120d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add folderconfiguresettingspagewidget

parent 354473f1
Pipeline #28006 canceled with stage
......@@ -4,6 +4,7 @@ set(messageviewer_folderconfiguresettingsplugin_SRCS
folderconfiguresettingswidget.cpp
foldersettingfilterproxymodel.cpp
folderconfiguretreewidget.cpp
folderconfiguresettingspagewidget.cpp
)
kcoreaddons_add_plugin(messageviewer_folderconfiguresettingsplugin JSON messageviewer_folderconfiguresettingsplugin.json SOURCES
......
/*
Copyright (C) 2020 Laurent Montel <montel@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "folderconfiguresettingspagewidget.h"
FolderConfigureSettingsPageWidget::FolderConfigureSettingsPageWidget(QWidget *parent)
: QWidget(parent)
{
}
FolderConfigureSettingsPageWidget::~FolderConfigureSettingsPageWidget()
{
}
/*
Copyright (C) 2020 Laurent Montel <montel@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef FOLDERCONFIGURESETTINGSPAGEWIDGET_H
#define FOLDERCONFIGURESETTINGSPAGEWIDGET_H
#include <QWidget>
class FolderConfigureSettingsPageWidget : public QWidget
{
Q_OBJECT
public:
explicit FolderConfigureSettingsPageWidget(QWidget *parent = nullptr);
~FolderConfigureSettingsPageWidget();
};
#endif // FOLDERCONFIGURESETTINGSPAGEWIDGET_H
......@@ -20,6 +20,7 @@
#include "folderconfiguresettingswidget.h"
#include "folderconfiguretreewidget.h"
#include <QHBoxLayout>
#include <QSplitter>
FolderConfigureSettingsWidget::FolderConfigureSettingsWidget(QWidget *parent)
: QWidget(parent)
......@@ -28,9 +29,14 @@ FolderConfigureSettingsWidget::FolderConfigureSettingsWidget(QWidget *parent)
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins(0, 0, 0, 0);
QSplitter *splitter = new QSplitter(this);
splitter->setObjectName(QStringLiteral("splitter"));
splitter->setChildrenCollapsible(false);
mainLayout->addWidget(splitter);
mFolderConfigureTreeWidget = new FolderConfigureTreeWidget(this);
mFolderConfigureTreeWidget->setObjectName(QStringLiteral("mFolderConfigureTreeWidget"));
mainLayout->addWidget(mFolderConfigureTreeWidget);
splitter->addWidget(mFolderConfigureTreeWidget);
}
FolderConfigureSettingsWidget::~FolderConfigureSettingsWidget()
......
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