MAK RTIspy API Documentation for HLA 1.3
List of all members | 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:

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
QTreeWidgetItemmyChosenRTITreeWidget
QIcon myCurrentRtiIcon
QIcon myInvalidCurrentRtiIcon
QDialogmyShutdownDialog
QLabelmyShutdownLabel
QHBoxLayout * myCentralLayout
QDialogmyTimedOutDialog
QLabelmyTimedOutLabel
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 
)
DtRidChooser::~DtRidChooser ( )
virtual

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
void DtRidChooser::checkAssistantShutdownThread ( )
slot
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
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().

void DtRidChooser::removeRTIConfig ( )
slot
bool DtRidChooser::setSelectedAndAccept ( DtRtiChooserCache::DtInstalledRTIInformation info,
bool  silent = false 
)
virtual

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

void DtRidChooser::showAddRTIConfigDialog ( )
slot
void DtRidChooser::showEditRTIConfigDialog ( )
slot
void DtRidChooser::showFullPaths ( bool  show) const
slot
void DtRidChooser::startTheAssistant ( )
slot
void DtRidChooser::timedOutDialogAccepted ( )
slot
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().

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

bool DtRidChooser::myDialogClosing
protected
bool DtRidChooser::myHasFinished
protected
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
bool DtRidChooser::myShouldStartAssistant
protected

Referenced by accept(), and startTheAssistant().

bool DtRidChooser::myShowingFullPaths
protected
QDialog* DtRidChooser::myShutdownDialog
protected
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
QLabel* DtRidChooser::myTimedOutLabel
protected

Referenced by DtRidChooser().

QTimer* DtRidChooser::myTimer
protected
DtWidgetToPathMapType DtRidChooser::myTreeToInfoMap
protected
Ui_ridChooserDialog* DtRidChooser::myUiImpl
protected
bool DtRidChooser::myUseSystemPath
protected

Referenced by DtRidChooser(), and userSystemChanged().


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

Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (www.mak.com)