Commit 77aabea0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add ListWidget

parent 3f2f1e7b
......@@ -5,13 +5,17 @@
*/
#include "configurefilterswidget.h"
#include <QListWidget>
#include <QVBoxLayout>
using namespace MessageList::Core;
ConfigureFiltersWidget::ConfigureFiltersWidget(QWidget *parent)
: QWidget(parent)
, mListFiltersWidget(new QListWidget(this))
{
auto mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mListFiltersWidget->setObjectName(QStringLiteral("mListFiltersWidget"));
mainLayout->addWidget(mListFiltersWidget);
}
ConfigureFiltersWidget::~ConfigureFiltersWidget()
......
......@@ -8,6 +8,7 @@
#include "messagelist_private_export.h"
#include <QWidget>
class QListWidget;
namespace MessageList
{
namespace Core
......@@ -18,6 +19,9 @@ class MESSAGELIST_TESTS_EXPORT ConfigureFiltersWidget : public QWidget
public:
explicit ConfigureFiltersWidget(QWidget *parent = nullptr);
~ConfigureFiltersWidget() override;
private:
QListWidget *const mListFiltersWidget;
};
}
......
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