OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
opencover::coTUIFileBrowserButton Class Reference

#include <coTabletUI.h>

Inheritance diagram for opencover::coTUIFileBrowserButton:
Inheritance graph
[legend]
Collaboration diagram for opencover::coTUIFileBrowserButton:
Collaboration graph
[legend]

Public Types

enum  DialogMode { OPEN = 1, SAVE = 2 }
 

Public Member Functions

 coTUIFileBrowserButton (const char *, int pID=1)
 
virtual ~coTUIFileBrowserButton ()
 
virtual void setDirList (covise::Message &ms)
 
virtual void setFileList (covise::Message &ms)
 
void setCurDir (covise::Message &msg)
 
void setCurDir (const char *dir)
 
virtual void resend ()
 
virtual void parseMessage (covise::TokenBuffer &tb)
 
void setVRBC (covise::VRBClient *client)
 
void setClientList (covise::Message &msg)
 
IData * getData (std::string protocol="")
 
IData * getVRBData ()
 
void setDrives (covise::Message &ms)
 
std::string getFilename (const std::string url)
 
void * getFileHandle (bool sync=false)
 
void setMode (DialogMode mode)
 
void setFilterList (std::string filterList)
 
std::string getSelectedPath ()
 
- Public Member Functions inherited from opencover::coTUIElement
 coTUIElement (const std::string &, int pID=1)
 
 coTUIElement (QObject *parent, const std::string &, int pID)
 
 coTUIElement (QObject *parent, const std::string &, int pID, int type)
 
virtual ~coTUIElement ()
 
virtual void setEventListener (coTUIListener *)
 
virtual coTUIListenergetMenuListener ()
 
void createSimple (int type)
 

Protected Types

typedef std::pair< std::string,
IData * > 
Data_Pair
 

Protected Member Functions

void sendList (covise::TokenBuffer &tb)
 
- Protected Member Functions inherited from opencover::coTUIElement
 coTUIElement (const std::string &, int pID, int type)
 

Protected Attributes

std::vector< std::string > mFileList
 
std::vector< std::string > mDirList
 
std::vector< std::string > mClientList
 
IRemoteData * mDataObj
 
LocalData * mLocalData
 
IRemoteData * mAGData
 
IData * mData
 
std::string mLocation
 
std::string mLocalIP
 
std::string mCurDir
 
std::string mFile
 
DialogMode mMode
 
std::string mFilterList
 
int mVRBCId
 
std::map< std::string, IData * > mDataRepo
 
int mId
 
std::string mSavePath
 
- Protected Attributes inherited from opencover::coTUIElement
int parentID
 
std::string label
 label of this element More...
 
int ID
 unique ID More...
 
int xs
 
int ys
 
int xp
 
int yp
 
Qt::GlobalColor color
 
bool hidden
 
coTUIListenerlistener
 event listener More...
 

Additional Inherited Members

- Public Slots inherited from opencover::coTUIElement
void setVal (const std::string &value)
 
void setVal (bool value)
 
void setVal (int value)
 
void setVal (float value)
 
void setVal (int type, int value)
 
void setVal (int type, float value)
 
void setVal (int type, int value, const std::string &nodePath)
 
void setVal (int type, const std::string &nodePath, const std::string &simPath, const std::string &simName)
 
void setVal (int type, int value, const std::string &nodePath, const std::string &simPath)
 
int getID () const
 
virtual void setPos (int, int)
 
virtual void setSize (int, int)
 
virtual void setLabel (const char *l)
 
virtual void setLabel (const std::string &l)
 
virtual void setColor (Qt::GlobalColor)
 
virtual void setHidden (bool)
 
std::string getName () const
 
- Properties inherited from opencover::coTUIElement
int id
 
std::string name
 name of this element More...
 

Detailed Description

the filebrowser push button.

Member Typedef Documentation

typedef std::pair<std::string, IData *> opencover::coTUIFileBrowserButton::Data_Pair
protected

Member Enumeration Documentation

Enumerator
OPEN 
SAVE 

Constructor & Destructor Documentation

opencover::coTUIFileBrowserButton::coTUIFileBrowserButton ( const char *  ,
int  pID = 1 
)
virtual opencover::coTUIFileBrowserButton::~coTUIFileBrowserButton ( )
virtual

Member Function Documentation

IData* opencover::coTUIFileBrowserButton::getData ( std::string  protocol = "")
void* opencover::coTUIFileBrowserButton::getFileHandle ( bool  sync = false)
std::string opencover::coTUIFileBrowserButton::getFilename ( const std::string  url)
std::string opencover::coTUIFileBrowserButton::getSelectedPath ( )
IData* opencover::coTUIFileBrowserButton::getVRBData ( )
virtual void opencover::coTUIFileBrowserButton::parseMessage ( covise::TokenBuffer &  tb)
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIFileBrowserButton::resend ( )
virtual

Reimplemented from opencover::coTUIElement.

void opencover::coTUIFileBrowserButton::sendList ( covise::TokenBuffer &  tb)
protected
void opencover::coTUIFileBrowserButton::setClientList ( covise::Message &  msg)
void opencover::coTUIFileBrowserButton::setCurDir ( covise::Message &  msg)
void opencover::coTUIFileBrowserButton::setCurDir ( const char *  dir)
virtual void opencover::coTUIFileBrowserButton::setDirList ( covise::Message &  ms)
virtual
void opencover::coTUIFileBrowserButton::setDrives ( covise::Message &  ms)
virtual void opencover::coTUIFileBrowserButton::setFileList ( covise::Message &  ms)
virtual
void opencover::coTUIFileBrowserButton::setFilterList ( std::string  filterList)
void opencover::coTUIFileBrowserButton::setMode ( DialogMode  mode)
void opencover::coTUIFileBrowserButton::setVRBC ( covise::VRBClient *  client)

Member Data Documentation

IRemoteData* opencover::coTUIFileBrowserButton::mAGData
protected
std::vector<std::string> opencover::coTUIFileBrowserButton::mClientList
protected
std::string opencover::coTUIFileBrowserButton::mCurDir
protected
IData* opencover::coTUIFileBrowserButton::mData
protected
IRemoteData* opencover::coTUIFileBrowserButton::mDataObj
protected
std::map<std::string, IData *> opencover::coTUIFileBrowserButton::mDataRepo
protected
std::vector<std::string> opencover::coTUIFileBrowserButton::mDirList
protected
std::string opencover::coTUIFileBrowserButton::mFile
protected
std::vector<std::string> opencover::coTUIFileBrowserButton::mFileList
protected
std::string opencover::coTUIFileBrowserButton::mFilterList
protected
int opencover::coTUIFileBrowserButton::mId
protected
LocalData* opencover::coTUIFileBrowserButton::mLocalData
protected
std::string opencover::coTUIFileBrowserButton::mLocalIP
protected
std::string opencover::coTUIFileBrowserButton::mLocation
protected
DialogMode opencover::coTUIFileBrowserButton::mMode
protected
std::string opencover::coTUIFileBrowserButton::mSavePath
protected

Member containing the selected save path when in SAVE mode

int opencover::coTUIFileBrowserButton::mVRBCId
protected

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