1 == TI Thermostat Demo ==
3 Summary:
4 This software provides a demo thermostat application. All values are
5 initialized to hard-coded values first and then updated from the web
6 if internet options have been enabled. Each class defines a different
7 part of the user interface. They are defined as follows:
8 - Keyboard: provides a touch screen soft keyboard
9 This keyboard was looped in from another application and was
10 not written by me personally. It is the only part of the application
11 that uses a .ui file created using Qt Designer.
12 - awayscreen: provides the screen that defines the thermostat's function
13 when in AWAY MODE
14 - mainwindow: this base class provides the main screen. It acts as a
15 container for the themostatwidget, weatherwidget, and optionswidget
16 - optionswidget: this class provides a container for the 3 options buttons
17 allowing the user to pass control to the awayscreen, schedulescreen,
18 or settingscreen
19 - schedulescreen: this is by far the most complex class. It is the only
20 one which implements a graphics view in the place of traditional
21 widgets. It allows the user to set a weekly schedule
22 - settingscreen: this class allows the user to pick between a set of
23 predefined cities across the world and alternate between Celsius
24 and Fahrenheit
25 - schedulepoint: this class defines each of the 28 individual time points
26 within the schedulescreen. It is the only class derived from a
27 graphics item rather than a widget
28 - thermostatwidget: this class provides the widget that allows the user
29 to change the setpoint temperature and monitors the current indoor
30 temperature
31 - weatherwidget: this class provides the current outdoor temperature and
32 weather conditions along with a 3 day forecast
33 - webdata: this class is the only one that does not provide a ui element.
34 This class is reponsible for providing the underlying web functionality
35 More information can be found within each class definition.
37 Style:
38 Many of the style options were implemented using a style sheet. The style sheet
39 allows you to define the look and feel of the application. These parameters
40 are contained within thermostatdemo.qss