casa
5.7.0-16
|
Widget to set log events and priority filter. More...
#include <PlotMSLoggerWidget.qo.h>
Public Member Functions | |
PlotMSLoggerWidget (const casacore::String &filename, int events, casacore::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. More... | |
~PlotMSLoggerWidget () | |
Destructor. More... | |
casacore::String | filename () const |
Gets/Sets the currently set filename. More... | |
void | setFilename (const casacore::String &filename) |
int | events () const |
Gets/Sets the currently set events flag. More... | |
void | setEvents (int events) |
casacore::LogMessage::Priority | priority () const |
Gets/Sets the currently set priority. More... | |
void | setPriority (casacore::LogMessage::Priority priority) |
Public Member Functions inherited from casa::QtEditingWidget | |
QtEditingWidget (QWidget *parent=NULL) | |
Constructor which takes an optional parent widget. More... | |
virtual | ~QtEditingWidget () |
Destructor. More... | |
virtual void | addRadioButtonsToGroup (QButtonGroup *group) const |
Adds any radio buttons in the widget to the given button group. More... | |
Private Slots | |
void | widgetChanged () |
Slot for when the widget changes. More... | |
Private Attributes | |
casacore::String | itsFilename_ |
Last set filename. More... | |
QtFileWidget * | itsFilenameWidget_ |
Widget for editing filename. More... | |
int | itsEvents_ |
Last set events flag. More... | |
QtComboCheckBox * | itsEventsBox_ |
Combo check box for events. More... | |
QList< int > | itsEventsIndexValues_ |
Event values for the combo box indices. More... | |
casacore::LogMessage::Priority | itsPriority_ |
Last set priority. More... | |
QComboBox * | itsPriorityBox_ |
Combo box. More... | |
Additional Inherited Members | |
Signals inherited from casa::QtEditingWidget | |
void | changed () |
This signal should be emitted whenever the user changes any value settings in the GUI. More... | |
void | differentFromSet () |
This signal should be emitted when the user changes any value settings in the GUI AND the new value is different from the last set value. More... | |
void | editDone () |
to change widget focus when editing done More... | |
Widget to set log events and priority filter.
Definition at line 42 of file PlotMSLoggerWidget.qo.h.
casa::PlotMSLoggerWidget::PlotMSLoggerWidget | ( | const casacore::String & | filename, |
int | events, | ||
casacore::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.
casacore::String casa::PlotMSLoggerWidget::filename | ( | ) | const |
Gets/Sets the currently set filename.
casacore::LogMessage::Priority casa::PlotMSLoggerWidget::priority | ( | ) | const |
Gets/Sets the currently set priority.
void casa::PlotMSLoggerWidget::setEvents | ( | int | events | ) |
void casa::PlotMSLoggerWidget::setFilename | ( | const casacore::String & | filename | ) |
void casa::PlotMSLoggerWidget::setPriority | ( | casacore::LogMessage::Priority | priority | ) |
|
privateslot |
Slot for when the widget changes.
|
private |
Last set events flag.
Definition at line 83 of file PlotMSLoggerWidget.qo.h.
|
private |
Combo check box for events.
Definition at line 86 of file PlotMSLoggerWidget.qo.h.
|
private |
Event values for the combo box indices.
Definition at line 89 of file PlotMSLoggerWidget.qo.h.
|
private |
Last set filename.
Definition at line 77 of file PlotMSLoggerWidget.qo.h.
|
private |
Widget for editing filename.
Definition at line 80 of file PlotMSLoggerWidget.qo.h.
|
private |
Last set priority.
Definition at line 92 of file PlotMSLoggerWidget.qo.h.
|
private |
Combo box.
Definition at line 95 of file PlotMSLoggerWidget.qo.h.