]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright Vladimir Prus 2005. |
2 | // Distributed under the Boost Software License, Version 1.0. | |
1e59de90 TL |
3 | // (See accompanying file LICENSE.txt |
4 | // or copy at https://www.bfgroup.xyz/b2/LICENSE.txt) | |
7c673cae FG |
5 | |
6 | #include "arrow.h" | |
7 | ||
8 | #include <QApplication> | |
9 | #include <QTimer> | |
10 | ||
11 | int main(int ac, char* av[]) | |
12 | { | |
13 | QApplication app(ac, av); | |
14 | Arrow_widget* w = new Arrow_widget; | |
15 | w->resize(1100, 480); | |
16 | ||
17 | QTimer timer; | |
18 | QObject::connect(&timer, SIGNAL(timeout()), | |
19 | w, SLOT(slotChangeColor())); | |
20 | ||
21 | timer.start(2000); | |
22 | ||
23 | w->show(); | |
24 | app.exec(); | |
25 | return 0; | |
26 | } | |
27 |