Commit
a08728b4d23aaf8d83683ae80fc476cdfb8cbd29
Updated QT ival example
1
| #include <iostream> |
1
| #include <iostream> |
2
| #include <memory> |
2
| #include <memory> |
| |
3
| +#include <QDialog> |
| |
4
| +#include <QSlider> |
| |
5
| +#include <QVBoxLayout> |
| |
6
| +#include <QPushButton> |
| |
7
| + |
| |
8
| + |
3
| using namespace std; |
9
| using namespace std; |
4
| |
10
| |
5
| #include "qt_ival_box.h" |
11
| #include "qt_ival_box.h" |
1
| #include <iostream> |
1
| #include <iostream> |
| |
2
| +#include <QApplication> |
| |
3
| +#include <QDialog> |
| |
4
| +#include <QSlider> |
| |
5
| +#include <QVBoxLayout> |
| |
6
| +#include <QPushButton> |
| |
7
| + |
2
| using namespace std; |
8
| using namespace std; |
3
| |
9
| |
4
| #include "qt_ival_box.h" |
10
| #include "qt_ival_box.h" |
| |
1
| +#!/bin/sh |
| |
2
| +qmake -project |
| |
3
| +qmake QT+=widgets |
| |
4
| + |
| |
5
| + |