blob: 5409a9c215bc82070dba1a2fe228b7ba9ac894dc (
plain)
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
38
39
40
41
42
43
|
//===========================================
// Lumina Desktop Source Code
// Copyright (c) 2016, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_CONFIG_PAGE_MOUSE_H
#define _LUMINA_CONFIG_PAGE_MOUSE_H
#include "../globals.h"
#include "PageWidget.h"
#include <LInputDevice.h>
#include <QTreeWidgetItem>
namespace Ui{
class page_mouse;
};
class page_mouse : public PageWidget{
Q_OBJECT
public:
page_mouse(QWidget *parent);
~page_mouse();
public slots:
void SaveSettings();
void LoadSettings(int screennum);
void updateIcons();
private:
Ui::page_mouse *ui;
QList<LInputDevice*> devices;
void generateUI();
void populateDeviceTree(QTreeWidget *tree, LInputDevice *device);
void populateDeviceItemValue(QTreeWidget *tree, QTreeWidgetItem *it, QVariant value, QString id);
private slots:
void valueChanged();
void itemClicked(QTreeWidgetItem*, int);
};
#endif
|