casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Slots | Private Attributes
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_
 
     

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 45 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.

Destructor.


Member Function Documentation

Gets/Sets the currently set events flag.

Gets/Sets the currently set filename.

Gets/Sets the currently set priority.

void casa::PlotMSLoggerWidget::setFilename ( const String filename)
void casa::PlotMSLoggerWidget::widgetChanged ( ) [private, slot]

Slot for when the widget changes.


Member Data Documentation

Last set events flag.

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

Combo check box for events.

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

Event values for the combo box indices.

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

     

Last set filename.

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

Widget for editing filename.

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

Last set priority.

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

Combo box.

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


The documentation for this class was generated from the following file: