Aimsun Next Scripting  22
Public Member Functions | Public Attributes | List of all members
GAnyObjectChooserEditor Class Reference
Inheritance diagram for GAnyObjectChooserEditor:
GEditor

Public Member Functions

 GAnyObjectChooserEditor (QWidget *parent=0, Qt::WindowFlags fl=Qt::WindowFlags())
 
 ~GAnyObjectChooserEditor ()
 
GAnyObjectChoosergetChooser ()
 
void setShowNoObjectsMessage (bool)
 
int execDialog ()
 
- Public Member Functions inherited from GEditor
void accept ()
 
void reject ()
 

Public Attributes

MethodCode sipRes = sipCpp -> exec()
 

Constructor & Destructor Documentation

◆ GAnyObjectChooserEditor()

GAnyObjectChooserEditor::GAnyObjectChooserEditor ( QWidget *  parent = 0,
Qt::WindowFlags  fl = Qt::WindowFlags() 
)

◆ ~GAnyObjectChooserEditor()

GAnyObjectChooserEditor::~GAnyObjectChooserEditor ( )

Member Function Documentation

◆ execDialog()

int GAnyObjectChooserEditor::execDialog ( )

It opens the dialog as a modal dialog and returns either QDialog::Accepted (1) or QDialog::Rejected (0)

◆ getChooser()

GAnyObjectChooser * GAnyObjectChooserEditor::getChooser ( )

Gets the GAnyObjectChooser.

◆ setShowNoObjectsMessage()

void GAnyObjectChooserEditor::setShowNoObjectsMessage ( bool  )

If value is true then when the dialog is shown if there is not any object in the list of objects a message will appear informing about it. If value is false, then the default dialog will appear but with the OK button deactivated

Member Data Documentation

◆ sipRes

MethodCode GAnyObjectChooserEditor::sipRes = sipCpp -> exec()

© Aimsun SLU
Aimsun ®