![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Dialog which allows a user to set MAK_RTIDIR, RTI_RID_FILE, and the PATH environment variables. More...
Inheritance diagram for DtRidChooser:
Collaboration diagram for DtRidChooser:Public Types | |
| enum | DtInstalledRtiColumns { Current = 0, InstalledPath, RidFile, RtiVersion } |
| typedef std::map < QTreeWidgetItem *, DtRtiChooserCache::DtInstalledRTIInformation > | DtWidgetToPathMapType |
Public Slots | |
| void | showEditRTIConfigDialog () |
| void | showAddRTIConfigDialog () |
| void | removeRTIConfig () |
| void | showFullPaths (bool show) const |
| void | enableDisableSaveButton () |
| void | userSystemChanged () |
| void | accept (bool silent=false) |
| void | reject () |
| void | startTheAssistant () |
| void | checkAssistantShutdownThread () |
| void | timedOutDialogAccepted () |
Public Member Functions | |
| DtRidChooser (const MAKRti::DtString &defaultDirectory, bool useSystem=false) | |
| Constructor. | |
| virtual | ~DtRidChooser () |
| Destructor. | |
| virtual void | addKnownRTI (DtRtiChooserCache::DtInstalledRTIInformation &newRti, QTreeWidgetItem *location=0) |
| virtual void | knownRtis (std::set< DtRtiChooserCache::DtInstalledRTIInformation > &rtis) const |
| virtual void | refreshTree () const |
| virtual bool | isDuplicateRTI (DtRtiChooserCache::DtInstalledRTIInformation info, QTreeWidgetItem **item=0) const |
| virtual void | applyIcons () |
| virtual MAKRti::DtString | findCurrentRtiLibWithSpecifiedRtiDir (const MAKRti::DtString &specifiedRtiDir, bool isSystem) const |
| virtual MAKRti::DtString | findCurrentRtiLib (MAKRti::DtString path) const |
| virtual MAKRti::DtString | findCurrentRtiLib () const |
| virtual bool | validateSelection (DtWidgetToPathMapType::const_iterator found, bool &shouldExit) const |
| virtual bool | findInfoByPath (DtRtiChooserCache::DtInstalledRTIInformation &found, MAKRti::DtString path) const |
| virtual void | removeMakEnvVars () |
| virtual bool | setSelectedAndAccept (DtRtiChooserCache::DtInstalledRTIInformation &info, bool silent=false) |
Static Public Member Functions | |
| static void | processStartupAssistant (void *owner) |
Protected Attributes | |
| Ui_ridChooserDialog * | myUiImpl |
| std::set < DtRtiChooserCache::DtInstalledRTIInformation > | myInstalledRTIInfos |
| DtWidgetToPathMapType | myTreeToInfoMap |
| bool | myDialogClosing |
| MAKRti::DtString | myDefaultDir |
| bool | myUseSystemPath |
| bool | myShowingFullPaths |
| QTreeWidgetItem * | myChosenRTITreeWidget |
| QIcon | myCurrentRtiIcon |
| QIcon | myInvalidCurrentRtiIcon |
| QDialog * | myShutdownDialog |
| QLabel * | myShutdownLabel |
| QHBoxLayout * | myCentralLayout |
| QDialog * | myTimedOutDialog |
| QLabel * | myTimedOutLabel |
| QPushButton * | myTimedOutButton |
| QVBoxLayout * | myTimedOutCentralLayout |
| bool | myIsSilent |
| bool | myHasFinished |
| bool | myShouldStartAssistant |
| bool | myShouldAccept |
| std::pair< void *, void * > | myProcessInfo |
| QTimer * | myTimer |
Dialog which allows a user to set MAK_RTIDIR, RTI_RID_FILE, and the PATH environment variables.
| typedef std::map<QTreeWidgetItem*, DtRtiChooserCache::DtInstalledRTIInformation > DtRidChooser::DtWidgetToPathMapType |
| DtRidChooser::DtRidChooser | ( | const MAKRti::DtString & | defaultDirectory, |
| bool | useSystem = false |
||
| ) |
Constructor.
References checkAssistantShutdownThread(), connect(), Current, DtRtiLibPath(), enableDisableSaveButton(), InstalledPath, myCentralLayout, myCurrentRtiIcon, myInvalidCurrentRtiIcon, myShutdownDialog, myShutdownLabel, myTimedOutButton, myTimedOutCentralLayout, myTimedOutDialog, myTimedOutLabel, myTimer, myUiImpl, myUseSystemPath, NULL, RidFile, RtiVersion, and timedOutDialogAccepted().
|
virtual |
Destructor.
References myDialogClosing, myTimer, myTreeToInfoMap, and myUiImpl.
|
slot |
References Current, msecBetweenUpdates, myChosenRTITreeWidget, myCurrentRtiIcon, myHasFinished, myIsSilent, myProcessInfo, myShouldAccept, myShouldStartAssistant, myShutdownDialog, myTimer, myTreeToInfoMap, myUiImpl, NULL, reject(), removeMakEnvVars(), shutdownAssistant(), startTheAssistant(), and validateSelection().
Referenced by setSelectedAndAccept(), startTheAssistant(), and timedOutDialogAccepted().
|
virtual |
References DtAddRTIInstallToChooser::findVersionFromDirectoryString(), DtRtiChooserCache::DtInstalledRTIInformation::myPathOfInstalledRTI, myTreeToInfoMap, myUiImpl, DtRtiChooserCache::DtInstalledRTIInformation::myVersion, and refreshTree().
Referenced by applyIcons(), showAddRTIConfigDialog(), and showEditRTIConfigDialog().
|
virtual |
References addKnownRTI(), Current, findCurrentRtiLib(), DtAddRTIInstallToChooser::findVersionFromDirectoryString(), isDuplicateRTI(), myChosenRTITreeWidget, myCurrentRtiIcon, myInvalidCurrentRtiIcon, DtRtiChooserCache::DtInstalledRTIInformation::myPathOfInstalledRTI, DtRtiChooserCache::DtInstalledRTIInformation::myRidToUseWithInstalledRTI, myUiImpl, DtRtiChooserCache::DtInstalledRTIInformation::myUseDefaultRidFile, and DtRtiChooserCache::DtInstalledRTIInformation::myVersion.
|
slot |
References myShutdownDialog, myTimedOutDialog, myTimer, startTheAssistant(), and true.
Referenced by DtRidChooser().
|
slot |
References myDialogClosing, and myUiImpl.
Referenced by DtRidChooser().
|
virtual |
References DtRtiSearchPathList().
|
virtual |
Referenced by applyIcons(), and findCurrentRtiLibWithSpecifiedRtiDir().
|
virtual |
References findCurrentRtiLib().
Referenced by validateSelection().
|
virtual |
References myTreeToInfoMap.
|
virtual |
References myTreeToInfoMap.
Referenced by applyIcons(), setSelectedAndAccept(), showAddRTIConfigDialog(), and showEditRTIConfigDialog().
|
virtual |
References myTreeToInfoMap.
|
static |
|
virtual |
References myUiImpl, and showFullPaths().
Referenced by addKnownRTI(), removeRTIConfig(), showAddRTIConfigDialog(), and showEditRTIConfigDialog().
|
slot |
Referenced by accept().
|
virtual |
Referenced by accept().
|
slot |
References myDialogClosing, myTreeToInfoMap, myUiImpl, and refreshTree().
|
virtual |
References accept(), isDuplicateRTI(), and myUiImpl.
|
slot |
References addKnownRTI(), InstalledPath, isDuplicateRTI(), myDefaultDir, myDialogClosing, myUiImpl, refreshTree(), RidFile, and showFullPaths().
Referenced by showEditRTIConfigDialog().
|
slot |
References addKnownRTI(), DtAddRTIInstallToChooser::findVersionFromDirectoryString(), DtAddRTIInstallToChooser::getInfo(), isDuplicateRTI(), myDialogClosing, DtRtiChooserCache::DtInstalledRTIInformation::myPathOfInstalledRTI, DtRtiChooserCache::DtInstalledRTIInformation::myRidToUseWithInstalledRTI, myTreeToInfoMap, myUiImpl, DtRtiChooserCache::DtInstalledRTIInformation::myUseDefaultRidFile, DtRtiChooserCache::DtInstalledRTIInformation::myVersion, refreshTree(), and showAddRTIConfigDialog().
|
slot |
References InstalledPath, myDialogClosing, myTreeToInfoMap, RidFile, and RtiVersion.
Referenced by refreshTree(), and showAddRTIConfigDialog().
|
slot |
References accept(), myHasFinished, myIsSilent, myProcessInfo, myShouldAccept, myShouldStartAssistant, myShutdownDialog, myUiImpl, NULL, and startupAssistant().
Referenced by accept(), and checkAssistantShutdownThread().
|
slot |
References accept(), myHasFinished, myShouldAccept, and myTimedOutDialog.
Referenced by DtRidChooser().
|
slot |
References myUiImpl, and myUseSystemPath.
|
virtual |
References findCurrentRtiLibWithSpecifiedRtiDir(), and myUiImpl.
Referenced by accept().
|
protected |
Referenced by DtRidChooser().
|
protected |
Referenced by accept(), and applyIcons().
|
protected |
Referenced by accept(), applyIcons(), and DtRidChooser().
|
protected |
Referenced by showAddRTIConfigDialog().
|
protected |
|
protected |
Referenced by accept(), startTheAssistant(), and timedOutDialogAccepted().
|
protected |
|
protected |
Referenced by applyIcons(), and DtRidChooser().
|
protected |
Referenced by accept(), and startTheAssistant().
|
protected |
Referenced by accept(), and startTheAssistant().
|
protected |
Referenced by accept(), startTheAssistant(), and timedOutDialogAccepted().
|
protected |
Referenced by accept(), and startTheAssistant().
|
protected |
|
protected |
Referenced by accept(), checkAssistantShutdownThread(), DtRidChooser(), and startTheAssistant().
|
protected |
Referenced by DtRidChooser().
|
protected |
Referenced by DtRidChooser().
|
protected |
Referenced by DtRidChooser().
|
protected |
Referenced by checkAssistantShutdownThread(), DtRidChooser(), and timedOutDialogAccepted().
|
protected |
Referenced by DtRidChooser().
|
protected |
Referenced by accept(), checkAssistantShutdownThread(), DtRidChooser(), and ~DtRidChooser().
|
protected |
Referenced by accept(), addKnownRTI(), findInfoByPath(), isDuplicateRTI(), knownRtis(), removeRTIConfig(), showEditRTIConfigDialog(), showFullPaths(), and ~DtRidChooser().
|
protected |
|
protected |
Referenced by DtRidChooser(), and userSystemChanged().