Commit 2588f225 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add QTabWidget

parent baed7a02
Pipeline #28033 passed with stage
in 85 minutes and 37 seconds
...@@ -18,11 +18,20 @@ ...@@ -18,11 +18,20 @@
*/ */
#include "folderconfiguresettingspagewidget.h" #include "folderconfiguresettingspagewidget.h"
#include <QTabWidget>
#include <QVBoxLayout>
FolderConfigureSettingsPageWidget::FolderConfigureSettingsPageWidget(QWidget *parent) FolderConfigureSettingsPageWidget::FolderConfigureSettingsPageWidget(QWidget *parent)
: QWidget(parent) : QWidget(parent)
{ {
//Add tabWidget here. QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins(0, 0, 0, 0);
QTabWidget *tab = new QTabWidget(this);
tab->setObjectName(QStringLiteral("tab"));
mainLayout->addWidget(tab);
//configure expire folder //configure expire folder
//Preference mail //Preference mail
//General //General
...@@ -32,3 +41,8 @@ FolderConfigureSettingsPageWidget::~FolderConfigureSettingsPageWidget() ...@@ -32,3 +41,8 @@ FolderConfigureSettingsPageWidget::~FolderConfigureSettingsPageWidget()
{ {
} }
void FolderConfigureSettingsPageWidget::save()
{
}
...@@ -29,6 +29,7 @@ public: ...@@ -29,6 +29,7 @@ public:
explicit FolderConfigureSettingsPageWidget(QWidget *parent = nullptr); explicit FolderConfigureSettingsPageWidget(QWidget *parent = nullptr);
~FolderConfigureSettingsPageWidget(); ~FolderConfigureSettingsPageWidget();
void save();
}; };
#endif // FOLDERCONFIGURESETTINGSPAGEWIDGET_H #endif // FOLDERCONFIGURESETTINGSPAGEWIDGET_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