implement boilerplate code for Slider examples
This commit is contained in:
parent
22ca0485bc
commit
c01dd9ca0c
|
@ -0,0 +1,10 @@
|
||||||
|
#include "sliderexamples.h"
|
||||||
|
|
||||||
|
SliderExamples::SliderExamples(QWidget *parent)
|
||||||
|
: ExampleList(parent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
SliderExamples::~SliderExamples()
|
||||||
|
{
|
||||||
|
}
|
|
@ -1,4 +1,15 @@
|
||||||
#ifndef SLIDEREXAMPLES_H
|
#ifndef SLIDEREXAMPLES_H
|
||||||
#define SLIDEREXAMPLES_H
|
#define SLIDEREXAMPLES_H
|
||||||
|
|
||||||
|
#include "examplelist.h"
|
||||||
|
|
||||||
|
class SliderExamples : public ExampleList
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit SliderExamples(QWidget *parent = 0);
|
||||||
|
~SliderExamples();
|
||||||
|
};
|
||||||
|
|
||||||
#endif // SLIDEREXAMPLES_H
|
#endif // SLIDEREXAMPLES_H
|
||||||
|
|
|
@ -34,7 +34,8 @@ SOURCES += main.cpp\
|
||||||
examples/tabsexamples.cpp \
|
examples/tabsexamples.cpp \
|
||||||
examples/tableexamples.cpp \
|
examples/tableexamples.cpp \
|
||||||
components/raisedbutton.cpp \
|
components/raisedbutton.cpp \
|
||||||
examples/raisedbuttonexamples.cpp
|
examples/raisedbuttonexamples.cpp \
|
||||||
|
examples/sliderexamples.cpp
|
||||||
|
|
||||||
HEADERS += mainwindow.h \
|
HEADERS += mainwindow.h \
|
||||||
style.h \
|
style.h \
|
||||||
|
@ -64,4 +65,5 @@ HEADERS += mainwindow.h \
|
||||||
examples/tabsexamples.h \
|
examples/tabsexamples.h \
|
||||||
examples/tableexamples.h \
|
examples/tableexamples.h \
|
||||||
components/raisedbutton.h \
|
components/raisedbutton.h \
|
||||||
examples/raisedbuttonexamples.h
|
examples/raisedbuttonexamples.h \
|
||||||
|
examples/sliderexamples.h
|
||||||
|
|
Loading…
Reference in New Issue