Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | List of all members
itasca::IGUIInput Class Referenceabstract

The interface to graphics user interface input functionality. More...

#include <iguiinput.h>

Public Member Functions

virtual QVariant notify (const QVariant &arg1, const QVariant &arg2, const QVariant &arg3)=0
 Notifies kernel. This function blocks and may throw a quit exception.
 
virtual int messageBox (const QString &caption, const QString &text, int type)=0
 
virtual QString inputBox (const QString &message, const QString &starting)=0
 
virtual void saveProject (const string &filename, bool interactive, bool autoSave)=0
 If filename is null, use the current project file name.
 
virtual void restoreProject (const string &filename, bool interactive, const string &doc)=0
 
virtual QStringList getProjectMasterFileNames ()=0
 

Detailed Description

The interface to graphics user interface input functionality.

Member Function Documentation

◆ inputBox()

virtual QString itasca::IGUIInput::inputBox ( const QString & message,
const QString & starting )
pure virtual

Used to ask user to enter a value

Parameters
messagethe prompt messsage
startingReturns user output. This function blocks and may throw a quit exception.

◆ messageBox()

virtual int itasca::IGUIInput::messageBox ( const QString & caption,
const QString & text,
int type )
pure virtual

Displays a message box to the user.

Parameters
captionmessage box caption
texttext that will be displayed to user
typemessage box type Returns the type chosen by user. This function blocks and may throw a quit exception.

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