ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
kblightwidget.h
Go to the documentation of this file.
1
#ifndef KBLIGHTWIDGET_H
2
#define KBLIGHTWIDGET_H
3
4
#include <QWidget>
5
#include <QColor>
6
#include <QFile>
7
#include <QResizeEvent>
8
#include "
kblight.h
"
9
#include "
keywidget.h
"
10
11
namespace
Ui {
12
class
KbLightWidget
;
13
}
14
15
class
KbLightWidget
:
public
QWidget
16
{
17
Q_OBJECT
18
19
public
:
20
explicit
KbLightWidget
(
QWidget
*parent = 0);
21
~KbLightWidget
();
22
23
void
setLight
(
KbLight
* newLight);
24
void
setMonochrome
();
25
26
private
slots:
27
void
updateLight
();
28
void
newSelection
(QStringList selection);
29
void
changeColor
(QColor newColor);
30
void
changeAnim
(
KbAnim
* newAnim);
31
void
changeAnimKeys
(QStringList keys);
32
33
void
on_brightnessBox_activated
(
int
index);
34
void
on_animButton_clicked
();
35
36
void
on_bgButton_clicked
();
37
38
void
on_showAnimBox_clicked
(
bool
checked);
39
40
void
toggleSidelight
();
//strafe
41
42
private
:
43
KbLight
*
light
;
44
QStringList
currentSelection
;
45
46
Ui::KbLightWidget
*
ui
;
47
};
48
49
#endif // KBLIGHTWIDGET_H
KbLightWidget::changeAnimKeys
void changeAnimKeys(QStringList keys)
Definition:
kblightwidget.cpp:129
keywidget.h
KbLightWidget::toggleSidelight
void toggleSidelight()
Definition:
kblightwidget.cpp:107
KbLightWidget::setMonochrome
void setMonochrome()
Definition:
kblightwidget.cpp:48
KbLightWidget::on_brightnessBox_activated
void on_brightnessBox_activated(int index)
Definition:
kblightwidget.cpp:133
KbLightWidget::on_animButton_clicked
void on_animButton_clicked()
Definition:
kblightwidget.cpp:143
KbLightWidget::KbLightWidget
KbLightWidget(QWidget *parent=0)
Definition:
kblightwidget.cpp:6
QWidget
KbLightWidget::changeAnim
void changeAnim(KbAnim *newAnim)
Definition:
kblightwidget.cpp:121
KbLightWidget
Definition:
kblightwidget.h:15
kblight.h
KbLightWidget::on_showAnimBox_clicked
void on_showAnimBox_clicked(bool checked)
Definition:
kblightwidget.cpp:52
KbLightWidget::on_bgButton_clicked
void on_bgButton_clicked()
Definition:
kblightwidget.cpp:138
KbLightWidget::newSelection
void newSelection(QStringList selection)
Definition:
kblightwidget.cpp:72
KbLightWidget::light
KbLight * light
Definition:
kblightwidget.h:43
KbLightWidget::setLight
void setLight(KbLight *newLight)
Definition:
kblightwidget.cpp:28
KbLight
Definition:
kblight.h:17
KbLightWidget::updateLight
void updateLight()
Definition:
kblightwidget.cpp:66
KbLightWidget::ui
Ui::KbLightWidget * ui
Definition:
kblightwidget.h:46
KbLightWidget::changeColor
void changeColor(QColor newColor)
Definition:
kblightwidget.cpp:99
KbAnim
Definition:
kbanim.h:11
Ui::KbLightWidget
Definition:
ui_kblightwidget.h:266
KbLightWidget::currentSelection
QStringList currentSelection
Definition:
kblightwidget.h:44
KbLightWidget::~KbLightWidget
~KbLightWidget()
Definition:
kblightwidget.cpp:24
src
ckb
kblightwidget.h
Generated on Sat Jan 20 2018 16:59:28 for ckb-next by
1.8.6