36 explicit MainWindow(QWidget *parent =
nullptr);
44 void on_actionExit_E_triggered();
45 void on_actionAbout_triggered();
46 void on_actionUpdate_triggered();
48 void on_actionSend_ctl_alt_del_triggered();
51 void slotUpdateParameters(
CConnecter* pConnecter);
52 void on_actionClone_triggered();
53 void on_actionOpenRRCFile_triggered();
54 void slotOpenFile(
const QString& szFile,
bool bOpenSettings =
false);
59 int LoadConnectLasterClose();
60 int SaveConnectLasterClose();
65 QVector<CConnecter*> m_Connecters;
66 QAction* m_pActionConnect;
69 void slotLoadConnecterMenu();
70 void slotCustomContextMenuRequested(
const QPoint &pos);
72 void sigConnecterMenuChanged(QAction* pAction);
75 QAction* m_pActionConnecterMenu;
79 void on_actionDisconnect_D_triggered();
81 void slotDisconnect();
82 void slotDisconnected();
83 void slotError(
const int nError,
const QString &szInfo);
95 const QMessageBox::Icon& icon);
105 void slotUpdateName(
const QString& szName);
106 void slotUpdateName();
108 void on_actionSettings_triggered();
113 QPushButton * m_pSignalStatus;
115 void slotSignalConnected();
116 void slotSignalDisconnected();
117 void slotSignalError(
const int nError,
const QString &szInfo);
118 void slotSignalPushButtonClicked(
bool checked);
121 virtual void keyReleaseEvent(QKeyEvent *event)
override;
122 virtual void closeEvent(QCloseEvent *event)
override;
129 void EnableMenu(
bool bEnable);
132 void on_actionTabBar_B_toggled(
bool bShow);
133 void on_actionMain_menu_bar_M_toggled(
bool checked);
134 void on_actionToolBar_T_toggled(
bool checked);
135 void on_actionStatus_bar_S_toggled(
bool checked);
143 bool dockListConnects;
151 void on_actionFull_screen_F_triggered();
154 void slotCurrentViewChanged(
const QWidget* pView);
157 RabbitCommon::CRecentMenu* m_pRecentMenu;
161 QDockWidget* m_pDockListConnects;
163 void on_actionOpenListRecentConnections_triggered();
167 QDockWidget* m_pDockFavorite;
170 void on_actionAdd_to_favorite_triggered();
177 virtual void dragEnterEvent(QDragEnterEvent *event)
override;
178 virtual void dragMoveEvent(QDragMoveEvent *event)
override;
179 virtual void dropEvent(QDropEvent *event)
override;
181 QPoint m_DragStartPosition;
185 void slotSystemTrayIconActivated(QSystemTrayIcon::ActivationReason reason);
186 void slotSystemTrayIconTypeChanged();
187 void slotEnableSystemTrayIcon();
190 QSharedPointer<QSystemTrayIcon> m_TrayIcon;
virtual int onProcess(const QString &id, CPluginClient *pPlug) override
Process plugins.
void slotInformation(const QString &szInfo)
Show information.
int Connect(CConnecter *p, bool set, QString szFile=QString())
Connect.
void slotConnected()
[MainWindow slotConnected]
virtual void slotShowMessageBox(const QString &title, const QString &message, const QMessageBox::Icon &icon)
Use message box display information.
void slotCloseView(const QWidget *pView)
[MainWindow slotConnected]