qpidctrl
0.7.1
|
#include <qpidmainwindow.h>
Public Slots | |
void | printMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) |
void | criticalMessage (QString msg) |
void | graphChannelNames (QStringList names) |
void | graphChannelValues (QcepDoubleList values) |
void | updateDevicesMenu () |
Public Member Functions | |
QPidMainWindow (QPidControllerWPtr ctl, QWidget *parent=0) | |
~QPidMainWindow () | |
void | start () |
bool | wantToClose () |
void | closeEvent (QCloseEvent *event) |
void | saveSplitterState (QPidSettings *settings) |
void | restoreSplitterState (QPidSettings *settings) |
Private Slots | |
void | quitApplication () |
void | editSettings () |
void | changeSetpoint () |
void | autoTune () |
void | rampTemperature () |
void | configureGraph () |
void | deviceConfiguration () |
void | onStartController () |
void | onStopController () |
void | onControllerStatusChanged (int newStatus) |
void | onRestartController () |
void | loadSettings () |
void | saveSettings () |
void | onInputChannelChanged (QString name, QString units) |
void | onOutputChannelChanged (QString name, QString units) |
void | onGraphSelectionChanged (int row, int col) |
void | updateGraphCurves () |
void | commandEntered () |
void | chooseLoggingFile () |
Private Member Functions | |
QwtPlotCurve * | newPlotCurve (int n, QString title) |
void | saveObjectSplitterState (QObject *object, QPidSettings *settings, int *counter) |
void | restoreObjectSplitterState (QObject *object, QPidSettings *settings, int *counter, int nsplitters) |
void | enableControllerActions (int canStart, int canStop, int canRestart) |
Private Attributes | |
Ui::QPidMainWindow * | ui |
QPidControllerWPtr | m_Controller |
QPointer< QPidSettingsDialog > | m_SettingsDialog |
QPointer< QPidSetPointDialog > | m_SetPoint |
QPointer< QPidAutoTuneDialog > | m_AutoTune |
QPointer< QPidRampDialog > | m_Ramp |
QPointer < QPidConfigureGraphDialog > | m_ConfigureGraph |
QList< QwtPlotCurve * > | m_Curves |
QSignalMapper * | m_DeviceDefaultMapper |
Definition at line 19 of file qpidmainwindow.h.
|
explicit |
Definition at line 17 of file qpidmainwindow.cpp.
References autoTune(), changeSetpoint(), chooseLoggingFile(), commandEntered(), configureGraph(), deviceConfiguration(), editSettings(), loadSettings(), m_Controller, m_DeviceDefaultMapper, onControllerStatusChanged(), onRestartController(), onStartController(), onStopController(), quitApplication(), rampTemperature(), saveSettings(), ui, and updateDevicesMenu().
QPidMainWindow::~QPidMainWindow | ( | ) |
Definition at line 102 of file qpidmainwindow.cpp.
References ui.
|
privateslot |
Definition at line 316 of file qpidmainwindow.cpp.
References m_AutoTune, and m_Controller.
Referenced by QPidMainWindow().
|
privateslot |
Definition at line 304 of file qpidmainwindow.cpp.
References m_Controller, and m_SetPoint.
Referenced by QPidMainWindow().
|
privateslot |
Definition at line 180 of file qpidmainwindow.cpp.
References m_Controller.
Referenced by QPidMainWindow().
void QPidMainWindow::closeEvent | ( | QCloseEvent * | event | ) |
Definition at line 144 of file qpidmainwindow.cpp.
References m_Controller, and wantToClose().
|
privateslot |
Definition at line 293 of file qpidmainwindow.cpp.
References m_Controller, and ui.
Referenced by QPidMainWindow().
|
privateslot |
Definition at line 340 of file qpidmainwindow.cpp.
References m_ConfigureGraph, and m_Controller.
Referenced by QPidMainWindow().
|
slot |
|
privateslot |
Definition at line 352 of file qpidmainwindow.cpp.
References m_Controller.
Referenced by QPidMainWindow().
|
privateslot |
Definition at line 168 of file qpidmainwindow.cpp.
References m_Controller, and m_SettingsDialog.
Referenced by QPidMainWindow().
|
private |
Definition at line 223 of file qpidmainwindow.cpp.
References ui.
Referenced by onControllerStatusChanged().
|
slot |
Definition at line 467 of file qpidmainwindow.cpp.
References DEBUG_GRAPHER, m_Controller, onGraphSelectionChanged(), printMessage(), ui, and updateGraphCurves().
Referenced by QPidController::onGraphedChannelNames().
|
slot |
Definition at line 511 of file qpidmainwindow.cpp.
References DEBUG_GRAPHER, m_Controller, m_Curves, printMessage(), and ui.
Referenced by QPidController::onGraphedChannelValues().
|
privateslot |
Definition at line 197 of file qpidmainwindow.cpp.
References m_Controller.
Referenced by QPidMainWindow().
|
private |
Definition at line 393 of file qpidmainwindow.cpp.
References NPENS, NSYMS, PenColors, and Symbols.
Referenced by updateGraphCurves().
|
privateslot |
Definition at line 230 of file qpidmainwindow.cpp.
References enableControllerActions(), QPidController::Error, m_Controller, QPidController::Paused, QPidController::Restarting, QPidController::Running, QPidController::Starting, QPidController::Stopped, QPidController::Stopping, and ui.
Referenced by QPidMainWindow().
|
privateslot |
Definition at line 549 of file qpidmainwindow.cpp.
References DEBUG_GRAPHER, m_Controller, printMessage(), ui, and updateGraphCurves().
Referenced by graphChannelNames().
|
privateslot |
|
privateslot |
|
privateslot |
Definition at line 284 of file qpidmainwindow.cpp.
References m_Controller.
Referenced by QPidMainWindow().
|
privateslot |
Definition at line 266 of file qpidmainwindow.cpp.
References m_Controller.
Referenced by QPidMainWindow().
|
privateslot |
Definition at line 275 of file qpidmainwindow.cpp.
References m_Controller.
Referenced by QPidMainWindow().
|
slot |
Definition at line 121 of file qpidmainwindow.cpp.
References ui.
Referenced by graphChannelNames(), graphChannelValues(), onGraphSelectionChanged(), and updateGraphCurves().
|
privateslot |
Definition at line 139 of file qpidmainwindow.cpp.
Referenced by QPidMainWindow().
|
privateslot |
Definition at line 328 of file qpidmainwindow.cpp.
References m_Controller, and m_Ramp.
Referenced by QPidMainWindow().
|
private |
Definition at line 612 of file qpidmainwindow.cpp.
Referenced by restoreSplitterState().
void QPidMainWindow::restoreSplitterState | ( | QPidSettings * | settings | ) |
Definition at line 578 of file qpidmainwindow.cpp.
References restoreObjectSplitterState().
Referenced by QPidController::readSettings().
|
private |
Definition at line 588 of file qpidmainwindow.cpp.
Referenced by saveSplitterState().
|
privateslot |
Definition at line 210 of file qpidmainwindow.cpp.
References m_Controller.
Referenced by QPidMainWindow().
void QPidMainWindow::saveSplitterState | ( | QPidSettings * | settings | ) |
Definition at line 568 of file qpidmainwindow.cpp.
References saveObjectSplitterState().
Referenced by QPidController::writeSettings().
void QPidMainWindow::start | ( | ) |
Definition at line 107 of file qpidmainwindow.cpp.
References m_Controller, and ui.
Referenced by QPidController::start().
|
slot |
Definition at line 643 of file qpidmainwindow.cpp.
References m_Controller, m_DeviceDefaultMapper, STRINGIFY, and ui.
Referenced by QPidMainWindow().
|
privateslot |
Definition at line 417 of file qpidmainwindow.cpp.
References DEBUG_GRAPHER, m_Controller, m_Curves, newPlotCurve(), printMessage(), and ui.
Referenced by graphChannelNames(), and onGraphSelectionChanged().
bool QPidMainWindow::wantToClose | ( | ) |
Definition at line 159 of file qpidmainwindow.cpp.
Referenced by closeEvent().
|
private |
Definition at line 78 of file qpidmainwindow.h.
Referenced by autoTune().
|
private |
Definition at line 80 of file qpidmainwindow.h.
Referenced by configureGraph().
|
private |
Definition at line 75 of file qpidmainwindow.h.
Referenced by autoTune(), changeSetpoint(), chooseLoggingFile(), closeEvent(), commandEntered(), configureGraph(), deviceConfiguration(), editSettings(), graphChannelNames(), graphChannelValues(), loadSettings(), onControllerStatusChanged(), onGraphSelectionChanged(), onRestartController(), onStartController(), onStopController(), QPidMainWindow(), rampTemperature(), saveSettings(), start(), updateDevicesMenu(), and updateGraphCurves().
|
private |
Definition at line 82 of file qpidmainwindow.h.
Referenced by graphChannelValues(), and updateGraphCurves().
|
private |
Definition at line 84 of file qpidmainwindow.h.
Referenced by QPidMainWindow(), and updateDevicesMenu().
|
private |
Definition at line 79 of file qpidmainwindow.h.
Referenced by rampTemperature().
|
private |
Definition at line 77 of file qpidmainwindow.h.
Referenced by changeSetpoint().
|
private |
Definition at line 76 of file qpidmainwindow.h.
Referenced by editSettings().
|
private |
Definition at line 74 of file qpidmainwindow.h.
Referenced by commandEntered(), criticalMessage(), enableControllerActions(), graphChannelNames(), graphChannelValues(), onControllerStatusChanged(), onGraphSelectionChanged(), onInputChannelChanged(), onOutputChannelChanged(), printMessage(), QPidMainWindow(), start(), updateDevicesMenu(), updateGraphCurves(), and ~QPidMainWindow().