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
gradientbutton.h
Go to the documentation of this file.
1
#ifndef GRADIENTBUTTON_H
2
#define GRADIENTBUTTON_H
3
4
#include <QPushButton>
5
6
class
GradientButton
:
public
QPushButton
7
{
8
Q_OBJECT
9
public
:
10
explicit
GradientButton
(
QWidget
* parent = 0,
bool
allowAlpha =
false
);
11
12
void
fromString
(
const
QString&
string
);
13
QString
toString
()
const
;
14
15
signals:
16
void
gradientChanged
();
17
18
private
slots:
19
void
pickGradient
();
20
21
private
:
22
QGradientStops
_stops
;
23
bool
_alpha
;
24
25
void
updateImage
();
26
};
27
28
#endif // GRADIENTBUTTON_H
QWidget
GradientButton::fromString
void fromString(const QString &string)
Definition:
gradientbutton.cpp:38
QPushButton
GradientButton
Definition:
gradientbutton.h:6
GradientButton::updateImage
void updateImage()
Definition:
gradientbutton.cpp:17
GradientButton::_alpha
bool _alpha
Definition:
gradientbutton.h:23
GradientButton::gradientChanged
void gradientChanged()
Definition:
moc_gradientbutton.cpp:132
GradientButton::GradientButton
GradientButton(QWidget *parent=0, bool allowAlpha=false)
Definition:
gradientbutton.cpp:7
GradientButton::pickGradient
void pickGradient()
Definition:
gradientbutton.cpp:90
GradientButton::_stops
QGradientStops _stops
Definition:
gradientbutton.h:22
GradientButton::toString
QString toString() const
Definition:
gradientbutton.cpp:80
src
ckb
gradientbutton.h
Generated on Sat Jan 20 2018 16:59:28 for ckb-next by
1.8.6