Commit 4df70b9f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start to implement filter menu

parent 8eaa0f5e
Pipeline #60589 passed with stage
in 39 minutes and 47 seconds
......@@ -32,6 +32,7 @@ set(libmessagelist_SRCS
core/widgets/searchlinestatus.cpp
core/widgets/searchcollectionindexingwarning.cpp
core/widgets/tablockedwarning.cpp
core/widgets/filtersavedmenu.cpp
utils/aggregationcombobox.cpp
......
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "filtersavedmenu.h"
using namespace MessageList::Core;
FilterSavedMenu::FilterSavedMenu(QWidget *parent)
: QMenu(parent)
{
connect(this, &FilterSavedMenu::aboutToShow, this, &FilterSavedMenu::slotShowMenu);
}
FilterSavedMenu::~FilterSavedMenu()
{
}
void FilterSavedMenu::slotShowMenu()
{
// TODO
}
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QMenu>
#include <QObject>
namespace MessageList
{
namespace Core
{
class FilterSavedMenu : public QMenu
{
Q_OBJECT
public:
explicit FilterSavedMenu(QWidget *parent = nullptr);
~FilterSavedMenu() override;
private:
void slotShowMenu();
};
}
}
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