MAK RTIspy API Documentation for HLA 1516
List of all members | Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
DtAssistantConfigWidget Class Reference

Widget which can be added as a configuration page to the DtAssistantConfigDialog. More...

+ Inheritance diagram for DtAssistantConfigWidget:
+ Collaboration diagram for DtAssistantConfigWidget:

Signals

void enablePrefAccept ()
 Emitted to indicate that the accept button can be enabled.
void disablePrefAccept ()
 Emitted to indicate that the accept button should be disabled.

Public Member Functions

 DtAssistantConfigWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor.
virtual ~DtAssistantConfigWidget ()
 Destructor.
virtual QString reasonForDisabledAccept () const
 If the widget has disabled the accept button, returns the reason why.

Protected Member Functions

virtual void setAcceptEnabled (bool enabled, const QString &reasonForDisable)
 Sets whether or not accept is enabled.

Private Member Functions

 DtAssistantConfigWidget (DtAssistantConfigWidget const &)
 Copy constructor not implemented.
DtAssistantConfigWidgetoperator= (DtAssistantConfigWidget const &)
 Assignment operator not implemented.

Private Attributes

QString myReasonForAcceptDisable
 The reason why this widget has diabled the accept option.

Detailed Description

Widget which can be added as a configuration page to the DtAssistantConfigDialog.

Constructor & Destructor Documentation

DtAssistantConfigWidget::DtAssistantConfigWidget ( QWidget parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

DtAssistantConfigWidget::~DtAssistantConfigWidget ( )
virtual

Destructor.

DtAssistantConfigWidget::DtAssistantConfigWidget ( DtAssistantConfigWidget const &  )
private

Copy constructor not implemented.

Member Function Documentation

void DtAssistantConfigWidget::disablePrefAccept ( )
signal

Emitted to indicate that the accept button should be disabled.

Referenced by setAcceptEnabled().

void DtAssistantConfigWidget::enablePrefAccept ( )
signal

Emitted to indicate that the accept button can be enabled.

Referenced by setAcceptEnabled().

DtAssistantConfigWidget& DtAssistantConfigWidget::operator= ( DtAssistantConfigWidget const &  )
private

Assignment operator not implemented.

QString DtAssistantConfigWidget::reasonForDisabledAccept ( ) const
virtual

If the widget has disabled the accept button, returns the reason why.

Will be an empty string if accept is enabled.

References myReasonForAcceptDisable.

void DtAssistantConfigWidget::setAcceptEnabled ( bool  enabled,
const QString &  reasonForDisable 
)
protectedvirtual

Sets whether or not accept is enabled.

Reimplemented in DtAssistantConnQueryWidget, and DtAssistantConnConfigWidget.

References disablePrefAccept(), enablePrefAccept(), and myReasonForAcceptDisable.

Member Data Documentation

QString DtAssistantConfigWidget::myReasonForAcceptDisable
private

The reason why this widget has diabled the accept option.

Referenced by reasonForDisabledAccept(), and setAcceptEnabled().


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

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)