aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/pages/page_mouse_trueos.h
blob: 998b212bae7cbb85176ab9efc6bf56896a0bca11 (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
44
45
46
47
48
49
50
51
52
53
//===========================================
//  Lumina Desktop Source Code
//  Copyright (c) 2016, Ken Moore  & JT Pennington
//  Available under the 3-clause BSD license
//  See the LICENSE file for full details 
//===========================================
#ifndef _LUMINA_CONFIG_PAGE_MOUSE_TRUEOS_H
#define _LUMINA_CONFIG_PAGE_MOUSE_TRUEOS_H
#include "../globals.h"
#include "PageWidget.h"

#include <LInputDevice.h>
#include <QTreeWidgetItem>

namespace Ui{
    class page_mouse_trueos;
};

class page_mouse_trueos : public PageWidget{
	Q_OBJECT
public:
    page_mouse_trueos(QWidget *parent);
    ~page_mouse_trueos();
    const double divisor = 100;
    double realAccelValue;
    QString realAccelValueString;
    double realDoubleClickValue;
    QString realDoubleClickValueString;
    QString resolutionValue;
    QString handString;
    QString resString;
    QString dclickString;
    QString driftString;
    QString accelString;
    QString program;
    QStringList mousedargs;
    QString deviceString;

public slots:
	void SaveSettings();
	void LoadSettings(int screennum);
//	void updateIcons();
    void swapHandedness();
    void setMouseResolution();
    void setMouseAcceleration();
    void setDoubleClickThreshold();
    void terminateDrift();
    void updateMoused();

private:
    Ui::page_mouse_trueos *ui;
};
#endif
bgstack15