![]() |
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: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().
| DtRidChooser::~DtRidChooser | ( | ) | [virtual] |
Destructor.
References myDialogClosing, myTimer, myTreeToInfoMap, and myUiImpl.
| void DtRidChooser::accept | ( | bool | silent = false | ) | [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().
| void DtRidChooser::addKnownRTI | ( | DtRtiChooserCache::DtInstalledRTIInformation & | newRti, |
| QTreeWidgetItem * | location = 0 |
||
| ) | [virtual] |
References DtAddRTIInstallToChooser::findVersionFromDirectoryString(), DtRtiChooserCache::DtInstalledRTIInformation::myPathOfInstalledRTI, myTreeToInfoMap, myUiImpl, DtRtiChooserCache::DtInstalledRTIInformation::myVersion, and refreshTree().
Referenced by applyIcons(), showAddRTIConfigDialog(), and showEditRTIConfigDialog().
| void DtRidChooser::applyIcons | ( | ) | [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.
| void DtRidChooser::checkAssistantShutdownThread | ( | ) | [slot] |
References myShutdownDialog, myTimedOutDialog, myTimer, startTheAssistant(), and true.
Referenced by DtRidChooser().
| void DtRidChooser::enableDisableSaveButton | ( | ) | [slot] |
References myDialogClosing, and myUiImpl.
Referenced by DtRidChooser().
| MAKRti::DtString DtRidChooser::findCurrentRtiLib | ( | MAKRti::DtString | path | ) | const [virtual] |
References DtRtiSearchPathList().
| MAKRti::DtString DtRidChooser::findCurrentRtiLib | ( | ) | const [virtual] |
Referenced by applyIcons(), and findCurrentRtiLibWithSpecifiedRtiDir().
| MAKRti::DtString DtRidChooser::findCurrentRtiLibWithSpecifiedRtiDir | ( | const MAKRti::DtString & | specifiedRtiDir, |
| bool | isSystem | ||
| ) | const [virtual] |
References findCurrentRtiLib().
Referenced by validateSelection().
| bool DtRidChooser::findInfoByPath | ( | DtRtiChooserCache::DtInstalledRTIInformation & | found, |
| MAKRti::DtString | path | ||
| ) | const [virtual] |
References myTreeToInfoMap.
| bool DtRidChooser::isDuplicateRTI | ( | DtRtiChooserCache::DtInstalledRTIInformation | info, |
| QTreeWidgetItem ** | item = 0 |
||
| ) | const [virtual] |
References myTreeToInfoMap.
Referenced by applyIcons(), setSelectedAndAccept(), showAddRTIConfigDialog(), and showEditRTIConfigDialog().
| void DtRidChooser::knownRtis | ( | std::set< DtRtiChooserCache::DtInstalledRTIInformation > & | rtis | ) | const [virtual] |
References myTreeToInfoMap.
| static void DtRidChooser::processStartupAssistant | ( | void * | owner | ) | [static] |
| void DtRidChooser::refreshTree | ( | ) | const [virtual] |
References myUiImpl, and showFullPaths().
Referenced by addKnownRTI(), removeRTIConfig(), showAddRTIConfigDialog(), and showEditRTIConfigDialog().
| void DtRidChooser::reject | ( | ) | [slot] |
Referenced by accept().
| void DtRidChooser::removeMakEnvVars | ( | ) | [virtual] |
Referenced by accept().
| void DtRidChooser::removeRTIConfig | ( | ) | [slot] |
References myDialogClosing, myTreeToInfoMap, myUiImpl, and refreshTree().
| bool DtRidChooser::setSelectedAndAccept | ( | DtRtiChooserCache::DtInstalledRTIInformation & | info, |
| bool | silent = false |
||
| ) | [virtual] |
References accept(), isDuplicateRTI(), and myUiImpl.
| void DtRidChooser::showAddRTIConfigDialog | ( | ) | [slot] |
References addKnownRTI(), InstalledPath, isDuplicateRTI(), myDefaultDir, myDialogClosing, myUiImpl, refreshTree(), RidFile, and showFullPaths().
Referenced by showEditRTIConfigDialog().
| void DtRidChooser::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().
| void DtRidChooser::showFullPaths | ( | bool | show | ) | const [slot] |
References InstalledPath, myDialogClosing, myTreeToInfoMap, RidFile, and RtiVersion.
Referenced by refreshTree(), and showAddRTIConfigDialog().
| void DtRidChooser::startTheAssistant | ( | ) | [slot] |
References accept(), myHasFinished, myIsSilent, myProcessInfo, myShouldAccept, myShouldStartAssistant, myShutdownDialog, myUiImpl, NULL, and startupAssistant().
Referenced by accept(), and checkAssistantShutdownThread().
| void DtRidChooser::timedOutDialogAccepted | ( | ) | [slot] |
References accept(), myHasFinished, myShouldAccept, and myTimedOutDialog.
Referenced by DtRidChooser().
| void DtRidChooser::userSystemChanged | ( | ) | [slot] |
References myUiImpl, and myUseSystemPath.
| bool DtRidChooser::validateSelection | ( | DtWidgetToPathMapType::const_iterator | found, |
| bool & | shouldExit | ||
| ) | const [virtual] |
References findCurrentRtiLibWithSpecifiedRtiDir(), and myUiImpl.
Referenced by accept().
QHBoxLayout* DtRidChooser::myCentralLayout [protected] |
Referenced by DtRidChooser().
QTreeWidgetItem* DtRidChooser::myChosenRTITreeWidget [protected] |
Referenced by accept(), and applyIcons().
QIcon DtRidChooser::myCurrentRtiIcon [protected] |
Referenced by accept(), applyIcons(), and DtRidChooser().
MAKRti::DtString DtRidChooser::myDefaultDir [protected] |
Referenced by showAddRTIConfigDialog().
bool DtRidChooser::myDialogClosing [protected] |
bool DtRidChooser::myHasFinished [protected] |
Referenced by accept(), startTheAssistant(), and timedOutDialogAccepted().
std::set< DtRtiChooserCache::DtInstalledRTIInformation> DtRidChooser::myInstalledRTIInfos [protected] |
QIcon DtRidChooser::myInvalidCurrentRtiIcon [protected] |
Referenced by applyIcons(), and DtRidChooser().
bool DtRidChooser::myIsSilent [protected] |
Referenced by accept(), and startTheAssistant().
std::pair< void *, void * > DtRidChooser::myProcessInfo [protected] |
Referenced by accept(), and startTheAssistant().
bool DtRidChooser::myShouldAccept [protected] |
Referenced by accept(), startTheAssistant(), and timedOutDialogAccepted().
bool DtRidChooser::myShouldStartAssistant [protected] |
Referenced by accept(), and startTheAssistant().
bool DtRidChooser::myShowingFullPaths [protected] |
QDialog* DtRidChooser::myShutdownDialog [protected] |
Referenced by accept(), checkAssistantShutdownThread(), DtRidChooser(), and startTheAssistant().
QLabel* DtRidChooser::myShutdownLabel [protected] |
Referenced by DtRidChooser().
QPushButton* DtRidChooser::myTimedOutButton [protected] |
Referenced by DtRidChooser().
QVBoxLayout* DtRidChooser::myTimedOutCentralLayout [protected] |
Referenced by DtRidChooser().
QDialog* DtRidChooser::myTimedOutDialog [protected] |
Referenced by checkAssistantShutdownThread(), DtRidChooser(), and timedOutDialogAccepted().
QLabel* DtRidChooser::myTimedOutLabel [protected] |
Referenced by DtRidChooser().
QTimer* DtRidChooser::myTimer [protected] |
Referenced by accept(), checkAssistantShutdownThread(), DtRidChooser(), and ~DtRidChooser().
DtWidgetToPathMapType DtRidChooser::myTreeToInfoMap [protected] |
Referenced by accept(), addKnownRTI(), findInfoByPath(), isDuplicateRTI(), knownRtis(), removeRTIConfig(), showEditRTIConfigDialog(), showFullPaths(), and ~DtRidChooser().
Ui_ridChooserDialog* DtRidChooser::myUiImpl [protected] |
bool DtRidChooser::myUseSystemPath [protected] |
Referenced by DtRidChooser(), and userSystemChanged().