Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEAbout Class Reference

#include <GNEAbout.h>

Inheritance diagram for GNEAbout:
[legend]
Collaboration diagram for GNEAbout:
[legend]

Public Member Functions

void create ()
 Creates the widget.
 
 GNEAbout (FXWindow *parent)
 Constructor.
 
FXuint openModalDialog (InternalTest *internalTests, FXuint placement=PLACEMENT_CURSOR)
 Run modal invocation of the dialog.
 
void runInternalTest (const InternalTestStep::DialogTest *dialogTest)
 run internal test
 
 ~GNEAbout ()
 Destructor.
 
FOX-callbacks
long onCmdAccept (FXObject *, FXSelector, void *)
 called when accept button is pressed
 
long onCmdCancel (FXObject *, FXSelector, void *)
 called when cancel button is pressed (or dialog is closed)
 
long onCmdInternalTest (FXObject *, FXSelector, void *ptr)
 event used in internal tests
 

Protected Attributes

bool myTesting = false
 flag to indicate if this dialog is being tested using internal test
 

Private Member Functions

FXuint execute (FXuint placement=PLACEMENT_CURSOR)
 make execute private
 

Private Attributes

FXFont * myHeadlineFont
 Font for the widget.
 

Detailed Description

Definition at line 30 of file GNEAbout.h.

Constructor & Destructor Documentation

◆ GNEAbout()

◆ ~GNEAbout()

GNEAbout::~GNEAbout ( )

Destructor.

Definition at line 88 of file GNEAbout.cpp.

References myHeadlineFont.

Member Function Documentation

◆ create()

void GNEAbout::create ( )

Creates the widget.

Definition at line 83 of file GNEAbout.cpp.

Referenced by GNEApplicationWindow::onCmdAbout().

Here is the caller graph for this function:

◆ execute()

FXuint MFXDialogBox::execute ( FXuint  placement = PLACEMENT_CURSOR)
privateinherited

make execute private

Definition at line 128 of file MFXDialogBox.cpp.

◆ onCmdAccept()

long MFXDialogBox::onCmdAccept ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

called when accept button is pressed

Definition at line 93 of file MFXDialogBox.cpp.

References MFXDialogBox::myTesting.

Referenced by FXDEFMAP(), and GNEAllowVClassesDialog::onCmdAccept().

Here is the caller graph for this function:

◆ onCmdCancel()

long MFXDialogBox::onCmdCancel ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

called when cancel button is pressed (or dialog is closed)

Definition at line 104 of file MFXDialogBox.cpp.

References MFXDialogBox::myTesting.

Referenced by FXDEFMAP(), FXDEFMAP(), GNEAllowVClassesDialog::onCmdAccept(), and GNEAllowVClassesDialog::onCmdCancel().

Here is the caller graph for this function:

◆ onCmdInternalTest()

long MFXDialogBox::onCmdInternalTest ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
inherited

event used in internal tests

Definition at line 115 of file MFXDialogBox.cpp.

References MFXDialogBox::runInternalTest().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ openModalDialog()

FXuint MFXDialogBox::openModalDialog ( InternalTest internalTests,
FXuint  placement = PLACEMENT_CURSOR 
)
inherited

Run modal invocation of the dialog.

Definition at line 64 of file MFXDialogBox.cpp.

References InternalTest::getCurrentStep(), InternalTestStep::getModalDialogTestSteps(), and MFXDialogBox::myTesting.

Referenced by GNETLSEditorFrame::TLSAttributes::onCmdParametersDialog(), GNEAllowVClassesDialog::openDialog(), GNEFixElementsDialog::openFixDialog(), GNEOptionsDialog::Options(), and GNEOptionsDialog::Run().

Here is the caller graph for this function:

◆ runInternalTest()

void GNEAbout::runInternalTest ( const InternalTestStep::DialogTest dialogTest)
virtual

run internal test

Reimplemented from MFXDialogBox.

Definition at line 94 of file GNEAbout.cpp.

Field Documentation

◆ myHeadlineFont

FXFont* GNEAbout::myHeadlineFont
private

Font for the widget.

Definition at line 47 of file GNEAbout.h.

Referenced by GNEAbout(), and ~GNEAbout().

◆ myTesting

bool MFXDialogBox::myTesting = false
protectedinherited

flag to indicate if this dialog is being tested using internal test

Definition at line 66 of file MFXDialogBox.h.

Referenced by MFXDialogBox::onCmdAccept(), MFXDialogBox::onCmdCancel(), and MFXDialogBox::openModalDialog().


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