MAK RTIspy API Documentation for HLA 1.3
Public Types | Public Slots | Public Member Functions | Static Public Member Functions | Protected Attributes
DtRidChooser Class Reference

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:

List of all members.

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
QDialogmyShutdownDialog
QLabel * myShutdownLabel
QHBoxLayout * myCentralLayout
QDialogmyTimedOutDialog
QLabel * myTimedOutLabel
QPushButton * myTimedOutButton
QVBoxLayout * myTimedOutCentralLayout
bool myIsSilent
bool myHasFinished
bool myShouldStartAssistant
bool myShouldAccept
std::pair< void *, void * > myProcessInfo
QTimer * myTimer

Detailed Description

Dialog which allows a user to set MAK_RTIDIR, RTI_RID_FILE, and the PATH environment variables.


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
Current 
InstalledPath 
RidFile 
RtiVersion 

Constructor & Destructor Documentation

DtRidChooser::DtRidChooser ( const MAKRti::DtString &  defaultDirectory,
bool  useSystem = false 
)

Destructor.

References myDialogClosing, myTimer, myTreeToInfoMap, and myUiImpl.


Member Function Documentation

void DtRidChooser::accept ( bool  silent = false) [slot]
void DtRidChooser::addKnownRTI ( DtRtiChooserCache::DtInstalledRTIInformation newRti,
QTreeWidgetItem *  location = 0 
) [virtual]
void DtRidChooser::applyIcons ( ) [virtual]

References myDialogClosing, and myUiImpl.

Referenced by DtRidChooser().

MAKRti::DtString DtRidChooser::findCurrentRtiLib ( MAKRti::DtString  path) const [virtual]

References DtRtiSearchPathList().

MAKRti::DtString DtRidChooser::findCurrentRtiLib ( ) const [virtual]
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]
void DtRidChooser::knownRtis ( std::set< DtRtiChooserCache::DtInstalledRTIInformation > &  rtis) const [virtual]

References myTreeToInfoMap.

static void DtRidChooser::processStartupAssistant ( void *  owner) [static]
void DtRidChooser::refreshTree ( ) const [virtual]
void DtRidChooser::reject ( ) [slot]

Referenced by accept().

void DtRidChooser::removeMakEnvVars ( ) [virtual]

Referenced by accept().

References accept(), isDuplicateRTI(), and myUiImpl.

void DtRidChooser::showFullPaths ( bool  show) const [slot]

References myUiImpl, and myUseSystemPath.

bool DtRidChooser::validateSelection ( DtWidgetToPathMapType::const_iterator  found,
bool shouldExit 
) const [virtual]

References findCurrentRtiLibWithSpecifiedRtiDir(), and myUiImpl.

Referenced by accept().


Member Data Documentation

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().

Referenced by applyIcons(), and DtRidChooser().

Referenced by accept(), and startTheAssistant().

std::pair< void *, void * > DtRidChooser::myProcessInfo [protected]

Referenced by accept(), and startTheAssistant().

Referenced by accept(), and startTheAssistant().

QLabel* DtRidChooser::myShutdownLabel [protected]

Referenced by DtRidChooser().

QPushButton* DtRidChooser::myTimedOutButton [protected]

Referenced by DtRidChooser().

QVBoxLayout* DtRidChooser::myTimedOutCentralLayout [protected]

Referenced by DtRidChooser().

QLabel* DtRidChooser::myTimedOutLabel [protected]

Referenced by DtRidChooser().

QTimer* DtRidChooser::myTimer [protected]
Ui_ridChooserDialog* DtRidChooser::myUiImpl [protected]

Referenced by DtRidChooser(), and userSystemChanged().


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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)