SoMessageDialog Class Reference
[Dialog]

VSG extension Message Dialog node. More...

#include <DialogViz/dialog/SoMessageDialog.h>

Inheritance diagram for SoMessageDialog:

List of all members.

Public Types

enum  Type {
  MD_ERROR,
  MD_INFORMATION,
  MD_MESSAGE,
  MD_QUESTION,
  MD_WARNING,
  MD_WORKING
}

Public Member Functions

 SoMessageDialog ()
 SoMessageDialog (SbString MDText, SbString MDTitle, Type MDType)
virtual void show ()
virtual void close ()
void destroy ()

Public Attributes

SoSFEnum type
SoSFString title

Detailed Description

VSG extension Message Dialog node.

SEE ALSO

See related examples:

ShowAll, Simple, SetSkin, Simple3DMenu


Member Enumeration Documentation

Enumerator:
MD_ERROR 

Display the Error symbol.

MD_INFORMATION 

Display the international information symbol (an "i" with a circle around it).

MD_MESSAGE 

Display the default message symbol.

MD_QUESTION 

Display the question symbol (a "?" in a circle).

MD_WARNING 

Display the warning symbol (a "!" is displayed).

MD_WORKING 

Display a working window.


Constructor & Destructor Documentation

SoMessageDialog::SoMessageDialog (  ) 

Constructor.

SoMessageDialog::SoMessageDialog ( SbString  MDText,
SbString  MDTitle,
Type  MDType 
)

Special constructor : build the message dialog box with text, title and type properties, and show it next.


Member Function Documentation

virtual void SoMessageDialog::close (  )  [virtual]

Close the current working message dialog.

Only used with message dialog of type MD_WORKING

void SoMessageDialog::destroy (  )  [virtual]

Destroy the message dialog.

Reimplemented from SoDialogViz.

virtual void SoMessageDialog::show (  )  [virtual]

Show the MessageDialog widget.


Member Data Documentation

Title of the message dialog box.

Control the message dialog box type.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/