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

#include <GNEPythonToolDialog.h>

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

Data Structures

class  CategoryOptions
 internal class used for sorting options by categories More...
 

Public Member Functions

const GNEPythonToolgetPythonTool () const
 get python tool
 
 GNEPythonToolDialog (GNEApplicationWindow *applicationWindow, GNEPythonTool *tool)
 Constructor.
 
void runInternalTest (const InternalTestStep::DialogArgument *dialogArgument)
 run internal test
 
 ~GNEPythonToolDialog ()
 destructor
 
FOX-callbacks
long onCmdShowToolTipsMenu (FXObject *, FXSelector, void *)
 enable/disable show toolTip
 
long onCmdSave (FXObject *, FXSelector, void *)
 save options
 
long onCmdLoad (FXObject *, FXSelector, void *)
 load options
 
long onCmdSetVisualization (FXObject *, FXSelector, void *)
 set visualization (sorting and grouping)
 
long onCmdRun (FXObject *, FXSelector, void *)
 event after press run button
 
long onCmdReset (FXObject *, FXSelector, void *)
 event after press reset button
 
long onUpdRequiredAttributes (FXObject *sender, FXSelector, void *)
 event for check if required attributes was set
 

Protected Types

basic dialog type
enum class  Buttons {
  OK , YES_NO , YES_NO_CANCEL , ACCEPT ,
  ACCEPT_CANCEL , ACCEPT_CANCEL_RESET , SAVE_DONTSAVE_CANCEL , RUN_CANCEL_RESET ,
  RUN_ADVANCED_CANCEL , RERUN_BACK_CLOSE
}
 
enum class  OpenType { MODAL , NON_MODAL }
 Open dialog type. More...
 

Protected Member Functions

void adjustParameterColumn ()
 adjust parameter column
 
void buildArguments (bool sortByName, bool groupedByCategories)
 build arguments
 
long closeDialogAborting ()
 close dialog aborting the changes
 
long closeDialogAccepting ()
 close dialog accepting the changes
 
long closeDialogCanceling ()
 close dialog declining the changes
 
 FOX_CONSTRUCTOR (GNEPythonToolDialog)
 FOX needs this.
 
FXVerticalFrame * getArgumentFrameLeft () const
 get argument frame left
 
FXVerticalFrame * getArgumentFrameRight () const
 get argument frame right
 
int getNumRowColums () const
 get number of row colums
 
std::vector< GNEPythonToolDialog::CategoryOptionsgetOptions (OptionsCont &optionsCont) const
 get options
 
std::vector< CategoryOptionsgetOptionsByCategories (OptionsCont &optionsCont) const
 get options sorted by category
 
void openDialog (FXWindow *focusableElement=nullptr)
 open dialog
 
void updateIcon (GUIIcon newIcon)
 update icon
 
void updateTitle (const std::string &newTitle)
 update title
 
FOX-callbacks
virtual long onCmdAccept (FXObject *, FXSelector, void *)
 called when accept or yes button is pressed (can be reimplemented in children)
 
virtual long onCmdCancel (FXObject *, FXSelector, void *)
 called when cancel or no button is pressed (can be reimplemented in children)
 
virtual long onCmdAbort (FXObject *, FXSelector, void *)
 called when abort is called either closing dialog or pressing abort button (can be reimplemented in children)
 
virtual long onCmdBack (FXObject *, FXSelector, void *)
 called when back button is pressed (must be reimplemented in children)
 
virtual long onCmdAdvanced (FXObject *, FXSelector, void *)
 called when advanced button is pressed (must be reimplemented in children)
 
long onKeyPress (FXObject *obj, FXSelector sel, void *ptr)
 called when user presses a key on the dialog
 
long onKeyRelease (FXObject *obj, FXSelector sel, void *ptr)
 called when user releases a key on the dialog
 

Protected Attributes

FXButton * myAbortButton = nullptr
 abort button
 
FXButton * myAcceptButton = nullptr
 accept button
 
FXButton * myAdvancedButton = nullptr
 advanced button
 
GNEApplicationWindowmyApplicationWindow = nullptr
 FOX needs this.
 
std::vector< GNEPythonToolDialogElements::Argument * > myArguments
 list of arguments sorted by categories
 
FXButton * myBackButton = nullptr
 back button
 
FXButton * myCancelButton = nullptr
 cancel button
 
std::vector< GNEPythonToolDialogElements::Category * > myCategories
 list of categories
 
FXVerticalFrame * myContentFrame = nullptr
 content frame
 
OptionsCont myCustomToolsOptions
 custom tools options
 
FXButton * myResetButton = nullptr
 reset button
 
Result myResult = Result::CANCEL
 result to indicate if this dialog was closed accepting or rejecting changes
 
FXButton * myRunButton = nullptr
 run button
 

Private Member Functions

void buildDialog (GUIIcon titleIcon, Buttons buttons)
 build dialog
 
 GNEPythonToolDialog (const GNEPythonToolDialog &)=delete
 Invalidated copy constructor.
 
GNEPythonToolDialogoperator= (const GNEPythonToolDialog &)=delete
 Invalidated assignment operator.
 

Private Attributes

FXVerticalFrame * myArgumentFrameLeft = nullptr
 argument frame left
 
FXVerticalFrame * myArgumentFrameRight = nullptr
 argument frame right
 
FXButton * myFocusButton = nullptr
 focus button, used for focusing the default button when dialog is opened
 
FXCheckButton * myGroupedCheckButton = nullptr
 check button to enable/diasble grouping
 
OpenType myOpenType
 open type
 
GNEPythonToolmyPythonTool = nullptr
 python tool
 
MFXCheckableButtonmyShowToolTipsMenu = nullptr
 menu for tooltips menu
 
FXCheckButton * mySortedCheckButton = nullptr
 check button to enable/diasble sorting
 
bool myTesting = false
 flag to indicate if this dialog is being tested using internal test
 

Friends

class GNEPythonToolDialogElements
 FOX-declaration.
 

Resize mode

Result getResult () const
 get result to indicate if this dialog was closed accepting or rejecting changes
 
GNEApplicationWindowgetApplicationWindow () const
 get pointer to the application window
 
FXVerticalFrame * getContentFrame () const
 get content frame
 
enum class  ResizeMode { STATIC , RESIZABLE }
 
enum class  Result { ACCEPT , CANCEL , ABORT }
 list of possible results when closing the dialog More...
 

Detailed Description

Definition at line 39 of file GNEPythonToolDialog.h.

Member Enumeration Documentation

◆ Buttons

enum class GNEDialog::Buttons
stronginherited
Enumerator
OK 
YES_NO 
YES_NO_CANCEL 
ACCEPT 
ACCEPT_CANCEL 
ACCEPT_CANCEL_RESET 
SAVE_DONTSAVE_CANCEL 
RUN_CANCEL_RESET 
RUN_ADVANCED_CANCEL 
RERUN_BACK_CLOSE 

Definition at line 41 of file GNEDialog.h.

◆ OpenType

enum class GNEDialog::OpenType
stronginherited

Open dialog type.

Enumerator
MODAL 
NON_MODAL 

Definition at line 55 of file GNEDialog.h.

◆ ResizeMode

enum class GNEDialog::ResizeMode
stronginherited
Enumerator
STATIC 
RESIZABLE 

Definition at line 61 of file GNEDialog.h.

◆ Result

enum class GNEDialog::Result
stronginherited

list of possible results when closing the dialog

Enumerator
ACCEPT 
CANCEL 
ABORT 

Definition at line 67 of file GNEDialog.h.

Constructor & Destructor Documentation

◆ GNEPythonToolDialog() [1/2]

◆ ~GNEPythonToolDialog()

GNEPythonToolDialog::~GNEPythonToolDialog ( )

destructor

Definition at line 107 of file GNEPythonToolDialog.cpp.

◆ GNEPythonToolDialog() [2/2]

GNEPythonToolDialog::GNEPythonToolDialog ( const GNEPythonToolDialog )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ adjustParameterColumn()

void GNEPythonToolDialog::adjustParameterColumn ( )
protected

adjust parameter column

Definition at line 307 of file GNEPythonToolDialog.cpp.

References MARGIN, and myArguments.

Referenced by buildArguments().

Here is the caller graph for this function:

◆ buildArguments()

void GNEPythonToolDialog::buildArguments ( bool  sortByName,
bool  groupedByCategories 
)
protected

build arguments

Definition at line 235 of file GNEPythonToolDialog.cpp.

References adjustParameterColumn(), GNEDialog::getApplicationWindow(), getOptions(), getOptionsByCategories(), GNEPythonTool::getToolsOptions(), myArgumentFrameLeft, myArgumentFrameRight, myArguments, myCategories, and myPythonTool.

Referenced by onCmdLoad(), and onCmdSetVisualization().

Here is the caller graph for this function:

◆ buildDialog()

◆ closeDialogAborting()

long GNEDialog::closeDialogAborting ( )
protectedinherited

close dialog aborting the changes

Definition at line 259 of file GNEDialog.cpp.

References GNEDialog::ABORT, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myResult, and GNEDialog::myTesting.

Referenced by GNEOverwriteElement::onCmdAbort(), GNETemplateElementDialog< T >::onCmdAbort(), GNEDialog::onCmdAbort(), and GNEDialog::onKeyPress().

Here is the caller graph for this function:

◆ closeDialogAccepting()

long GNEDialog::closeDialogAccepting ( )
protectedinherited

◆ closeDialogCanceling()

◆ FOX_CONSTRUCTOR()

GNEPythonToolDialog::FOX_CONSTRUCTOR ( GNEPythonToolDialog  )
protected

FOX needs this.

◆ getApplicationWindow()

◆ getArgumentFrameLeft()

FXVerticalFrame * GNEPythonToolDialog::getArgumentFrameLeft ( ) const
protected

get argument frame left

Definition at line 379 of file GNEPythonToolDialog.cpp.

References myArgumentFrameLeft.

◆ getArgumentFrameRight()

FXVerticalFrame * GNEPythonToolDialog::getArgumentFrameRight ( ) const
protected

get argument frame right

Definition at line 385 of file GNEPythonToolDialog.cpp.

References myArgumentFrameRight.

◆ getContentFrame()

FXVerticalFrame * GNEDialog::getContentFrame ( ) const
inherited

get content frame

Definition at line 99 of file GNEDialog.cpp.

References GNEDialog::myContentFrame.

Referenced by GNEVClassesDialog::GNEVClassesDialog().

Here is the caller graph for this function:

◆ getNumRowColums()

int GNEPythonToolDialog::getNumRowColums ( ) const
protected

get number of row colums

Definition at line 372 of file GNEPythonToolDialog.cpp.

References MAXNUMCOLUMNS, myArguments, and NUMROWSBYCOLUMN.

◆ getOptions()

std::vector< GNEPythonToolDialog::CategoryOptions > GNEPythonToolDialog::getOptions ( OptionsCont optionsCont) const
protected

get options

Definition at line 325 of file GNEPythonToolDialog.cpp.

References GNEPythonToolDialog::CategoryOptions::addOption().

Referenced by buildArguments().

Here is the caller graph for this function:

◆ getOptionsByCategories()

std::vector< GNEPythonToolDialog::CategoryOptions > GNEPythonToolDialog::getOptionsByCategories ( OptionsCont optionsCont) const
protected

get options sorted by category

Definition at line 337 of file GNEPythonToolDialog.cpp.

Referenced by buildArguments().

Here is the caller graph for this function:

◆ getPythonTool()

const GNEPythonTool * GNEPythonToolDialog::getPythonTool ( ) const

get python tool

Definition at line 117 of file GNEPythonToolDialog.cpp.

References myPythonTool.

◆ getResult()

GNEDialog::Result GNEDialog::getResult ( ) const
inherited

get result to indicate if this dialog was closed accepting or rejecting changes

Definition at line 87 of file GNEDialog.cpp.

References GNEDialog::myResult.

Referenced by GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), and GNERouteHandler::checkElement().

Here is the caller graph for this function:

◆ onCmdAbort()

long GNEDialog::onCmdAbort ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

called when abort is called either closing dialog or pressing abort button (can be reimplemented in children)

Reimplemented in GNEOverwriteElement, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, GNETemplateElementDialog< GNEDemandElement >, GNERunDialog, GNERunNetgenerateDialog, and GNERunPythonToolDialog.

Definition at line 117 of file GNEDialog.cpp.

References GNEDialog::closeDialogAborting().

Referenced by FXDEFMAP(), and GNEDialog::openDialog().

Here is the caller graph for this function:

◆ onCmdAccept()

◆ onCmdAdvanced()

long GNEDialog::onCmdAdvanced ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

called when advanced button is pressed (must be reimplemented in children)

Reimplemented in GNENetgenerateDialog.

Definition at line 141 of file GNEDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdBack()

long GNEDialog::onCmdBack ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

called when back button is pressed (must be reimplemented in children)

Reimplemented in GNERunNetgenerateDialog, GNERunPythonToolDialog, GNERunNetgenerateDialog, GNERunPythonToolDialog, and GNERunDialog.

Definition at line 135 of file GNEDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCancel()

long GNEDialog::onCmdCancel ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

called when cancel or no button is pressed (can be reimplemented in children)

Reimplemented in GNEOverwriteElement, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, GNETemplateElementDialog< GNEDemandElement >, GNEFilePathDialog, GNEVClassesDialog, GNENeteditOptionsDialog, GNENetgenerateOptionsDialog, GNESumoOptionsDialog, GNERunNetgenerateDialog, GNERunPythonToolDialog, and GNEGeometryPointDialog.

Definition at line 111 of file GNEDialog.cpp.

References GNEDialog::closeDialogCanceling().

Referenced by FXDEFMAP(), FXDEFMAP(), and GNEDialog::openDialog().

Here is the caller graph for this function:

◆ onCmdLoad()

long GNEPythonToolDialog::onCmdLoad ( FXObject *  ,
FXSelector  ,
void *   
)

load options

Definition at line 156 of file GNEPythonToolDialog.cpp.

References GNEDialog::ACCEPT, buildArguments(), GNEFileDialog::LOAD_SINGLE, GNEPythonTool::loadConfiguration(), GNEDialog::myApplicationWindow, myGroupedCheckButton, myPythonTool, mySortedCheckButton, GNEFileDialog::NETEDIT, TL, and SUMOXMLDefinitions::XMLFileExtensions.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReset()

long GNEPythonToolDialog::onCmdReset ( FXObject *  ,
FXSelector  ,
void *   
)
virtual

event after press reset button

Reimplemented from GNEDialog.

Definition at line 189 of file GNEPythonToolDialog.cpp.

References myArguments.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdRun()

long GNEPythonToolDialog::onCmdRun ( FXObject *  ,
FXSelector  ,
void *   
)
virtual

event after press run button

Reimplemented from GNEDialog.

Definition at line 180 of file GNEPythonToolDialog.cpp.

References GNEPythonTool::getMenuCommand(), MID_GNE_RUNPYTHONTOOL, GNEDialog::myApplicationWindow, and myPythonTool.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSave()

long GNEPythonToolDialog::onCmdSave ( FXObject *  ,
FXSelector  ,
void *   
)

save options

Definition at line 141 of file GNEPythonToolDialog.cpp.

References GNEDialog::ACCEPT, GNEDialog::myApplicationWindow, myPythonTool, GNEFileDialog::NETEDIT, GNEFileDialog::SAVE, GNEPythonTool::saveConfiguration(), TL, and SUMOXMLDefinitions::XMLFileExtensions.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetVisualization()

long GNEPythonToolDialog::onCmdSetVisualization ( FXObject *  ,
FXSelector  ,
void *   
)

set visualization (sorting and grouping)

Definition at line 172 of file GNEPythonToolDialog.cpp.

References buildArguments(), myGroupedCheckButton, and mySortedCheckButton.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdShowToolTipsMenu()

long GNEPythonToolDialog::onCmdShowToolTipsMenu ( FXObject *  ,
FXSelector  ,
void *   
)

enable/disable show toolTip

Definition at line 123 of file GNEPythonToolDialog.cpp.

References MFXCheckableButton::amChecked(), MFXStaticToolTip::enableStaticToolTip(), GUIGlChildWindow::getShowToolTipsMenu(), GUIMainWindow::getStaticTooltipMenu(), GNEApplicationWindow::getViewNet(), GNEViewNet::getViewParent(), GNEDialog::myApplicationWindow, myShowToolTipsMenu, and MFXCheckableButton::setChecked().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyPress()

long GNEDialog::onKeyPress ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)
inherited

called when user presses a key on the dialog

Definition at line 147 of file GNEDialog.cpp.

References GNEDialog::closeDialogAborting(), GNEApplicationWindow::getInternalTest(), GNEDialog::myApplicationWindow, and GNEDialog::myTesting.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyRelease()

long GNEDialog::onKeyRelease ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)
inherited

called when user releases a key on the dialog

Definition at line 163 of file GNEDialog.cpp.

References GNEApplicationWindow::getInternalTest(), GNEDialog::myApplicationWindow, and GNEDialog::myTesting.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdRequiredAttributes()

long GNEPythonToolDialog::onUpdRequiredAttributes ( FXObject *  sender,
FXSelector  ,
void *   
)

event for check if required attributes was set

Definition at line 199 of file GNEPythonToolDialog.cpp.

References myArguments.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ openDialog()

void GNEDialog::openDialog ( FXWindow *  focusableElement = nullptr)
protectedinherited

open dialog

Definition at line 173 of file GNEDialog.cpp.

References InternalTestStep::DialogArgument::ABORT, InternalTestStep::DialogArgument::ACCEPT, InternalTestStep::DialogArgument::CANCEL, InternalTestStep::DIALOG, GNEApplicationWindow::getInternalTest(), GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myFocusButton, GNEDialog::myOpenType, GNEDialog::myTesting, GNEDialog::onCmdAbort(), GNEDialog::onCmdAccept(), GNEDialog::onCmdCancel(), GNEDialog::onCmdReset(), InternalTestStep::DialogArgument::RESET, GNEDialog::runInternalTest(), and InternalTest::setNextStep().

Referenced by GNEAboutDialog::GNEAboutDialog(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEBasicDialog::GNEBasicDialog(), GNECalibratorDialog::GNECalibratorDialog(), GNEFileDialog::GNEFileDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEFixAdditionalElementsDialog::GNEFixAdditionalElementsDialog(), GNEFixDemandElementsDialog::GNEFixDemandElementsDialog(), GNEFixNetworkElements::GNEFixNetworkElements(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNENeteditOptionsDialog::GNENeteditOptionsDialog(), GNENetgenerateOptionsDialog::GNENetgenerateOptionsDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEParametersDialog::GNEParametersDialog(), GNERerouterDialog::GNERerouterDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), GNERunNetgenerateDialog::GNERunNetgenerateDialog(), GNERunPythonToolDialog::GNERunPythonToolDialog(), GNESumoOptionsDialog::GNESumoOptionsDialog(), GNEVariableSpeedSignDialog::GNEVariableSpeedSignDialog(), GNEVClassesDialog::GNEVClassesDialog(), and GNEVehicleTypeDialog::GNEVehicleTypeDialog().

Here is the caller graph for this function:

◆ operator=()

GNEPythonToolDialog & GNEPythonToolDialog::operator= ( const GNEPythonToolDialog )
privatedelete

Invalidated assignment operator.

◆ runInternalTest()

void GNEPythonToolDialog::runInternalTest ( const InternalTestStep::DialogArgument dialogArgument)
virtual

run internal test

Implements GNEDialog.

Definition at line 111 of file GNEPythonToolDialog.cpp.

◆ updateIcon()

void GNEDialog::updateIcon ( GUIIcon  newIcon)
protectedinherited

update icon

Definition at line 281 of file GNEDialog.cpp.

References GUIIconSubSys::getIcon().

Referenced by GNEFileDialog::GNEFileDialog().

Here is the caller graph for this function:

◆ updateTitle()

void GNEDialog::updateTitle ( const std::string &  newTitle)
protectedinherited

update title

Definition at line 275 of file GNEDialog.cpp.

Referenced by GNEFileDialog::GNEFileDialog().

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ GNEPythonToolDialogElements

FOX-declaration.

declare friend class

Definition at line 44 of file GNEPythonToolDialog.h.

Field Documentation

◆ myAbortButton

FXButton* GNEDialog::myAbortButton = nullptr
protectedinherited

abort button

Definition at line 144 of file GNEDialog.h.

Referenced by GNEDialog::buildDialog().

◆ myAcceptButton

FXButton* GNEDialog::myAcceptButton = nullptr
protectedinherited

accept button

Definition at line 138 of file GNEDialog.h.

Referenced by GNEDialog::buildDialog(), GNEFileDialog::GNEFileDialog(), and GNERunDialog::updateDialogButtons().

◆ myAdvancedButton

FXButton* GNEDialog::myAdvancedButton = nullptr
protectedinherited

advanced button

Definition at line 156 of file GNEDialog.h.

Referenced by GNEDialog::buildDialog(), and GNENetgenerateDialog::updateRunButtons().

◆ myApplicationWindow

◆ myArgumentFrameLeft

FXVerticalFrame* GNEPythonToolDialog::myArgumentFrameLeft = nullptr
private

argument frame left

Definition at line 154 of file GNEPythonToolDialog.h.

Referenced by buildArguments(), and getArgumentFrameLeft().

◆ myArgumentFrameRight

FXVerticalFrame* GNEPythonToolDialog::myArgumentFrameRight = nullptr
private

argument frame right

Definition at line 157 of file GNEPythonToolDialog.h.

Referenced by buildArguments(), and getArgumentFrameRight().

◆ myArguments

std::vector<GNEPythonToolDialogElements::Argument*> GNEPythonToolDialog::myArguments
protected

list of arguments sorted by categories

Definition at line 138 of file GNEPythonToolDialog.h.

Referenced by adjustParameterColumn(), buildArguments(), getNumRowColums(), onCmdReset(), and onUpdRequiredAttributes().

◆ myBackButton

FXButton* GNEDialog::myBackButton = nullptr
protectedinherited

back button

Definition at line 153 of file GNEDialog.h.

Referenced by GNEDialog::buildDialog(), and GNERunDialog::updateDialogButtons().

◆ myCancelButton

FXButton* GNEDialog::myCancelButton = nullptr
protectedinherited

cancel button

Definition at line 141 of file GNEDialog.h.

Referenced by GNEDialog::buildDialog().

◆ myCategories

std::vector<GNEPythonToolDialogElements::Category*> GNEPythonToolDialog::myCategories
protected

list of categories

Definition at line 141 of file GNEPythonToolDialog.h.

Referenced by buildArguments().

◆ myContentFrame

◆ myCustomToolsOptions

OptionsCont GNEPythonToolDialog::myCustomToolsOptions
protected

custom tools options

Definition at line 120 of file GNEPythonToolDialog.h.

◆ myFocusButton

FXButton* GNEDialog::myFocusButton = nullptr
privateinherited

focus button, used for focusing the default button when dialog is opened

Definition at line 181 of file GNEDialog.h.

Referenced by GNEDialog::buildDialog(), and GNEDialog::openDialog().

◆ myGroupedCheckButton

FXCheckButton* GNEPythonToolDialog::myGroupedCheckButton = nullptr
private

check button to enable/diasble grouping

Definition at line 151 of file GNEPythonToolDialog.h.

Referenced by onCmdLoad(), and onCmdSetVisualization().

◆ myOpenType

OpenType GNEDialog::myOpenType
privateinherited

◆ myPythonTool

GNEPythonTool* GNEPythonToolDialog::myPythonTool = nullptr
private

python tool

Definition at line 160 of file GNEPythonToolDialog.h.

Referenced by buildArguments(), getPythonTool(), onCmdLoad(), onCmdRun(), and onCmdSave().

◆ myResetButton

FXButton* GNEDialog::myResetButton = nullptr
protectedinherited

reset button

Definition at line 147 of file GNEDialog.h.

Referenced by GNEDialog::buildDialog().

◆ myResult

Result GNEDialog::myResult = Result::CANCEL
protectedinherited

result to indicate if this dialog was closed accepting or rejecting changes

Definition at line 159 of file GNEDialog.h.

Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), and GNEDialog::getResult().

◆ myRunButton

FXButton* GNEDialog::myRunButton = nullptr
protectedinherited

◆ myShowToolTipsMenu

MFXCheckableButton* GNEPythonToolDialog::myShowToolTipsMenu = nullptr
private

menu for tooltips menu

Definition at line 145 of file GNEPythonToolDialog.h.

Referenced by onCmdShowToolTipsMenu().

◆ mySortedCheckButton

FXCheckButton* GNEPythonToolDialog::mySortedCheckButton = nullptr
private

check button to enable/diasble sorting

Definition at line 148 of file GNEPythonToolDialog.h.

Referenced by onCmdLoad(), and onCmdSetVisualization().

◆ myTesting

bool GNEDialog::myTesting = false
privateinherited

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

Definition at line 187 of file GNEDialog.h.

Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), GNEDialog::onKeyPress(), GNEDialog::onKeyRelease(), and GNEDialog::openDialog().


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