Changeset View
Changeset View
Standalone View
Standalone View
testclient/mainwindow.h
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Line(s) | 65 | private slots: | |||
---|---|---|---|---|---|
127 | void fanSpeedPBClicked(); | 127 | void fanSpeedPBClicked(); | ||
128 | 128 | | |||
129 | /** | 129 | /** | ||
130 | * @brief Print Button Clicked, can also pause /resue print based on printer state | 130 | * @brief Print Button Clicked, can also pause /resue print based on printer state | ||
131 | */ | 131 | */ | ||
132 | void printPBClicked(); | 132 | void printPBClicked(); | ||
133 | 133 | | |||
134 | /** | 134 | /** | ||
135 | * @brief Print Button for Sd Prints clicked. | ||||
136 | */ | ||||
137 | void sdPrintPBClicked(); | ||||
138 | /** | ||||
135 | * @brief Save the log file. | 139 | * @brief Save the log file. | ||
136 | */ | 140 | */ | ||
137 | void saveLogPBClicked(); | 141 | void saveLogPBClicked(); | ||
138 | 142 | | |||
139 | /** | 143 | /** | ||
140 | * @brief set printer speed clicked | 144 | * @brief set printer speed clicked | ||
141 | */ | 145 | */ | ||
142 | void printerSpeedPBClicked(); | 146 | void printerSpeedPBClicked(); | ||
Show All 28 Lines | |||||
171 | * @brief show/hide dock titlebars | 175 | * @brief show/hide dock titlebars | ||
172 | */ | 176 | */ | ||
173 | void toggleDockTitles(); | 177 | void toggleDockTitles(); | ||
174 | 178 | | |||
175 | /** | 179 | /** | ||
176 | * @brief Show the about dialog | 180 | * @brief Show the about dialog | ||
177 | */ | 181 | */ | ||
178 | void about(); | 182 | void about(); | ||
183 | | ||||
184 | /** | ||||
185 | * @brief List Files on the sd card. | ||||
186 | */ | ||||
187 | void getSdList(); | ||||
188 | | ||||
189 | /** | ||||
190 | * @brief Sd Card Delete file clicked | ||||
191 | */ | ||||
192 | void sdDelPBClicked(); | ||||
patrickelectric: pb_ ? this is not a code standard name. | |||||
rizzitello: Newest update has more standard names | |||||
193 | | ||||
179 | signals: | 194 | signals: | ||
180 | /** | 195 | /** | ||
181 | * @brief printFile emit ready to print a file to atcore | 196 | * @brief printFile emit ready to print a file to atcore | ||
182 | * @param fileName : the file to print | 197 | * @param fileName : the file to print | ||
198 | * @param sdPrint : True if file is on printers Sd Card | ||||
183 | */ | 199 | */ | ||
184 | void printFile(const QString &fileName); | 200 | void printFile(const QString &fileName, bool sdPrint = false); | ||
185 | 201 | | |||
186 | private: | 202 | private: | ||
187 | Ui::MainWindow *ui; | 203 | Ui::MainWindow *ui; | ||
188 | AtCore *core; | 204 | AtCore *core; | ||
189 | QTemporaryFile *logFile; | 205 | QTemporaryFile *logFile; | ||
190 | QTime *printTime; | 206 | QTime *printTime; | ||
191 | QTimer *printTimer; | 207 | QTimer *printTimer; | ||
192 | // Define max number of fans | 208 | // Define max number of fans | ||
▲ Show 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | |||||
264 | * @brief setupActions for KXMLGui | 280 | * @brief setupActions for KXMLGui | ||
265 | */ | 281 | */ | ||
266 | void setupActions(); | 282 | void setupActions(); | ||
267 | 283 | | |||
268 | /** | 284 | /** | ||
269 | * @brief Populate comboboxes | 285 | * @brief Populate comboboxes | ||
270 | */ | 286 | */ | ||
271 | void populateCBs(); | 287 | void populateCBs(); | ||
288 | | ||||
289 | /** | ||||
290 | * @brief Gui Changes for when sd card mount status has changed. | ||||
291 | */ | ||||
292 | void sdChanged(bool mounted); | ||||
272 | }; | 293 | }; |
pb_ ? this is not a code standard name.