The MainWindow class.
More...
#include <mainwindow.h>
|
void | sigFullScreen () |
|
void | sigShowNormal () |
|
void | sigConnecterMenuChanged (QAction *pAction) |
|
|
| MainWindow (QWidget *parent=nullptr) |
|
virtual int | onProcess (const QString &id, CPluginClient *pPlug) override |
| Process plugins.
|
|
| MainWindow (QWidget *parent=nullptr) |
|
The MainWindow class.
Definition at line 31 of file mainwindow.h.
◆ MainWindow()
MainWindow::MainWindow |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~MainWindow()
MainWindow::~MainWindow |
( |
| ) |
|
|
overridevirtual |
◆ closeEvent()
void MainWindow::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ Connect()
int MainWindow::Connect |
( |
CConnecter * |
p, |
|
|
bool |
set, |
|
|
QString |
szFile = QString() |
|
) |
| |
|
private |
Connect.
- Parameters
-
p | CConnecter 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 571 of file mainwindow.cpp.
◆ 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 |
◆ keyReleaseEvent()
void MainWindow::keyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ LoadConnectLasterClose()
int MainWindow::LoadConnectLasterClose |
( |
| ) |
|
|
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_actionCurrent_connect_parameters_triggered
void MainWindow::on_actionCurrent_connect_parameters_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionDisconnect_D_triggered
void MainWindow::on_actionDisconnect_D_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_actionMain_menu_bar_M_toggled
void MainWindow::on_actionMain_menu_bar_M_toggled |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_actionOpenListConnections_triggered
void MainWindow::on_actionOpenListConnections_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionOpenRRCFile_triggered
void MainWindow::on_actionOpenRRCFile_triggered |
( |
| ) |
|
|
privateslot |
◆ on_actionSend_ctl_alt_del_triggered
void MainWindow::on_actionSend_ctl_alt_del_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_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_pbCapture_clicked
void MainWindow::on_pbCapture_clicked |
( |
| ) |
|
|
privateslot |
◆ onProcess()
int MainWindow::onProcess |
( |
const QString & |
id, |
|
|
CPluginClient * |
pPlug |
|
) |
| |
|
overridevirtual |
◆ SaveConnectLasterClose()
int MainWindow::SaveConnectLasterClose |
( |
| ) |
|
|
private |
◆ slotCloseView
void MainWindow::slotCloseView |
( |
const QWidget * |
pView | ) |
|
|
privateslot |
◆ slotConnect
void MainWindow::slotConnect |
( |
| ) |
|
|
privateslot |
◆ slotConnected
void MainWindow::slotConnected |
( |
| ) |
|
|
privateslot |
[MainWindow slotConnected]
When connected. enable accept keyboard and mouse event in view
Definition at line 652 of file mainwindow.cpp.
◆ slotCurrentViewChanged
void MainWindow::slotCurrentViewChanged |
( |
const QWidget * |
pView | ) |
|
|
privateslot |
◆ slotCustomContextMenuRequested
void MainWindow::slotCustomContextMenuRequested |
( |
const QPoint & |
pos | ) |
|
|
privateslot |
◆ slotDisconnect
void MainWindow::slotDisconnect |
( |
| ) |
|
|
privateslot |
◆ slotDisconnected
void MainWindow::slotDisconnected |
( |
| ) |
|
|
privateslot |
◆ slotEnableSystemTrayIcon
void MainWindow::slotEnableSystemTrayIcon |
( |
| ) |
|
|
privateslot |
◆ slotError
void MainWindow::slotError |
( |
const int |
nError, |
|
|
const QString & |
szInfo |
|
) |
| |
|
privateslot |
◆ slotInformation
void MainWindow::slotInformation |
( |
const QString & |
szInfo | ) |
|
|
privateslot |
◆ slotLoadConnecterMenu
void MainWindow::slotLoadConnecterMenu |
( |
| ) |
|
|
privateslot |
◆ slotOpenFile
void MainWindow::slotOpenFile |
( |
const QString & |
szFile, |
|
|
bool |
bOpenSettings = false |
|
) |
| |
|
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 |
◆ slotSystemTrayIconActivated
void MainWindow::slotSystemTrayIconActivated |
( |
QSystemTrayIcon::ActivationReason |
reason | ) |
|
|
privateslot |
◆ slotSystemTrayIconTypeChanged
void MainWindow::slotSystemTrayIconTypeChanged |
( |
| ) |
|
|
privateslot |
◆ slotUpdateName [1/2]
void MainWindow::slotUpdateName |
( |
| ) |
|
|
privateslot |
◆ slotUpdateName [2/2]
void MainWindow::slotUpdateName |
( |
const QString & |
szName | ) |
|
|
privateslot |
◆ slotUpdateParameters
void MainWindow::slotUpdateParameters |
( |
CConnecter * |
pConnecter | ) |
|
|
privateslot |
◆ CFrmFullScreenToolBar
friend MainWindow::CFrmFullScreenToolBar |
|
private |
◆ m_Client
◆ m_ConfigureFiles
QMap<CConnecter*, QString> MainWindow::m_ConfigureFiles |
|
private |
◆ m_Connecters
◆ m_DragStartPosition
QPoint MainWindow::m_DragStartPosition |
|
private |
◆ m_FullState
◆ m_pActionConnect
QAction* MainWindow::m_pActionConnect |
|
private |
◆ m_pActionConnecterMenu
QAction* MainWindow::m_pActionConnecterMenu |
◆ m_Parameter
◆ m_pDockFavorite
QDockWidget* MainWindow::m_pDockFavorite |
|
private |
◆ m_pDockListConnects
QDockWidget* MainWindow::m_pDockListConnects |
|
private |
◆ m_pFavoriteView
◆ m_pFullScreenToolBar
◆ m_pRecentMenu
RabbitCommon::CRecentMenu* MainWindow::m_pRecentMenu |
|
private |
◆ m_pSignalStatus
QPushButton* MainWindow::m_pSignalStatus |
|
private |
◆ m_pView
CView* MainWindow::m_pView |
|
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