This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.0 | |
import QtQuick.Window 2.0 | |
import QtGraphicalEffects 1.0 | |
Window { | |
id: window | |
width: 400 | |
height: 400 | |
visible: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QGuiApplication> | |
#include <QQmlApplicationEngine> | |
#include <QDebug> | |
#include <QTouchEvent> | |
#include <QQuickItem> | |
class TouchItem : public QQuickItem | |
{ | |
Q_OBJECT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <chrono> | |
#include <thread> | |
#include <fmod.hpp> | |
#include <fmod_errors.h> | |
bool succeededOrWarn(const std::string &message, FMOD_RESULT result) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEMPLATE = app | |
QT += qml quick | |
CONFIG += c++11 qmltestcase | |
SOURCES += \ | |
tst_quicktest.cpp | |
# Additional import path used to resolve QML modules in Qt Creator's code model | |
QML_IMPORT_PATH = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstractbutton .......... Widgets: Abstract base class of button widgets, providing functionality common to buttons. | |
abstractslider .......... Widgets: Common super class for widgets like QScrollBar, QSlider and QDial. | |
accessibility ........... Utilities: Provides accessibility support. | |
action .................. Kernel: Provides widget actions. | |
animation ............... Utilities: Provides a framework for animations. | |
appstore-compliant ...... Disables code that is not allowed in platform app stores | |
bearermanagement ........ Networking: Provides bearer management for the network stack. | |
big_codecs .............. Internationalization: Supports big codecs, e.g. CJK. | |
buttongroup ............. Widgets: Supports organizing groups of button widgets. | |
calendarwidget .......... Widgets: Provides a monthly based calendar widget allowing the user to select a date. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.12 | |
import QtQuick.Controls 2.12 | |
ApplicationWindow { | |
visible: true | |
width: 640 | |
height: 480 | |
Flickable { | |
id: flickable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.12 | |
import QtQuick.Controls 2.12 | |
ApplicationWindow { | |
visible: true | |
width: 640 | |
height: 480 | |
Flickable { | |
id: flickable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QtQuickTest/quicktest.h> | |
#include <QGuiApplication> | |
#include <QQmlContext> | |
#include <QQmlEngine> | |
class MouseDebuggerSetup : public QObject | |
{ | |
Q_OBJECT | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QGuiApplication> | |
#include <QQmlApplicationEngine> | |
#include <QAbstractProxyModel> | |
#include <QDebug> | |
class MyModel : public QAbstractListModel | |
{ | |
Q_OBJECT | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QGuiApplication> | |
#include <QQmlApplicationEngine> | |
#include <QSortFilterProxyModel> | |
#include <QDebug> | |
class MyModel : public QAbstractListModel | |
{ | |
Q_OBJECT | |
public: |