PrintWidget provide a basic print widget.
More...
#include <printwidget.h>
PrintWidget provide a basic print widget.
◆ PrintWidget()
PrintWidget::PrintWidget |
( |
bool |
showAllControls = true , |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
Make a new PrintWidget.
- Parameters
-
showAllControls | if true show Print , Emergency Stop and On Pause Controls |
parent | Parent of this widget. |
◆ emergencyStopPressed
void PrintWidget::emergencyStopPressed |
( |
| ) |
|
|
signal |
◆ fanSpeedChanged
void PrintWidget::fanSpeedChanged |
( |
const int |
speed, |
|
|
const int |
fanNum |
|
) |
| |
|
signal |
The Fan Speed has Changed.
- Parameters
-
speed | : new Speed. |
fanNum | : fan to set the speed on. |
◆ flowRateChanged
void PrintWidget::flowRateChanged |
( |
const int |
rate | ) |
|
|
signal |
◆ printPressed
void PrintWidget::printPressed |
( |
| ) |
|
|
signal |
printPressed Users requested to print a file.
◆ printSpeedChanged
void PrintWidget::printSpeedChanged |
( |
const int |
speed | ) |
|
|
signal |
◆ setPrintText()
void PrintWidget::setPrintText |
( |
const QString & |
text | ) |
|
set Post Pause string text.
- Parameters
-
◆ updateFanCount()
void PrintWidget::updateFanCount |
( |
const int |
count | ) |
|
Update Fan count.
- Parameters
-
◆ buttonPrint
QPushButton* PrintWidget::buttonPrint = nullptr |
|
private |
◆ comboFanSelect
QComboBox* PrintWidget::comboFanSelect = nullptr |
|
private |
◆ linePostPause
QLineEdit* PrintWidget::linePostPause = nullptr |
|
private |
◆ sbFanSpeed
QSpinBox* PrintWidget::sbFanSpeed = nullptr |
|
private |
◆ sbFlowRate
QSpinBox* PrintWidget::sbFlowRate = nullptr |
|
private |
◆ sbPrintSpeed
QSpinBox* PrintWidget::sbPrintSpeed = nullptr |
|
private |
The documentation for this class was generated from the following files: