Widget to set log events and priority filter. More...
#include <PlotMSLoggerWidget.qo.h>
Public Member Functions | |
| PlotMSLoggerWidget (const String &filename, int events, LogMessage::Priority priority, int maxWidth, bool editFilename=true, bool editPriority=true, QWidget *parent=NULL) | |
| Constructor which takes the maximum width for the widget and an optional parent. | |
| ~PlotMSLoggerWidget () | |
| Destructor. | |
| String | filename () const |
| Gets/Sets the currently set filename. | |
| void | setFilename (const String &filename) |
| int | events () const |
| Gets/Sets the currently set events flag. | |
| void | setEvents (int events) |
| LogMessage::Priority | priority () const |
| Gets/Sets the currently set priority. | |
| void | setPriority (LogMessage::Priority priority) |
Private Slots | |
| void | widgetChanged () |
| Slot for when the widget changes. | |
Private Attributes | |
| String | itsFilename_ |
| Last set filename. | |
| QtFileWidget * | itsFilenameWidget_ |
| Widget for editing filename. | |
| int | itsEvents_ |
| Last set events flag. | |
| QtComboCheckBox * | itsEventsBox_ |
| Combo check box for events. | |
| QList< int > | itsEventsIndexValues_ |
| Event values for the combo box indices. | |
| LogMessage::Priority | itsPriority_ |
| Last set priority. | |
| QComboBox * | itsPriorityBox_ |
| Combo box. | |
Widget to set log events and priority filter.
Definition at line 42 of file PlotMSLoggerWidget.qo.h.
| casa::PlotMSLoggerWidget::PlotMSLoggerWidget | ( | const String & | filename, | |
| int | events, | |||
| LogMessage::Priority | priority, | |||
| int | maxWidth, | |||
| bool | editFilename = true, |
|||
| bool | editPriority = true, |
|||
| QWidget * | parent = NULL | |||
| ) |
Constructor which takes the maximum width for the widget and an optional parent.
MUST be created after plotms' extended log types have already been registered with PlotLogger.
| casa::PlotMSLoggerWidget::~PlotMSLoggerWidget | ( | ) |
Destructor.
| int casa::PlotMSLoggerWidget::events | ( | ) | const |
Gets/Sets the currently set events flag.
| String casa::PlotMSLoggerWidget::filename | ( | ) | const |
Gets/Sets the currently set filename.
| LogMessage::Priority casa::PlotMSLoggerWidget::priority | ( | ) | const |
Gets/Sets the currently set priority.
| void casa::PlotMSLoggerWidget::setEvents | ( | int | events | ) |
| void casa::PlotMSLoggerWidget::setFilename | ( | const String & | filename | ) |
| void casa::PlotMSLoggerWidget::setPriority | ( | LogMessage::Priority | priority | ) |
| void casa::PlotMSLoggerWidget::widgetChanged | ( | ) | [private, slot] |
Slot for when the widget changes.
int casa::PlotMSLoggerWidget::itsEvents_ [private] |
Last set events flag.
Definition at line 83 of file PlotMSLoggerWidget.qo.h.
Combo check box for events.
Definition at line 86 of file PlotMSLoggerWidget.qo.h.
QList<int> casa::PlotMSLoggerWidget::itsEventsIndexValues_ [private] |
Event values for the combo box indices.
Definition at line 89 of file PlotMSLoggerWidget.qo.h.
String casa::PlotMSLoggerWidget::itsFilename_ [private] |
Last set filename.
Definition at line 77 of file PlotMSLoggerWidget.qo.h.
Widget for editing filename.
Definition at line 80 of file PlotMSLoggerWidget.qo.h.
LogMessage::Priority casa::PlotMSLoggerWidget::itsPriority_ [private] |
Last set priority.
Definition at line 92 of file PlotMSLoggerWidget.qo.h.
QComboBox* casa::PlotMSLoggerWidget::itsPriorityBox_ [private] |
Combo box.
Definition at line 95 of file PlotMSLoggerWidget.qo.h.
1.6.1