Plasma Engine  2.0
Loading...
Searching...
No Matches
plFolderNameDelegate Class Reference

Custom delegate for the eqQtAssetBrowserFolderView to enable renaming folders. Does not do any model modifications. Instead, it fires editingFinished when the delegate editor closes. More...

#include <AssetBrowserFolderView.moc.h>

Inheritance diagram for plFolderNameDelegate:

Signals

void editingFinished (const QString &sAbsPath, const QString &sNewName) const
 

Public Member Functions

 plFolderNameDelegate (QObject *pParent=nullptr)
 
virtual QWidget * createEditor (QWidget *pParent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
virtual void setModelData (QWidget *pEditor, QAbstractItemModel *pModel, const QModelIndex &index) const override
 

Detailed Description

Custom delegate for the eqQtAssetBrowserFolderView to enable renaming folders. Does not do any model modifications. Instead, it fires editingFinished when the delegate editor closes.


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