cee89e70a6
Added two examples for modeling a subscription service: signal/slot connection-based and bindable property-based. The examples are based on the example from Fabian's Qt WS talk about the bindable properties. Pick-to: 6.2 Task-number: QTBUG-97655 Change-Id: I0345913b8b6e5c40b8477e128d36483598bdfcaa Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
23 lines
408 B
Prolog
23 lines
408 B
Prolog
QT += widgets
|
|
TARGET = subscription
|
|
|
|
SOURCES += main.cpp \
|
|
subscription.cpp \
|
|
user.cpp \
|
|
../shared/subscriptionwindow.cpp
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/bindableproperties/subscription
|
|
INSTALLS += target
|
|
|
|
FORMS += \
|
|
../shared/subscriptionwindow.ui
|
|
|
|
HEADERS += \
|
|
subscription.h \
|
|
user.h \
|
|
../shared/subscriptionwindow.h
|
|
|
|
RESOURCES += \
|
|
../shared/countries.qrc
|
|
|