The MainWindow class.
More...
#include <mainwindow.h>
|
|
void | sigFullScreen () |
| |
|
void | sigShowNormal () |
| |
|
void | sigOperateMenuChanged (QAction *pAction) |
| |
|
| enum class | MessageLevel { Normal
, Error
, Warning
} |
| |
The MainWindow class.
Definition at line 33 of file mainwindow.h.
◆ MessageLevel
| enum class MainWindow::MessageLevel |
|
strongprivate |
◆ MainWindow()
| MainWindow::MainWindow |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~MainWindow()
| MainWindow::~MainWindow |
( |
| ) |
|
|
overridevirtual |
◆ closeEvent()
| void MainWindow::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ dragEnterEvent()
| void MainWindow::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ dragMoveEvent()
| void MainWindow::dragMoveEvent |
( |
QDragMoveEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ dropEvent()
| void MainWindow::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ EnableMenu()
| void MainWindow::EnableMenu |
( |
bool |
bEnable | ) |
|
|
private |
◆ GetStartAction()
| QAction * MainWindow::GetStartAction |
( |
QMenu * |
pMenu, |
|
|
CPlugin * |
pPlug |
|
) |
| |
◆ keyReleaseEvent()
| void MainWindow::keyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ LoadOperateLasterClose()
| int MainWindow::LoadOperateLasterClose |
( |
| ) |
|
|
private |
◆ on_actionAbout_triggered
| void MainWindow::on_actionAbout_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionAdd_to_favorite_triggered
| void MainWindow::on_actionAdd_to_favorite_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionClone_triggered
| void MainWindow::on_actionClone_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionExit_E_triggered
| void MainWindow::on_actionExit_E_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionFull_screen_F_triggered
| void MainWindow::on_actionFull_screen_F_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionLayoutDefault_triggered
| void MainWindow::on_actionLayoutDefault_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionLayoutMinimalism_triggered
| void MainWindow::on_actionLayoutMinimalism_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionLayoutSimple_triggered
| void MainWindow::on_actionLayoutSimple_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionMain_menu_bar_M_toggled
| void MainWindow::on_actionMain_menu_bar_M_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionOpenListRecent_triggered
| void MainWindow::on_actionOpenListRecent_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionOpenRRCFile_triggered
| void MainWindow::on_actionOpenRRCFile_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionSettings_triggered
| void MainWindow::on_actionSettings_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionStatus_bar_S_toggled
| void MainWindow::on_actionStatus_bar_S_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionStop_triggered
| void MainWindow::on_actionStop_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionTabBar_B_toggled
| void MainWindow::on_actionTabBar_B_toggled |
( |
bool |
bShow | ) |
|
|
privateslot |
◆ on_actionToolBar_T_toggled
| void MainWindow::on_actionToolBar_T_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionUpdate_triggered
| void MainWindow::on_actionUpdate_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionUser_manual_triggered
| void MainWindow::on_actionUser_manual_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionViewSplit_triggered
| void MainWindow::on_actionViewSplit_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionViewTab_triggered
| void MainWindow::on_actionViewTab_triggered |
( |
| ) |
|
|
privateslot |
◆ on_pbCapture_clicked
| void MainWindow::on_pbCapture_clicked |
( |
| ) |
|
|
privateslot |
◆ onProcess()
| int MainWindow::onProcess |
( |
const QString & |
id, |
|
|
CPlugin * |
pPlugin |
|
) |
| |
|
overridevirtual |
◆ SaveOperateLasterClose()
| int MainWindow::SaveOperateLasterClose |
( |
| ) |
|
|
private |
◆ SetSecureLevel()
| void MainWindow::SetSecureLevel |
( |
COperate * |
o | ) |
|
|
private |
◆ SetStatsVisible()
| void MainWindow::SetStatsVisible |
( |
bool |
visible | ) |
|
|
private |
◆ SetView()
| void MainWindow::SetView |
( |
CView * |
pView | ) |
|
|
private |
◆ slotCloseView
| void MainWindow::slotCloseView |
( |
const QWidget * |
pView | ) |
|
|
privateslot |
◆ slotCurrentViewChanged
| void MainWindow::slotCurrentViewChanged |
( |
const QWidget * |
pView | ) |
|
|
privateslot |
◆ slotCustomContextMenuRequested
| void MainWindow::slotCustomContextMenuRequested |
( |
const QPoint & |
pos | ) |
|
|
privateslot |
◆ slotEnableSystemTrayIcon
| void MainWindow::slotEnableSystemTrayIcon |
( |
| ) |
|
|
privateslot |
◆ slotError
| void MainWindow::slotError |
( |
const int |
nError, |
|
|
const QString & |
szInfo |
|
) |
| |
|
privateslot |
◆ slotFinished
| void MainWindow::slotFinished |
( |
| ) |
|
|
privateslot |
◆ slotInformation
| void MainWindow::slotInformation |
( |
const QString & |
szInfo | ) |
|
|
privateslot |
◆ slotLoadOperateMenu
| void MainWindow::slotLoadOperateMenu |
( |
| ) |
|
|
privateslot |
◆ slotMenuActivity
| void MainWindow::slotMenuActivity |
( |
| ) |
|
|
privateslot |
◆ slotOpenFile
| void MainWindow::slotOpenFile |
( |
const QString & |
szFile, |
|
|
bool |
bOpenSettings = false |
|
) |
| |
|
privateslot |
◆ slotOperateChanged
| void MainWindow::slotOperateChanged |
( |
COperate * |
o | ) |
|
|
privateslot |
◆ slotRunning
| void MainWindow::slotRunning |
( |
| ) |
|
|
privateslot |
◆ slotShortCut
| void MainWindow::slotShortCut |
( |
| ) |
|
|
privateslot |
◆ slotShowMessageBox
| void MainWindow::slotShowMessageBox |
( |
const QString & |
title, |
|
|
const QString & |
message, |
|
|
const QMessageBox::Icon & |
icon |
|
) |
| |
|
privatevirtualslot |
◆ slotSignalConnected
| void MainWindow::slotSignalConnected |
( |
| ) |
|
|
privateslot |
◆ slotSignalDisconnected
| void MainWindow::slotSignalDisconnected |
( |
| ) |
|
|
privateslot |
◆ slotSignalError
| void MainWindow::slotSignalError |
( |
const int |
nError, |
|
|
const QString & |
szInfo |
|
) |
| |
|
privateslot |
◆ slotSignalPushButtonClicked
| void MainWindow::slotSignalPushButtonClicked |
( |
bool |
checked | ) |
|
|
privateslot |
◆ slotStart
| void MainWindow::slotStart |
( |
| ) |
|
|
privateslot |
◆ slotStartByType
| void MainWindow::slotStartByType |
( |
| ) |
|
|
privateslot |
◆ slotStatusMessage
| void MainWindow::slotStatusMessage |
( |
QString |
szMessage, |
|
|
MessageLevel |
level = MessageLevel::Normal |
|
) |
| |
|
privateslot |
◆ slotStop
| void MainWindow::slotStop |
( |
| ) |
|
|
privateslot |
◆ slotSystemTrayIconActivated
| void MainWindow::slotSystemTrayIconActivated |
( |
QSystemTrayIcon::ActivationReason |
reason | ) |
|
|
privateslot |
◆ slotSystemTrayIconTypeChanged
| void MainWindow::slotSystemTrayIconTypeChanged |
( |
| ) |
|
|
privateslot |
◆ slotTimeOut
| void MainWindow::slotTimeOut |
( |
| ) |
|
|
privateslot |
◆ slotUpdateName [1/2]
| void MainWindow::slotUpdateName |
( |
| ) |
|
|
privateslot |
◆ slotUpdateName [2/2]
| void MainWindow::slotUpdateName |
( |
const QString & |
szName | ) |
|
|
privateslot |
◆ slotUpdateParameters
| void MainWindow::slotUpdateParameters |
( |
COperate * |
pOperate | ) |
|
|
privateslot |
◆ slotViewerFocusIn
| void MainWindow::slotViewerFocusIn |
( |
QWidget * |
pView | ) |
|
|
privateslot |
◆ Start()
| int MainWindow::Start |
( |
COperate * |
pOperate, |
|
|
bool |
set, |
|
|
QString |
szFile = QString() |
|
) |
| |
|
private |
Start.
- Parameters
-
| p | COperate instance pointer |
| set | whether open settings dialog. true: open settings dialog and save configure file false: don't open settings dialog |
| szFile | Configure file. if is empty. the use default configure file. |
- Returns
Definition at line 822 of file mainwindow.cpp.
◆ StartTimer()
| void MainWindow::StartTimer |
( |
| ) |
|
|
private |
◆ CFrmFullScreenToolBar
| friend MainWindow::CFrmFullScreenToolBar |
|
private |
◆ m_DragStartPosition
| QPoint MainWindow::m_DragStartPosition |
|
private |
◆ m_FullState
◆ m_Manager
◆ m_MenuStartByType
| QMap<CPlugin::TYPE, QMenu*> MainWindow::m_MenuStartByType |
|
private |
◆ m_Operates
| QVector<COperate*> MainWindow::m_Operates |
|
private |
◆ m_pActionOperateMenu
| QAction* MainWindow::m_pActionOperateMenu |
◆ m_pActionTBOperate
| QAction* MainWindow::m_pActionTBOperate |
◆ m_Parameter
◆ m_pDockActive
| QDockWidget* MainWindow::m_pDockActive |
|
private |
◆ m_pDockFavorite
| QDockWidget* MainWindow::m_pDockFavorite |
|
private |
◆ m_pDockListRecent
| QDockWidget* MainWindow::m_pDockListRecent |
|
private |
◆ m_pFavoriteView
◆ m_pFrmActive
◆ m_pFullScreenToolBar
◆ m_pMenuActivityGroup
| QActionGroup* MainWindow::m_pMenuActivityGroup |
|
private |
◆ m_pRecentMenu
| RabbitCommon::CRecentMenu* MainWindow::m_pRecentMenu |
|
private |
◆ m_pSecureLevel
| QLabel* MainWindow::m_pSecureLevel |
|
private |
◆ m_pSignalStatus
| QPushButton* MainWindow::m_pSignalStatus |
|
private |
◆ m_ptbMenuActivity
| QToolButton* MainWindow::m_ptbMenuActivity |
|
private |
◆ m_pTBOperate
| QToolButton* MainWindow::m_pTBOperate |
◆ m_pToolBarMenuAction
| QAction* MainWindow::m_pToolBarMenuAction |
|
private |
◆ m_pView
| CView* MainWindow::m_pView |
|
private |
◆ m_ReceivesRate
| QLabel MainWindow::m_ReceivesRate |
|
private |
◆ m_SendRate
| QLabel MainWindow::m_SendRate |
|
private |
◆ m_StatusBarMessage
| QLabel MainWindow::m_StatusBarMessage |
|
private |
◆ m_Timer
| QTimer MainWindow::m_Timer |
|
private |
◆ m_TotalReceives
| QLabel MainWindow::m_TotalReceives |
|
private |
◆ m_TotalSends
| QLabel MainWindow::m_TotalSends |
|
private |
◆ m_TrayIcon
| QSharedPointer<QSystemTrayIcon> MainWindow::m_TrayIcon |
|
private |
◆ ui
| Ui::MainWindow * MainWindow::ui |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/App/Client/mainwindow.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Example/Display/mainwindow.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/App/Client/mainwindow.cpp
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Example/Display/mainwindow.cpp