Changeset View
Changeset View
Standalone View
Standalone View
testclient/mainwindow.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 57 | private slots: | |||
---|---|---|---|---|---|
85 | */ | 85 | */ | ||
86 | void setConnectionWidgetsEnabled(bool enbled); | 86 | void setConnectionWidgetsEnabled(bool enbled); | ||
87 | /** | 87 | /** | ||
88 | * @brief Toggle disable state of dangerous docks | 88 | * @brief Toggle disable state of dangerous docks | ||
89 | * Command, Sd Card, Movement, Temperature Controls and Printing docks | 89 | * Command, Sd Card, Movement, Temperature Controls and Printing docks | ||
90 | * @param disabled: True if items are disabled. | 90 | * @param disabled: True if items are disabled. | ||
91 | */ | 91 | */ | ||
92 | void setDangeriousDocksDisabled(bool disabled); | 92 | void setDangeriousDocksDisabled(bool disabled); | ||
93 | 93 | /** | |||
94 | * @brief Called when atcore changes it temperature reporting mode | ||||
95 | * @param autoReport: True if using temperature auto reporting | ||||
patrickelectric: Need @param | |||||
96 | */ | ||||
97 | void updateAutoTemperatureReport(bool autoReport); | ||||
94 | private: | 98 | private: | ||
95 | AtCore *core; | 99 | AtCore *core; | ||
96 | // Define max number of fans | 100 | // Define max number of fans | ||
97 | static int fanCount; | 101 | static int fanCount; | ||
98 | 102 | | |||
99 | void closeEvent(QCloseEvent *event) override; | 103 | void closeEvent(QCloseEvent *event) override; | ||
100 | /** | 104 | /** | ||
101 | * @brief Locate serial port | 105 | * @brief Locate serial port | ||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | 142 | //Private GUI Items | |||
160 | void makeConnectDock(); | 164 | void makeConnectDock(); | ||
161 | QDockWidget *connectDock = nullptr; | 165 | QDockWidget *connectDock = nullptr; | ||
162 | QComboBox *comboPort = nullptr; | 166 | QComboBox *comboPort = nullptr; | ||
163 | QComboBox *comboBAUD = nullptr; | 167 | QComboBox *comboBAUD = nullptr; | ||
164 | QComboBox *comboPlugin = nullptr; | 168 | QComboBox *comboPlugin = nullptr; | ||
165 | QPushButton *buttonConnect = nullptr; | 169 | QPushButton *buttonConnect = nullptr; | ||
166 | QCheckBox *cbReset = nullptr; | 170 | QCheckBox *cbReset = nullptr; | ||
167 | QTimer *connectionTimer = nullptr; | 171 | QTimer *connectionTimer = nullptr; | ||
168 | 172 | QSpinBox *sbTemperatureTimer = nullptr; | |||
169 | void makeMoveDock(); | 173 | void makeMoveDock(); | ||
170 | QDockWidget *moveDock = nullptr; | 174 | QDockWidget *moveDock = nullptr; | ||
171 | MovementWidget *movementWidget = nullptr; | 175 | MovementWidget *movementWidget = nullptr; | ||
172 | 176 | | |||
173 | void makeTempControlsDock(); | 177 | void makeTempControlsDock(); | ||
174 | QDockWidget *tempControlsDock = nullptr; | 178 | QDockWidget *tempControlsDock = nullptr; | ||
175 | TemperatureWidget *temperatureWidget = nullptr; | 179 | TemperatureWidget *temperatureWidget = nullptr; | ||
176 | 180 | | |||
177 | void makeSdDock(); | 181 | void makeSdDock(); | ||
178 | QDockWidget *sdDock = nullptr; | 182 | QDockWidget *sdDock = nullptr; | ||
179 | SdWidget *sdWidget = nullptr; | 183 | SdWidget *sdWidget = nullptr; | ||
180 | }; | 184 | }; |
Need @param