casa::PlotMSLoggerWidget Class Reference

Widget to set log events and priority filter. More...

#include <PlotMSLoggerWidget.qo.h>

Inheritance diagram for casa::PlotMSLoggerWidget:
casa::QtEditingWidget

List of all members.

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.
QtFileWidgetitsFilenameWidget_
 Widget for editing filename.
int itsEvents_
 Last set events flag.
QtComboCheckBoxitsEventsBox_
 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.

Detailed Description

Widget to set log events and priority filter.

Definition at line 42 of file PlotMSLoggerWidget.qo.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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.

Event values for the combo box indices.

Definition at line 89 of file PlotMSLoggerWidget.qo.h.

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.

Combo box.

Definition at line 95 of file PlotMSLoggerWidget.qo.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1