Simulacrum  1.2
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
Simulacrum::tagBrowser Class Reference

#include <tagBrowser.h>

Inheritance diagram for Simulacrum::tagBrowser:
Inheritance graph
Collaboration diagram for Simulacrum::tagBrowser:
Collaboration graph

Public Slots

void addFiles (const QStringList &, bool recurse=true)
 
void addFilesRemoveExisting (const QStringList &, bool recurse=true)
 
void doError (const QString &)
 
void addTopLevelTag (SAbsTreeNode *)
 
void removeTopLevelTag (SAbsTreeNode *, bool stoponfirst=false, bool dorefresh=true)
 
void addResource (SResource *)
 
void addResourceFull (SResource *)
 
void addResourceSafe (SResource *)
 
void addResourceFullSafe (SResource *)
 
void removeResource (SResource *, bool dorefresh=true)
 
void removeCurrentResource ()
 
void addItem (QTreeWidgetItem *)
 
void addItems (QList< QTreeWidgetItem * > *, bool cleanup=false)
 
void newFilterString (const QString &)
 
void setSimple (bool)
 
void setMultiResource (bool)
 
bool isMultiResource ()
 
void updateView ()
 
void refresh (bool deep=false)
 
void saveCurrent ()
 
void saveCurrentAs (const QString &)
 
void saveAll ()
 
void configureView ()
 
void clear ()
 
void resizeColumns (bool todata=false)
 
void setSortable (bool)
 
void stopActions ()
 
void itemModified (QTreeWidgetItem *item, int column)
 
void setEditable (bool)
 
void friendlyCollapseAll ()
 
void friendlyExpandAll ()
 
void copyNodesToClipboard ()
 
void copyNodeValuesToClipboard ()
 
void setBusyOpacity (float)
 

Signals

void updated ()
 

Public Member Functions

 tagBrowser (QWidget *parent=0)
 
virtual ~tagBrowser ()
 
void setDropTarget (bool)
 
QSize sizeHint () const
 
bool dropMimeData (QTreeWidgetItem *parent, int index, const QMimeData *data, Qt::DropAction action)
 
QStringList mimeTypes () const
 
bool hasResource (const QString &)
 
QTreeWidgetItem * getResourceItem (QTreeWidgetItem *item)
 
QString getResource (QTreeWidgetItem *item)
 
SResourcegetResource (const QString &)
 
std::string getPathRaw (QTreeWidgetItem *item)
 
QString getPath (QTreeWidgetItem *item)
 
sresourcemap_t getResources ()
 
QStringList getSelectedResources ()
 
QList< STreeNodeItem * > getSelectedNodeItems ()
 
bool isBusy ()
 
void wait ()
 
bool isEditable ()
 

Protected Member Functions

void resizeEvent (QResizeEvent *)
 

Constructor & Destructor Documentation

◆ tagBrowser()

tagBrowser::tagBrowser ( QWidget *  parent = 0)

◆ ~tagBrowser()

tagBrowser::~tagBrowser ( )
virtual

Member Function Documentation

◆ addFiles

void tagBrowser::addFiles ( const QStringList &  filelist,
bool  recurse = true 
)
slot

◆ addFilesRemoveExisting

void tagBrowser::addFilesRemoveExisting ( const QStringList &  resl,
bool  recurse = true 
)
slot

◆ addItem

void tagBrowser::addItem ( QTreeWidgetItem *  newitem)
slot

◆ addItems

void tagBrowser::addItems ( QList< QTreeWidgetItem * > *  newitems,
bool  cleanup = false 
)
slot

◆ addResource

void tagBrowser::addResource ( SResource newresource)
slot

◆ addResourceFull

void tagBrowser::addResourceFull ( SResource newresource)
slot

◆ addResourceFullSafe

void tagBrowser::addResourceFullSafe ( SResource newresource)
slot

◆ addResourceSafe

void tagBrowser::addResourceSafe ( SResource newresource)
slot

◆ addTopLevelTag

void tagBrowser::addTopLevelTag ( SAbsTreeNode tagadd)
slot

◆ clear

void tagBrowser::clear ( )
slot

◆ configureView

void tagBrowser::configureView ( )
slot

◆ copyNodesToClipboard

void tagBrowser::copyNodesToClipboard ( )
slot

◆ copyNodeValuesToClipboard

void tagBrowser::copyNodeValuesToClipboard ( )
slot

◆ doError

void tagBrowser::doError ( const QString &  errorstring)
slot

◆ dropMimeData()

bool tagBrowser::dropMimeData ( QTreeWidgetItem *  parent,
int  index,
const QMimeData *  data,
Qt::DropAction  action 
)

◆ friendlyCollapseAll

void tagBrowser::friendlyCollapseAll ( )
slot

◆ friendlyExpandAll

void tagBrowser::friendlyExpandAll ( )
slot

◆ getPath()

QString tagBrowser::getPath ( QTreeWidgetItem *  item)

◆ getPathRaw()

std::string tagBrowser::getPathRaw ( QTreeWidgetItem *  item)

◆ getResource() [1/2]

SResource & tagBrowser::getResource ( const QString &  resourcename)

◆ getResource() [2/2]

QString tagBrowser::getResource ( QTreeWidgetItem *  item)

◆ getResourceItem()

QTreeWidgetItem * tagBrowser::getResourceItem ( QTreeWidgetItem *  item)

◆ getResources()

tagBrowser::sresourcemap_t tagBrowser::getResources ( )

◆ getSelectedNodeItems()

QList< STreeNodeItem * > tagBrowser::getSelectedNodeItems ( )

◆ getSelectedResources()

QStringList tagBrowser::getSelectedResources ( )

◆ hasResource()

bool tagBrowser::hasResource ( const QString &  respath)

◆ isBusy()

bool tagBrowser::isBusy ( )

◆ isEditable()

bool tagBrowser::isEditable ( )

◆ isMultiResource

bool tagBrowser::isMultiResource ( )
slot

◆ itemModified

void tagBrowser::itemModified ( QTreeWidgetItem *  item,
int  column 
)
slot

◆ mimeTypes()

QStringList tagBrowser::mimeTypes ( ) const

◆ newFilterString

void tagBrowser::newFilterString ( const QString &  newfilter)
slot

◆ refresh

void tagBrowser::refresh ( bool  deep = false)
slot

◆ removeCurrentResource

void tagBrowser::removeCurrentResource ( )
slot

◆ removeResource

void tagBrowser::removeResource ( SResource theResource,
bool  dorefresh = true 
)
slot

◆ removeTopLevelTag

void tagBrowser::removeTopLevelTag ( SAbsTreeNode toremove,
bool  stoponfirst = false,
bool  dorefresh = true 
)
slot

◆ resizeColumns

void tagBrowser::resizeColumns ( bool  todata = false)
slot

◆ resizeEvent()

void tagBrowser::resizeEvent ( QResizeEvent *  event)
protected

◆ saveAll

void tagBrowser::saveAll ( )
slot

◆ saveCurrent

void tagBrowser::saveCurrent ( )
slot

◆ saveCurrentAs

void tagBrowser::saveCurrentAs ( const QString &  newlocation)
slot

◆ setBusyOpacity

void tagBrowser::setBusyOpacity ( float  nopac)
slot

◆ setDropTarget()

void tagBrowser::setDropTarget ( bool  acceptdrops)

◆ setEditable

void tagBrowser::setEditable ( bool  ised)
slot

◆ setMultiResource

void tagBrowser::setMultiResource ( bool  domul)
slot

◆ setSimple

void tagBrowser::setSimple ( bool  dosimp)
slot

◆ setSortable

void tagBrowser::setSortable ( bool  dosort)
slot

◆ sizeHint()

QSize tagBrowser::sizeHint ( ) const

◆ stopActions

void tagBrowser::stopActions ( )
slot

◆ updated

void Simulacrum::tagBrowser::updated ( )
signal

◆ updateView

void tagBrowser::updateView ( )
slot

◆ wait()

void tagBrowser::wait ( )

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