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 QMap<CConnecter*, QString> m_ConfigureFiles;
66 QVector<CConnecter*> m_Connecters;
67 QAction* m_pActionConnect;
70 void slotLoadConnecterMenu();
71 void slotCustomContextMenuRequested(
const QPoint &pos);
73 void sigConnecterMenuChanged(QAction* pAction);
76 QAction* m_pActionConnecterMenu;
80 void on_actionDisconnect_D_triggered();
82 void slotDisconnect();
83 void slotDisconnected();
84 void slotError(
const int nError,
const QString &szInfo);
96 const QMessageBox::Icon& icon);
106 void slotUpdateName(
const QString& szName);
107 void slotUpdateName();
109 void on_actionSettings_triggered();
114 QPushButton * m_pSignalStatus;
116 void slotSignalConnected();
117 void slotSignalDisconnected();
118 void slotSignalError(
const int nError,
const QString &szInfo);
119 void slotSignalPushButtonClicked(
bool checked);
122 virtual void keyReleaseEvent(QKeyEvent *event)
override;
123 virtual void closeEvent(QCloseEvent *event)
override;
130 void EnableMenu(
bool bEnable);
133 void on_actionTabBar_B_toggled(
bool bShow);
134 void on_actionMain_menu_bar_M_toggled(
bool checked);
135 void on_actionToolBar_T_toggled(
bool checked);
136 void on_actionStatus_bar_S_toggled(
bool checked);
144 bool dockListConnects;
152 void on_actionFull_screen_F_triggered();
155 void slotCurrentViewChanged(
const QWidget* pView);
158 RabbitCommon::CRecentMenu* m_pRecentMenu;
162 QDockWidget* m_pDockListConnects;
164 void on_actionOpenListConnections_triggered();
168 QDockWidget* m_pDockFavorite;
171 void on_actionAdd_to_favorite_triggered();
178 virtual void dragEnterEvent(QDragEnterEvent *event)
override;
179 virtual void dragMoveEvent(QDragMoveEvent *event)
override;
180 virtual void dropEvent(QDropEvent *event)
override;
182 QPoint m_DragStartPosition;
186 void slotSystemTrayIconActivated(QSystemTrayIcon::ActivationReason reason);
187 void slotSystemTrayIconTypeChanged();
188 void slotEnableSystemTrayIcon();
191 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]