├── .gitignore ├── LICENSE ├── README.md ├── ch01 ├── Microscope.cpp ├── Microscope.h ├── Singleton.cpp ├── Singleton.h ├── Singleton.pro ├── main.cpp └── singletonpattern.qmodel ├── ch02 ├── Decorator │ ├── .gitignore │ ├── Decorator.pro │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── implementationofpicturedecorator.qmodel │ ├── main.cpp │ ├── megapicture.qmodel │ ├── picturedecorations.qmodel │ └── picturesubclasses.qmodel ├── GenericDecorator │ ├── .gitignore │ ├── GenericDecorator.cpp │ ├── GenericDecorator.h │ ├── GenericDecorator.pro │ ├── genericdecoratorclassmodel.qmodel │ └── main.cpp ├── IntrospectionExample │ ├── .gitignore │ ├── IntrospectionExample.pro │ ├── Person.cpp │ ├── Person.h │ └── main.cpp ├── MySkipIterator │ ├── .gitignore │ ├── MySkipIterator.h │ ├── MySkipIterator.pro │ └── main.cpp ├── PatternMethodExample │ ├── .gitignore │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── MyQLabel.cpp │ ├── MyQLabel.h │ ├── PatternMethodExample.pro │ └── main.cpp ├── QMLByDesign │ ├── QMLByDesign.pro │ ├── main.cpp │ ├── main.qml │ └── qml.qrc ├── ShuffleInterator │ ├── .gitignore │ ├── ShuffleInterator.pro │ ├── ShuffleIterator.h │ └── main.cpp ├── SignalsAndSlots-1 │ ├── Person.cpp │ ├── Person.h │ ├── Signaler.cpp │ ├── Signaler.h │ ├── SignalsAndSlots-1.pro │ └── main.cpp ├── WidgetByDesign │ ├── .gitignore │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── WidgetByDesign.pro │ └── main.cpp ├── WidgetsAndQML │ ├── .gitignore │ ├── 43183511045_46fa6859b8_c.jpg │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── MyQML.qml │ ├── WidgetsAndQML.pro │ ├── main.cpp │ └── resources.qrc └── WidgetsByCode │ ├── .gitignore │ ├── WidgetsByCode.pro │ └── main.cpp ├── ch03 ├── SpeedBlackboard │ ├── .gitignore │ ├── Blackboard.cpp │ ├── Blackboard.h │ ├── Controller.cpp │ ├── Controller.h │ ├── FuelUsageCalc.cpp │ ├── FuelUsageCalc.h │ ├── FuelUsageDisp.cpp │ ├── FuelUsageDisp.h │ ├── FuelUsageDisp.ui │ ├── KnowledgeSource.cpp │ ├── KnowledgeSource.h │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── Odometer.cpp │ ├── Odometer.h │ ├── SpeedBlackboard.pro │ ├── Speedometer.cpp │ ├── Speedometer.h │ ├── Topic.h │ ├── Vehicle.cpp │ ├── Vehicle.h │ └── main.cpp ├── SpeedObserver │ ├── .gitignore │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── Observer.h │ ├── SpeedObserver.pro │ ├── Speedometer.cpp │ ├── Speedometer.h │ ├── Vehicle.cpp │ ├── Vehicle.h │ ├── classdiagram.qmodel │ └── main.cpp ├── SpeedObserverSS │ ├── .gitignore │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── Observer.h │ ├── SpeedObserverSS.pro │ ├── Speedometer.cpp │ ├── Speedometer.h │ ├── Vehicle.cpp │ ├── Vehicle.h │ ├── classdiagram.qmodel │ └── main.cpp └── SpeedPubSub │ ├── .gitignore │ ├── Broker.cpp │ ├── Broker.h │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── Odometer.cpp │ ├── Odometer.h │ ├── Publisher.cpp │ ├── Publisher.h │ ├── SpeedPubSub.pro │ ├── Speedometer.cpp │ ├── Speedometer.h │ ├── Subscriber.cpp │ ├── Subscriber.h │ ├── Subscription.cpp │ ├── Subscription.h │ ├── Topic.h │ ├── Vehicle.cpp │ ├── Vehicle.h │ └── main.cpp ├── ch04 ├── SpeedFactory │ ├── Blackboard.cpp │ ├── Blackboard.h │ ├── CruiseControlStateMachine.scxml │ ├── DashWidget.cpp │ ├── DashWidget.h │ ├── DashWidgetFactory.h │ ├── FuelDisplayStateMachine.scxml │ ├── FuelUsageCalc.cpp │ ├── FuelUsageCalc.h │ ├── FuelUsageDisp.cpp │ ├── FuelUsageDisp.h │ ├── FuelUsageDisp.ui │ ├── HeadingIndicator.cpp │ ├── HeadingIndicator.h │ ├── HeadlightStateMachine.scxml │ ├── HeadlightSwitch.cpp │ ├── HeadlightSwitch.h │ ├── HighBeamIndicator.cpp │ ├── HighBeamIndicator.h │ ├── KnowledgeSource.cpp │ ├── KnowledgeSource.h │ ├── KnowledgeSourceFactory.h │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── Odometer.cpp │ ├── Odometer.h │ ├── PositionSource.cpp │ ├── PositionSource.h │ ├── SpeedFactory.conf │ ├── SpeedFactory.pro │ ├── Speedometer.cpp │ ├── Speedometer.h │ ├── Throttle.cpp │ ├── Throttle.h │ ├── Topic.h │ ├── Vehicle.cpp │ ├── Vehicle.h │ ├── WeatherDisplay.cpp │ ├── WeatherDisplay.h │ ├── WeatherFetcher.cpp │ ├── WeatherFetcher.h │ ├── WeatherFetchigStateMachine.scxml │ ├── main.cpp │ └── windows.reg └── SpeedStateBlackboard │ ├── Blackboard.cpp │ ├── Blackboard.h │ ├── Controller.cpp │ ├── Controller.h │ ├── CruiseControlStateMachine.scxml │ ├── FuelDisplayStateMachine.scxml │ ├── FuelUsageCalc.cpp │ ├── FuelUsageCalc.h │ ├── FuelUsageDisp.cpp │ ├── FuelUsageDisp.h │ ├── FuelUsageDisp.ui │ ├── KnowledgeSource.cpp │ ├── KnowledgeSource.h │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ ├── Odometer.cpp │ ├── Odometer.h │ ├── SpeedStateBlackboard.pro │ ├── Speedometer.cpp │ ├── Speedometer.h │ ├── Throttle.cpp │ ├── Throttle.h │ ├── Topic.h │ ├── Vehicle.cpp │ ├── Vehicle.h │ └── main.cpp ├── ch05 ├── CarStarter2 │ ├── Car.cpp │ ├── Car.h │ ├── CarStarter2.pro │ ├── Track.cpp │ ├── Track.h │ └── main.cpp ├── EventLoopExample │ ├── EventLoopExample.pro │ └── main.cpp ├── GuiConcurrent │ ├── GuiConcurrent.pro │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ └── main.cpp ├── GuiThread │ ├── CalcObject.cpp │ ├── CalcObject.h │ ├── GuiThread.pro │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ └── main.cpp ├── GuiThreadPool │ ├── CalcObject.cpp │ ├── CalcObject.h │ ├── GuiThreadPool.pro │ ├── MainWindow.cpp │ ├── MainWindow.h │ ├── MainWindow.ui │ └── main.cpp ├── QMLPromise │ ├── .gitignore │ ├── QMLPromise.pro │ ├── main.cpp │ ├── main.qml │ └── qml.qrc ├── QPromiseCpp │ ├── .gitignore │ ├── QPromiseCpp.pro │ └── main.cpp └── WorkerScript │ ├── .gitignore │ ├── CalcWorker.mjs │ ├── WorkerScript.pro │ ├── main.cpp │ ├── main.qml │ └── qml.qrc ├── ch06 ├── CrossingThreadBoundaries │ ├── CallerThreads.cpp │ ├── CallerThreads.h │ ├── CrossingThreadBoundaries.pro │ └── main.cpp └── SpeedFacade │ ├── .gitignore │ ├── BlackboardFacade.cpp │ ├── BlackboardFacade.h │ ├── CruiseControlStateMachine.scxml │ ├── DataDictionary.txt │ ├── FuelDisplayStateMachine.scxml │ ├── FuelUsageCalc.cpp │ ├── FuelUsageCalc.h │ ├── HeadlightStateMachine.scxml │ ├── KnowledgeSource.cpp │ ├── KnowledgeSource.h │ ├── KnowledgeSourceFactory.h │ ├── PositionSource.cpp │ ├── PositionSource.h │ ├── PropertyClassTemplates.h │ ├── SpeedFacade.conf │ ├── SpeedFacade.pro │ ├── Topic.cpp │ ├── Topic.h │ ├── Vehicle.cpp │ ├── Vehicle.h │ ├── WeatherFetcher.cpp │ ├── WeatherFetcher.h │ ├── WeatherFetchigStateMachine.scxml │ ├── main.cpp │ ├── main.qml │ └── qml.qrc ├── ch07 └── _placeholder_.txt ├── ch08 └── _placeholder_.txt ├── ch09 └── _placeholder_.txt └── ch10 └── _placeholder_.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/README.md -------------------------------------------------------------------------------- /ch01/Microscope.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch01/Microscope.cpp -------------------------------------------------------------------------------- /ch01/Microscope.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch01/Microscope.h -------------------------------------------------------------------------------- /ch01/Singleton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch01/Singleton.cpp -------------------------------------------------------------------------------- /ch01/Singleton.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch01/Singleton.h -------------------------------------------------------------------------------- /ch01/Singleton.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch01/Singleton.pro -------------------------------------------------------------------------------- /ch01/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch01/main.cpp -------------------------------------------------------------------------------- /ch01/singletonpattern.qmodel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch01/singletonpattern.qmodel -------------------------------------------------------------------------------- /ch02/Decorator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/.gitignore -------------------------------------------------------------------------------- /ch02/Decorator/Decorator.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/Decorator.pro -------------------------------------------------------------------------------- /ch02/Decorator/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/MainWindow.cpp -------------------------------------------------------------------------------- /ch02/Decorator/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/MainWindow.h -------------------------------------------------------------------------------- /ch02/Decorator/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/MainWindow.ui -------------------------------------------------------------------------------- /ch02/Decorator/implementationofpicturedecorator.qmodel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/implementationofpicturedecorator.qmodel -------------------------------------------------------------------------------- /ch02/Decorator/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/main.cpp -------------------------------------------------------------------------------- /ch02/Decorator/megapicture.qmodel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/megapicture.qmodel -------------------------------------------------------------------------------- /ch02/Decorator/picturedecorations.qmodel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/picturedecorations.qmodel -------------------------------------------------------------------------------- /ch02/Decorator/picturesubclasses.qmodel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/Decorator/picturesubclasses.qmodel -------------------------------------------------------------------------------- /ch02/GenericDecorator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/GenericDecorator/.gitignore -------------------------------------------------------------------------------- /ch02/GenericDecorator/GenericDecorator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/GenericDecorator/GenericDecorator.cpp -------------------------------------------------------------------------------- /ch02/GenericDecorator/GenericDecorator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/GenericDecorator/GenericDecorator.h -------------------------------------------------------------------------------- /ch02/GenericDecorator/GenericDecorator.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/GenericDecorator/GenericDecorator.pro -------------------------------------------------------------------------------- /ch02/GenericDecorator/genericdecoratorclassmodel.qmodel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/GenericDecorator/genericdecoratorclassmodel.qmodel -------------------------------------------------------------------------------- /ch02/GenericDecorator/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/GenericDecorator/main.cpp -------------------------------------------------------------------------------- /ch02/IntrospectionExample/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/IntrospectionExample/.gitignore -------------------------------------------------------------------------------- /ch02/IntrospectionExample/IntrospectionExample.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/IntrospectionExample/IntrospectionExample.pro -------------------------------------------------------------------------------- /ch02/IntrospectionExample/Person.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/IntrospectionExample/Person.cpp -------------------------------------------------------------------------------- /ch02/IntrospectionExample/Person.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/IntrospectionExample/Person.h -------------------------------------------------------------------------------- /ch02/IntrospectionExample/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/IntrospectionExample/main.cpp -------------------------------------------------------------------------------- /ch02/MySkipIterator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/MySkipIterator/.gitignore -------------------------------------------------------------------------------- /ch02/MySkipIterator/MySkipIterator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/MySkipIterator/MySkipIterator.h -------------------------------------------------------------------------------- /ch02/MySkipIterator/MySkipIterator.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/MySkipIterator/MySkipIterator.pro -------------------------------------------------------------------------------- /ch02/MySkipIterator/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/MySkipIterator/main.cpp -------------------------------------------------------------------------------- /ch02/PatternMethodExample/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/PatternMethodExample/.gitignore -------------------------------------------------------------------------------- /ch02/PatternMethodExample/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/PatternMethodExample/MainWindow.cpp -------------------------------------------------------------------------------- /ch02/PatternMethodExample/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/PatternMethodExample/MainWindow.h -------------------------------------------------------------------------------- /ch02/PatternMethodExample/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/PatternMethodExample/MainWindow.ui -------------------------------------------------------------------------------- /ch02/PatternMethodExample/MyQLabel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/PatternMethodExample/MyQLabel.cpp -------------------------------------------------------------------------------- /ch02/PatternMethodExample/MyQLabel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/PatternMethodExample/MyQLabel.h -------------------------------------------------------------------------------- /ch02/PatternMethodExample/PatternMethodExample.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/PatternMethodExample/PatternMethodExample.pro -------------------------------------------------------------------------------- /ch02/PatternMethodExample/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/PatternMethodExample/main.cpp -------------------------------------------------------------------------------- /ch02/QMLByDesign/QMLByDesign.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/QMLByDesign/QMLByDesign.pro -------------------------------------------------------------------------------- /ch02/QMLByDesign/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/QMLByDesign/main.cpp -------------------------------------------------------------------------------- /ch02/QMLByDesign/main.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/QMLByDesign/main.qml -------------------------------------------------------------------------------- /ch02/QMLByDesign/qml.qrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/QMLByDesign/qml.qrc -------------------------------------------------------------------------------- /ch02/ShuffleInterator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/ShuffleInterator/.gitignore -------------------------------------------------------------------------------- /ch02/ShuffleInterator/ShuffleInterator.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/ShuffleInterator/ShuffleInterator.pro -------------------------------------------------------------------------------- /ch02/ShuffleInterator/ShuffleIterator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/ShuffleInterator/ShuffleIterator.h -------------------------------------------------------------------------------- /ch02/ShuffleInterator/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/ShuffleInterator/main.cpp -------------------------------------------------------------------------------- /ch02/SignalsAndSlots-1/Person.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/SignalsAndSlots-1/Person.cpp -------------------------------------------------------------------------------- /ch02/SignalsAndSlots-1/Person.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/SignalsAndSlots-1/Person.h -------------------------------------------------------------------------------- /ch02/SignalsAndSlots-1/Signaler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/SignalsAndSlots-1/Signaler.cpp -------------------------------------------------------------------------------- /ch02/SignalsAndSlots-1/Signaler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/SignalsAndSlots-1/Signaler.h -------------------------------------------------------------------------------- /ch02/SignalsAndSlots-1/SignalsAndSlots-1.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/SignalsAndSlots-1/SignalsAndSlots-1.pro -------------------------------------------------------------------------------- /ch02/SignalsAndSlots-1/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/SignalsAndSlots-1/main.cpp -------------------------------------------------------------------------------- /ch02/WidgetByDesign/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetByDesign/.gitignore -------------------------------------------------------------------------------- /ch02/WidgetByDesign/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetByDesign/MainWindow.cpp -------------------------------------------------------------------------------- /ch02/WidgetByDesign/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetByDesign/MainWindow.h -------------------------------------------------------------------------------- /ch02/WidgetByDesign/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetByDesign/MainWindow.ui -------------------------------------------------------------------------------- /ch02/WidgetByDesign/WidgetByDesign.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetByDesign/WidgetByDesign.pro -------------------------------------------------------------------------------- /ch02/WidgetByDesign/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetByDesign/main.cpp -------------------------------------------------------------------------------- /ch02/WidgetsAndQML/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsAndQML/.gitignore -------------------------------------------------------------------------------- /ch02/WidgetsAndQML/43183511045_46fa6859b8_c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsAndQML/43183511045_46fa6859b8_c.jpg -------------------------------------------------------------------------------- /ch02/WidgetsAndQML/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsAndQML/MainWindow.cpp -------------------------------------------------------------------------------- /ch02/WidgetsAndQML/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsAndQML/MainWindow.h -------------------------------------------------------------------------------- /ch02/WidgetsAndQML/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsAndQML/MainWindow.ui -------------------------------------------------------------------------------- /ch02/WidgetsAndQML/MyQML.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsAndQML/MyQML.qml -------------------------------------------------------------------------------- /ch02/WidgetsAndQML/WidgetsAndQML.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsAndQML/WidgetsAndQML.pro -------------------------------------------------------------------------------- /ch02/WidgetsAndQML/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsAndQML/main.cpp -------------------------------------------------------------------------------- /ch02/WidgetsAndQML/resources.qrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsAndQML/resources.qrc -------------------------------------------------------------------------------- /ch02/WidgetsByCode/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsByCode/.gitignore -------------------------------------------------------------------------------- /ch02/WidgetsByCode/WidgetsByCode.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsByCode/WidgetsByCode.pro -------------------------------------------------------------------------------- /ch02/WidgetsByCode/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch02/WidgetsByCode/main.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/.gitignore -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Blackboard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Blackboard.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Blackboard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Blackboard.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Controller.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Controller.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Controller.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Controller.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/FuelUsageCalc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/FuelUsageCalc.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/FuelUsageCalc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/FuelUsageCalc.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/FuelUsageDisp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/FuelUsageDisp.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/FuelUsageDisp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/FuelUsageDisp.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/FuelUsageDisp.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/FuelUsageDisp.ui -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/KnowledgeSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/KnowledgeSource.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/KnowledgeSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/KnowledgeSource.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/MainWindow.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/MainWindow.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/MainWindow.ui -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Odometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Odometer.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Odometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Odometer.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/SpeedBlackboard.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/SpeedBlackboard.pro -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Speedometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Speedometer.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Speedometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Speedometer.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Topic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Topic.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Vehicle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Vehicle.cpp -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/Vehicle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/Vehicle.h -------------------------------------------------------------------------------- /ch03/SpeedBlackboard/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedBlackboard/main.cpp -------------------------------------------------------------------------------- /ch03/SpeedObserver/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/.gitignore -------------------------------------------------------------------------------- /ch03/SpeedObserver/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/MainWindow.cpp -------------------------------------------------------------------------------- /ch03/SpeedObserver/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/MainWindow.h -------------------------------------------------------------------------------- /ch03/SpeedObserver/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/MainWindow.ui -------------------------------------------------------------------------------- /ch03/SpeedObserver/Observer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/Observer.h -------------------------------------------------------------------------------- /ch03/SpeedObserver/SpeedObserver.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/SpeedObserver.pro -------------------------------------------------------------------------------- /ch03/SpeedObserver/Speedometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/Speedometer.cpp -------------------------------------------------------------------------------- /ch03/SpeedObserver/Speedometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/Speedometer.h -------------------------------------------------------------------------------- /ch03/SpeedObserver/Vehicle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/Vehicle.cpp -------------------------------------------------------------------------------- /ch03/SpeedObserver/Vehicle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/Vehicle.h -------------------------------------------------------------------------------- /ch03/SpeedObserver/classdiagram.qmodel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/classdiagram.qmodel -------------------------------------------------------------------------------- /ch03/SpeedObserver/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserver/main.cpp -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/.gitignore -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/MainWindow.cpp -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/MainWindow.h -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/MainWindow.ui -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/Observer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/Observer.h -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/SpeedObserverSS.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/SpeedObserverSS.pro -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/Speedometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/Speedometer.cpp -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/Speedometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/Speedometer.h -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/Vehicle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/Vehicle.cpp -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/Vehicle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/Vehicle.h -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/classdiagram.qmodel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/classdiagram.qmodel -------------------------------------------------------------------------------- /ch03/SpeedObserverSS/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedObserverSS/main.cpp -------------------------------------------------------------------------------- /ch03/SpeedPubSub/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/.gitignore -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Broker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Broker.cpp -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Broker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Broker.h -------------------------------------------------------------------------------- /ch03/SpeedPubSub/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/MainWindow.cpp -------------------------------------------------------------------------------- /ch03/SpeedPubSub/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/MainWindow.h -------------------------------------------------------------------------------- /ch03/SpeedPubSub/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/MainWindow.ui -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Odometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Odometer.cpp -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Odometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Odometer.h -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Publisher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Publisher.cpp -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Publisher.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Publisher.h -------------------------------------------------------------------------------- /ch03/SpeedPubSub/SpeedPubSub.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/SpeedPubSub.pro -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Speedometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Speedometer.cpp -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Speedometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Speedometer.h -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Subscriber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Subscriber.cpp -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Subscriber.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Subscriber.h -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Subscription.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Subscription.cpp -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Subscription.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Subscription.h -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Topic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Topic.h -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Vehicle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Vehicle.cpp -------------------------------------------------------------------------------- /ch03/SpeedPubSub/Vehicle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/Vehicle.h -------------------------------------------------------------------------------- /ch03/SpeedPubSub/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch03/SpeedPubSub/main.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/Blackboard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Blackboard.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/Blackboard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Blackboard.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/CruiseControlStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/CruiseControlStateMachine.scxml -------------------------------------------------------------------------------- /ch04/SpeedFactory/DashWidget.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/DashWidget.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/DashWidget.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/DashWidget.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/DashWidgetFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/DashWidgetFactory.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/FuelDisplayStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/FuelDisplayStateMachine.scxml -------------------------------------------------------------------------------- /ch04/SpeedFactory/FuelUsageCalc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/FuelUsageCalc.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/FuelUsageCalc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/FuelUsageCalc.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/FuelUsageDisp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/FuelUsageDisp.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/FuelUsageDisp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/FuelUsageDisp.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/FuelUsageDisp.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/FuelUsageDisp.ui -------------------------------------------------------------------------------- /ch04/SpeedFactory/HeadingIndicator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/HeadingIndicator.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/HeadingIndicator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/HeadingIndicator.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/HeadlightStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/HeadlightStateMachine.scxml -------------------------------------------------------------------------------- /ch04/SpeedFactory/HeadlightSwitch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/HeadlightSwitch.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/HeadlightSwitch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/HeadlightSwitch.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/HighBeamIndicator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/HighBeamIndicator.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/HighBeamIndicator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/HighBeamIndicator.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/KnowledgeSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/KnowledgeSource.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/KnowledgeSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/KnowledgeSource.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/KnowledgeSourceFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/KnowledgeSourceFactory.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/MainWindow.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/MainWindow.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/MainWindow.ui -------------------------------------------------------------------------------- /ch04/SpeedFactory/Odometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Odometer.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/Odometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Odometer.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/PositionSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/PositionSource.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/PositionSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/PositionSource.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/SpeedFactory.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/SpeedFactory.conf -------------------------------------------------------------------------------- /ch04/SpeedFactory/SpeedFactory.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/SpeedFactory.pro -------------------------------------------------------------------------------- /ch04/SpeedFactory/Speedometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Speedometer.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/Speedometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Speedometer.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/Throttle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Throttle.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/Throttle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Throttle.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/Topic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Topic.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/Vehicle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Vehicle.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/Vehicle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/Vehicle.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/WeatherDisplay.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/WeatherDisplay.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/WeatherDisplay.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/WeatherDisplay.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/WeatherFetcher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/WeatherFetcher.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/WeatherFetcher.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/WeatherFetcher.h -------------------------------------------------------------------------------- /ch04/SpeedFactory/WeatherFetchigStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/WeatherFetchigStateMachine.scxml -------------------------------------------------------------------------------- /ch04/SpeedFactory/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/main.cpp -------------------------------------------------------------------------------- /ch04/SpeedFactory/windows.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedFactory/windows.reg -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Blackboard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Blackboard.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Blackboard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Blackboard.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Controller.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Controller.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Controller.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Controller.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/CruiseControlStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/CruiseControlStateMachine.scxml -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/FuelDisplayStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/FuelDisplayStateMachine.scxml -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/FuelUsageCalc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/FuelUsageCalc.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/FuelUsageCalc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/FuelUsageCalc.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/FuelUsageDisp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/FuelUsageDisp.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/FuelUsageDisp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/FuelUsageDisp.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/FuelUsageDisp.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/FuelUsageDisp.ui -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/KnowledgeSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/KnowledgeSource.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/KnowledgeSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/KnowledgeSource.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/MainWindow.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/MainWindow.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/MainWindow.ui -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Odometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Odometer.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Odometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Odometer.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/SpeedStateBlackboard.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/SpeedStateBlackboard.pro -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Speedometer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Speedometer.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Speedometer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Speedometer.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Throttle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Throttle.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Throttle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Throttle.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Topic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Topic.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Vehicle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Vehicle.cpp -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/Vehicle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/Vehicle.h -------------------------------------------------------------------------------- /ch04/SpeedStateBlackboard/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch04/SpeedStateBlackboard/main.cpp -------------------------------------------------------------------------------- /ch05/CarStarter2/Car.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/CarStarter2/Car.cpp -------------------------------------------------------------------------------- /ch05/CarStarter2/Car.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/CarStarter2/Car.h -------------------------------------------------------------------------------- /ch05/CarStarter2/CarStarter2.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/CarStarter2/CarStarter2.pro -------------------------------------------------------------------------------- /ch05/CarStarter2/Track.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/CarStarter2/Track.cpp -------------------------------------------------------------------------------- /ch05/CarStarter2/Track.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/CarStarter2/Track.h -------------------------------------------------------------------------------- /ch05/CarStarter2/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/CarStarter2/main.cpp -------------------------------------------------------------------------------- /ch05/EventLoopExample/EventLoopExample.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/EventLoopExample/EventLoopExample.pro -------------------------------------------------------------------------------- /ch05/EventLoopExample/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/EventLoopExample/main.cpp -------------------------------------------------------------------------------- /ch05/GuiConcurrent/GuiConcurrent.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiConcurrent/GuiConcurrent.pro -------------------------------------------------------------------------------- /ch05/GuiConcurrent/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiConcurrent/MainWindow.cpp -------------------------------------------------------------------------------- /ch05/GuiConcurrent/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiConcurrent/MainWindow.h -------------------------------------------------------------------------------- /ch05/GuiConcurrent/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiConcurrent/MainWindow.ui -------------------------------------------------------------------------------- /ch05/GuiConcurrent/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiConcurrent/main.cpp -------------------------------------------------------------------------------- /ch05/GuiThread/CalcObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThread/CalcObject.cpp -------------------------------------------------------------------------------- /ch05/GuiThread/CalcObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThread/CalcObject.h -------------------------------------------------------------------------------- /ch05/GuiThread/GuiThread.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThread/GuiThread.pro -------------------------------------------------------------------------------- /ch05/GuiThread/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThread/MainWindow.cpp -------------------------------------------------------------------------------- /ch05/GuiThread/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThread/MainWindow.h -------------------------------------------------------------------------------- /ch05/GuiThread/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThread/MainWindow.ui -------------------------------------------------------------------------------- /ch05/GuiThread/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThread/main.cpp -------------------------------------------------------------------------------- /ch05/GuiThreadPool/CalcObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThreadPool/CalcObject.cpp -------------------------------------------------------------------------------- /ch05/GuiThreadPool/CalcObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThreadPool/CalcObject.h -------------------------------------------------------------------------------- /ch05/GuiThreadPool/GuiThreadPool.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThreadPool/GuiThreadPool.pro -------------------------------------------------------------------------------- /ch05/GuiThreadPool/MainWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThreadPool/MainWindow.cpp -------------------------------------------------------------------------------- /ch05/GuiThreadPool/MainWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThreadPool/MainWindow.h -------------------------------------------------------------------------------- /ch05/GuiThreadPool/MainWindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThreadPool/MainWindow.ui -------------------------------------------------------------------------------- /ch05/GuiThreadPool/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/GuiThreadPool/main.cpp -------------------------------------------------------------------------------- /ch05/QMLPromise/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/QMLPromise/.gitignore -------------------------------------------------------------------------------- /ch05/QMLPromise/QMLPromise.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/QMLPromise/QMLPromise.pro -------------------------------------------------------------------------------- /ch05/QMLPromise/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/QMLPromise/main.cpp -------------------------------------------------------------------------------- /ch05/QMLPromise/main.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/QMLPromise/main.qml -------------------------------------------------------------------------------- /ch05/QMLPromise/qml.qrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/QMLPromise/qml.qrc -------------------------------------------------------------------------------- /ch05/QPromiseCpp/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/QPromiseCpp/.gitignore -------------------------------------------------------------------------------- /ch05/QPromiseCpp/QPromiseCpp.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/QPromiseCpp/QPromiseCpp.pro -------------------------------------------------------------------------------- /ch05/QPromiseCpp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/QPromiseCpp/main.cpp -------------------------------------------------------------------------------- /ch05/WorkerScript/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/WorkerScript/.gitignore -------------------------------------------------------------------------------- /ch05/WorkerScript/CalcWorker.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/WorkerScript/CalcWorker.mjs -------------------------------------------------------------------------------- /ch05/WorkerScript/WorkerScript.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/WorkerScript/WorkerScript.pro -------------------------------------------------------------------------------- /ch05/WorkerScript/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/WorkerScript/main.cpp -------------------------------------------------------------------------------- /ch05/WorkerScript/main.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/WorkerScript/main.qml -------------------------------------------------------------------------------- /ch05/WorkerScript/qml.qrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch05/WorkerScript/qml.qrc -------------------------------------------------------------------------------- /ch06/CrossingThreadBoundaries/CallerThreads.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/CrossingThreadBoundaries/CallerThreads.cpp -------------------------------------------------------------------------------- /ch06/CrossingThreadBoundaries/CallerThreads.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/CrossingThreadBoundaries/CallerThreads.h -------------------------------------------------------------------------------- /ch06/CrossingThreadBoundaries/CrossingThreadBoundaries.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/CrossingThreadBoundaries/CrossingThreadBoundaries.pro -------------------------------------------------------------------------------- /ch06/CrossingThreadBoundaries/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/CrossingThreadBoundaries/main.cpp -------------------------------------------------------------------------------- /ch06/SpeedFacade/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/.gitignore -------------------------------------------------------------------------------- /ch06/SpeedFacade/BlackboardFacade.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/BlackboardFacade.cpp -------------------------------------------------------------------------------- /ch06/SpeedFacade/BlackboardFacade.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/BlackboardFacade.h -------------------------------------------------------------------------------- /ch06/SpeedFacade/CruiseControlStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/CruiseControlStateMachine.scxml -------------------------------------------------------------------------------- /ch06/SpeedFacade/DataDictionary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/DataDictionary.txt -------------------------------------------------------------------------------- /ch06/SpeedFacade/FuelDisplayStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/FuelDisplayStateMachine.scxml -------------------------------------------------------------------------------- /ch06/SpeedFacade/FuelUsageCalc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/FuelUsageCalc.cpp -------------------------------------------------------------------------------- /ch06/SpeedFacade/FuelUsageCalc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/FuelUsageCalc.h -------------------------------------------------------------------------------- /ch06/SpeedFacade/HeadlightStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/HeadlightStateMachine.scxml -------------------------------------------------------------------------------- /ch06/SpeedFacade/KnowledgeSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/KnowledgeSource.cpp -------------------------------------------------------------------------------- /ch06/SpeedFacade/KnowledgeSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/KnowledgeSource.h -------------------------------------------------------------------------------- /ch06/SpeedFacade/KnowledgeSourceFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/KnowledgeSourceFactory.h -------------------------------------------------------------------------------- /ch06/SpeedFacade/PositionSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/PositionSource.cpp -------------------------------------------------------------------------------- /ch06/SpeedFacade/PositionSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/PositionSource.h -------------------------------------------------------------------------------- /ch06/SpeedFacade/PropertyClassTemplates.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/PropertyClassTemplates.h -------------------------------------------------------------------------------- /ch06/SpeedFacade/SpeedFacade.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/SpeedFacade.conf -------------------------------------------------------------------------------- /ch06/SpeedFacade/SpeedFacade.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/SpeedFacade.pro -------------------------------------------------------------------------------- /ch06/SpeedFacade/Topic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/Topic.cpp -------------------------------------------------------------------------------- /ch06/SpeedFacade/Topic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/Topic.h -------------------------------------------------------------------------------- /ch06/SpeedFacade/Vehicle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/Vehicle.cpp -------------------------------------------------------------------------------- /ch06/SpeedFacade/Vehicle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/Vehicle.h -------------------------------------------------------------------------------- /ch06/SpeedFacade/WeatherFetcher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/WeatherFetcher.cpp -------------------------------------------------------------------------------- /ch06/SpeedFacade/WeatherFetcher.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/WeatherFetcher.h -------------------------------------------------------------------------------- /ch06/SpeedFacade/WeatherFetchigStateMachine.scxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/WeatherFetchigStateMachine.scxml -------------------------------------------------------------------------------- /ch06/SpeedFacade/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/main.cpp -------------------------------------------------------------------------------- /ch06/SpeedFacade/main.qml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/main.qml -------------------------------------------------------------------------------- /ch06/SpeedFacade/qml.qrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch06/SpeedFacade/qml.qrc -------------------------------------------------------------------------------- /ch07/_placeholder_.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ch08/_placeholder_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch08/_placeholder_.txt -------------------------------------------------------------------------------- /ch09/_placeholder_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch09/_placeholder_.txt -------------------------------------------------------------------------------- /ch10/_placeholder_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Design-Patterns-with-Qt-5/HEAD/ch10/_placeholder_.txt --------------------------------------------------------------------------------