-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathPager.hxx
More file actions
37 lines (27 loc) · 612 Bytes
/
Pager.hxx
File metadata and controls
37 lines (27 loc) · 612 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
This file is part of liquidshell.
SPDX-FileCopyrightText: 2017 - 2024 Martin Koller <martin@kollix.at>
SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef _Pager_H_
#define _Pager_H_
#include <QWidget>
class QButtonGroup;
class PagerButton;
class DesktopPanel;
class Pager : public QWidget
{
Q_OBJECT
public:
Pager(DesktopPanel *parent);
protected:
void wheelEvent(QWheelEvent *event) override;
private Q_SLOTS:
void fill();
void changeDesktop(bool checked);
private:
QButtonGroup *group;
QVector<PagerButton *> buttons;
bool showIcons = true;
};
#endif