MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes
DtAssistantNotifyDialog Class Reference

Dialog widget to display important notifications and events by the RTI Assistant. More...

+ Inheritance diagram for DtAssistantNotifyDialog:
+ Collaboration diagram for DtAssistantNotifyDialog:

Public Slots

virtual void fadeDialog ()
 Fades the dialog another step. More...
 
virtual void hideDialog ()
 Clears and hides the dialog. More...
 

Signals

void showHistorySelected ()
 Signal which is emitted if the user chooses to view the notification history. More...
 
void faded ()
 Signal which is emitted if the dialog fades out without user acknowledgment. More...
 
void dismissed ()
 Signal which is emitted if the dialog is actively dismissed by the user. More...
 

Public Member Functions

 DtAssistantNotifyDialog (QWidget *parent, const QSystemTrayIcon *trayIcon)
 Constructor. More...
 
virtual ~DtAssistantNotifyDialog ()
 Destructor. More...
 
virtual void showNotification (const QString &notification, QColor color)
 Adds the notification text to the dialog and displays it if not currently visible. More...
 

Protected Member Functions

virtual void positionDialog ()
 Repositions the dialog relative to the tray icon. More...
 

Protected Attributes

Ui::AssistantNotifyDialog myUiImpl
 The GUI implementation of the widget. More...
 
QTimer * myTimer
 Timer used to timeout dialog and perform fading. More...
 
const QSystemTrayIcon * myTrayIcon
 The RTI Assistant tray icon is needed in order to determine the position of the notify dialog. More...
 
QSize myOriginalSize
 The original size of the dialog. More...
 

Detailed Description

Dialog widget to display important notifications and events by the RTI Assistant.

DtAssistantNotifyDialog is used by the Assistant to display brief notifications which may be of interest to the user. These notifications will appear in a temporary dialog near the Assistant tray icon and will fade out after several seconds.

Constructor & Destructor Documentation

DtAssistantNotifyDialog::DtAssistantNotifyDialog ( QWidget parent,
const QSystemTrayIcon *  trayIcon 
)

Constructor.

virtual DtAssistantNotifyDialog::~DtAssistantNotifyDialog ( )
virtual

Destructor.

Member Function Documentation

void DtAssistantNotifyDialog::dismissed ( )
signal

Signal which is emitted if the dialog is actively dismissed by the user.

void DtAssistantNotifyDialog::faded ( )
signal

Signal which is emitted if the dialog fades out without user acknowledgment.

virtual void DtAssistantNotifyDialog::fadeDialog ( )
virtualslot

Fades the dialog another step.

Dialog is hidden and the text is cleared once it reaches full transparency.

virtual void DtAssistantNotifyDialog::hideDialog ( )
virtualslot

Clears and hides the dialog.

virtual void DtAssistantNotifyDialog::positionDialog ( )
protectedvirtual

Repositions the dialog relative to the tray icon.

void DtAssistantNotifyDialog::showHistorySelected ( )
signal

Signal which is emitted if the user chooses to view the notification history.

virtual void DtAssistantNotifyDialog::showNotification ( const QString &  notification,
QColor  color 
)
virtual

Adds the notification text to the dialog and displays it if not currently visible.

Member Data Documentation

QSize DtAssistantNotifyDialog::myOriginalSize
protected

The original size of the dialog.

QTimer* DtAssistantNotifyDialog::myTimer
protected

Timer used to timeout dialog and perform fading.

const QSystemTrayIcon* DtAssistantNotifyDialog::myTrayIcon
protected

The RTI Assistant tray icon is needed in order to determine the position of the notify dialog.

Ui::AssistantNotifyDialog DtAssistantNotifyDialog::myUiImpl
protected

The GUI implementation of the widget.


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

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)