Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Signals | Public Member Functions | Public Attributes | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CFavoriteView Class Reference
Inheritance diagram for CFavoriteView:

Signals

void sigConnect (const QString &szFile, bool bOpenSettings)
 
void sigFavorite ()
 

Public Member Functions

 CFavoriteView (QWidget *parent=nullptr)
 
int AddFavorite (const QString &szName, const QString &szFile)
 

Public Attributes

RabbitCommon::CTitleBar * m_pDockTitleBar
 

Protected Member Functions

virtual void dragEnterEvent (QDragEnterEvent *event) override
 
virtual void dragMoveEvent (QDragMoveEvent *event) override
 
virtual void dropEvent (QDropEvent *event) override
 
virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 

Private Slots

void slotFavrtieClicked (const QModelIndex &index)
 
void slotFavortiedoubleClicked (const QModelIndex &index)
 
void slotCustomContextMenu (const QPoint &pos)
 
void slotConnect ()
 
void slotOpenConnect ()
 
void slotDelete ()
 
void slotNewGroup ()
 
void slotDoubleEditNode (bool bEdit)
 
void slotMenu ()
 

Private Member Functions

QStandardItem * NewItem (const QModelIndex &index)
 
int Save ()
 

Private Attributes

QStandardItemModel * m_pModel
 
QString m_szSaveFile
 
QPoint m_DragStartPosition
 
QMenu * m_pMenu
 

Detailed Description

Definition at line 8 of file FavoriteView.h.

Constructor & Destructor Documentation

◆ ~CFavoriteView()

CFavoriteView::~CFavoriteView ( )
virtual

Definition at line 111 of file FavoriteView.cpp.

Member Function Documentation

◆ AddFavorite()

int CFavoriteView::AddFavorite ( const QString &  szName,
const QString &  szFile 
)

Definition at line 155 of file FavoriteView.cpp.

◆ dragEnterEvent()

void CFavoriteView::dragEnterEvent ( QDragEnterEvent *  event)
overrideprotectedvirtual

Definition at line 318 of file FavoriteView.cpp.

◆ dragMoveEvent()

void CFavoriteView::dragMoveEvent ( QDragMoveEvent *  event)
overrideprotectedvirtual

Definition at line 329 of file FavoriteView.cpp.

◆ dropEvent()

void CFavoriteView::dropEvent ( QDropEvent *  event)
overrideprotectedvirtual

Definition at line 333 of file FavoriteView.cpp.

◆ mouseMoveEvent()

void CFavoriteView::mouseMoveEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Definition at line 391 of file FavoriteView.cpp.

◆ mousePressEvent()

void CFavoriteView::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Definition at line 384 of file FavoriteView.cpp.

◆ NewItem()

QStandardItem * CFavoriteView::NewItem ( const QModelIndex &  index)
private

Definition at line 373 of file FavoriteView.cpp.

◆ Save()

int CFavoriteView::Save ( )
private

Definition at line 116 of file FavoriteView.cpp.

◆ slotConnect

void CFavoriteView::slotConnect ( )
privateslot

Definition at line 274 of file FavoriteView.cpp.

◆ slotCustomContextMenu

void CFavoriteView::slotCustomContextMenu ( const QPoint &  pos)
privateslot

Definition at line 268 of file FavoriteView.cpp.

◆ slotDelete

void CFavoriteView::slotDelete ( )
privateslot

Definition at line 295 of file FavoriteView.cpp.

◆ slotDoubleEditNode

void CFavoriteView::slotDoubleEditNode ( bool  bEdit)
privateslot

Definition at line 237 of file FavoriteView.cpp.

◆ slotFavortiedoubleClicked

void CFavoriteView::slotFavortiedoubleClicked ( const QModelIndex &  index)
privateslot

Definition at line 226 of file FavoriteView.cpp.

◆ slotFavrtieClicked

void CFavoriteView::slotFavrtieClicked ( const QModelIndex &  index)
privateslot

Definition at line 222 of file FavoriteView.cpp.

◆ slotMenu

void CFavoriteView::slotMenu ( )
privateslot

Definition at line 245 of file FavoriteView.cpp.

◆ slotNewGroup

void CFavoriteView::slotNewGroup ( )
privateslot

Definition at line 302 of file FavoriteView.cpp.

◆ slotOpenConnect

void CFavoriteView::slotOpenConnect ( )
privateslot

Definition at line 283 of file FavoriteView.cpp.

Member Data Documentation

◆ m_DragStartPosition

QPoint CFavoriteView::m_DragStartPosition
private

Definition at line 46 of file FavoriteView.h.

◆ m_pDockTitleBar

RabbitCommon::CTitleBar* CFavoriteView::m_pDockTitleBar

Definition at line 15 of file FavoriteView.h.

◆ m_pMenu

QMenu* CFavoriteView::m_pMenu
private

Definition at line 48 of file FavoriteView.h.

◆ m_pModel

QStandardItemModel* CFavoriteView::m_pModel
private

Definition at line 43 of file FavoriteView.h.

◆ m_szSaveFile

QString CFavoriteView::m_szSaveFile
private

Definition at line 44 of file FavoriteView.h.


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