Debian Codegraph @

tests/manual/examples/embedded/fluidlauncher/fluidlauncher.h

raw symbols SCIP
1 // Copyright (C) 2016 The Qt Company Ltd.
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4 #ifndef FLUID_LAUNCHER_H
5 #define FLUID_LAUNCHER_H
6
7 #include <QtWidgets>
8 #include <QTimer>
9
10 #include "pictureflow.h"
11 #include "slideshow.h"
12 #include "demoapplication.h"
13
14 class FluidLauncher : public QStackedWidget
15 {
16 Q_OBJECT
17
18 public:
19 FluidLauncher(QStringList* args);
20 ~FluidLauncher();
21
22 public slots:
23 void launchApplication(int index);
24 void switchToLauncher();
25 void resetInputTimeout();
26 void inputTimedout();
27 void demoFinished();
28
29 protected:
30 void changeEvent(QEvent *event) override;
31
32 private:
33 PictureFlow* pictureFlowWidget;
34 SlideShow* slideShowWidget;
35 QTimer* inputTimer;
36 QList<DemoApplication*> demoList;
37
38 bool loadConfig(QString configPath);
39 void populatePictureFlow();
40 void switchToSlideshow();
41 void parseDemos(QXmlStreamReader& reader);
42 void parseSlideshow(QXmlStreamReader& reader);
43
44 };
45
46
47 #endif