The CFavoriteView class
更多...
#include <FavoriteView.h>
|
| void | slotAddToFavorite (const QString &szFile, const QString &szName, const QString &szDescription, const QIcon &icon) |
| |
| void | slotUpdateFavorite (const QString &szFile, const QString &szName=QString(), const QString &szDescription=QString(), const QIcon &icon=QIcon()) |
| |
|
|
void | sigStart (const QString &szFile, bool bOpenSettings) |
| |
|
void | sigFavorite () |
| |
| virtual void | sigShowMessageBox (const QString &title, const QString &message, const QMessageBox::Icon &icon) |
| | 用消息对话框(QMessageBox)显示信息
|
| |
The CFavoriteView class
- 注解
- The file is exist in RabbitCommon::CDir::Instance()->GetDirUserData(), then remove the path, only save file name. other save the file path.
在文件 FavoriteView.h 第 19 行定义.
◆ ~CFavoriteView()
| CFavoriteView::~CFavoriteView |
( |
| ) |
|
|
virtual |
◆ dragEnterEvent()
| void CFavoriteView::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
overrideprivatevirtual |
◆ dragMoveEvent()
| void CFavoriteView::dragMoveEvent |
( |
QDragMoveEvent * |
event | ) |
|
|
overrideprivatevirtual |
◆ dropEvent()
| void CFavoriteView::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
overrideprivatevirtual |
◆ EnableAction()
| void CFavoriteView::EnableAction |
( |
const QModelIndex & |
index = QModelIndex() | ) |
|
|
private |
◆ eventFilter()
| bool CFavoriteView::eventFilter |
( |
QObject * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprivatevirtual |
◆ Initial()
| int CFavoriteView::Initial |
( |
| ) |
|
◆ InitialDragDrop()
| void CFavoriteView::InitialDragDrop |
( |
| ) |
|
|
private |
◆ mouseMoveEvent()
| void CFavoriteView::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprivatevirtual |
◆ mousePressEvent()
| void CFavoriteView::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprivatevirtual |
◆ setupToolBar()
| void CFavoriteView::setupToolBar |
( |
QLayout * |
layout | ) |
|
|
private |
◆ setupTreeView()
| void CFavoriteView::setupTreeView |
( |
QLayout * |
layout | ) |
|
|
private |
◆ setupUI()
| void CFavoriteView::setupUI |
( |
| ) |
|
|
private |
◆ sigShowMessageBox
| virtual void CFavoriteView::sigShowMessageBox |
( |
const QString & |
title, |
|
|
const QString & |
message, |
|
|
const QMessageBox::Icon & |
icon |
|
) |
| |
|
virtualsignal |
◆ slotAddToFavorite
| void CFavoriteView::slotAddToFavorite |
( |
const QString & |
szFile, |
|
|
const QString & |
szName, |
|
|
const QString & |
szDescription, |
|
|
const QIcon & |
icon |
|
) |
| |
|
slot |
◆ slotCustomContextMenu
| void CFavoriteView::slotCustomContextMenu |
( |
const QPoint & |
pos | ) |
|
|
privateslot |
◆ slotDelete
| void CFavoriteView::slotDelete |
( |
| ) |
|
|
privateslot |
◆ slotDoubleEditNode
| void CFavoriteView::slotDoubleEditNode |
( |
bool |
bEdit | ) |
|
|
privateslot |
◆ slotEdit
| void CFavoriteView::slotEdit |
( |
| ) |
|
|
privateslot |
◆ slotExport
| void CFavoriteView::slotExport |
( |
| ) |
|
|
privateslot |
◆ slotFavortiedoubleClicked
| void CFavoriteView::slotFavortiedoubleClicked |
( |
const QModelIndex & |
index | ) |
|
|
privateslot |
◆ slotFavrtieClicked
| void CFavoriteView::slotFavrtieClicked |
( |
const QModelIndex & |
index | ) |
|
|
privateslot |
◆ slotImport
| void CFavoriteView::slotImport |
( |
| ) |
|
|
privateslot |
◆ slotMenu
| void CFavoriteView::slotMenu |
( |
| ) |
|
|
privateslot |
◆ slotNewGroup
| void CFavoriteView::slotNewGroup |
( |
| ) |
|
|
privateslot |
◆ slotOpenStart
| void CFavoriteView::slotOpenStart |
( |
| ) |
|
|
privateslot |
◆ slotRefresh
| void CFavoriteView::slotRefresh |
( |
| ) |
|
|
privateslot |
◆ slotStart
| void CFavoriteView::slotStart |
( |
| ) |
|
|
privateslot |
◆ slotUpdateFavorite
| void CFavoriteView::slotUpdateFavorite |
( |
const QString & |
szFile, |
|
|
const QString & |
szName = QString(), |
|
|
const QString & |
szDescription = QString(), |
|
|
const QIcon & |
icon = QIcon() |
|
) |
| |
|
slot |
◆ m_DragStartPosition
| QPoint CFavoriteView::m_DragStartPosition |
|
private |
◆ m_pAddFolderAction
| QAction* CFavoriteView::m_pAddFolderAction |
|
private |
◆ m_pDatabase
◆ m_pDeleteAction
| QAction* CFavoriteView::m_pDeleteAction |
|
private |
◆ m_pDockTitleBar
| RabbitCommon::CTitleBar* CFavoriteView::m_pDockTitleBar |
◆ m_pEditAction
| QAction* CFavoriteView::m_pEditAction |
|
private |
◆ m_pEidtStartAction
| QAction* CFavoriteView::m_pEidtStartAction |
|
private |
◆ m_pExportAction
| QAction* CFavoriteView::m_pExportAction |
|
private |
◆ m_pImportAction
| QAction* CFavoriteView::m_pImportAction |
|
private |
◆ m_pMenu
| QMenu* CFavoriteView::m_pMenu |
|
private |
◆ m_pModel
◆ m_pParaApp
◆ m_pRefresh
| QAction* CFavoriteView::m_pRefresh |
|
private |
◆ m_pShowToolbar
| QAction* CFavoriteView::m_pShowToolbar |
|
private |
◆ m_pStartAction
| QAction* CFavoriteView::m_pStartAction |
|
private |
◆ m_pTreeView
| QTreeView* CFavoriteView::m_pTreeView |
|
private |
该类的文档由以下文件生成:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/App/Client/Favorite/FavoriteView.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/App/Client/Favorite/FavoriteView.cpp