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();
110 void on_actionCurrent_connect_parameters_triggered();
115 QPushButton * m_pSignalStatus;
117 void slotSignalConnected();
118 void slotSignalDisconnected();
119 void slotSignalError(
const int nError,
const QString &szInfo);
120 void slotSignalPushButtonClicked(
bool checked);
123 virtual void keyReleaseEvent(QKeyEvent *event)
override;
124 virtual void closeEvent(QCloseEvent *event)
override;
131 void EnableMenu(
bool bEnable);
134 void on_actionTabBar_B_toggled(
bool bShow);
135 void on_actionMain_menu_bar_M_toggled(
bool checked);
136 void on_actionToolBar_T_toggled(
bool checked);
137 void on_actionStatus_bar_S_toggled(
bool checked);
145 bool dockListConnects;
153 void on_actionFull_screen_F_triggered();
156 void slotCurrentViewChanged(
const QWidget* pView);
159 RabbitCommon::CRecentMenu* m_pRecentMenu;
163 QDockWidget* m_pDockListConnects;
165 void on_actionOpenListConnections_triggered();
169 QDockWidget* m_pDockFavorite;
172 void on_actionAdd_to_favorite_triggered();
179 virtual void dragEnterEvent(QDragEnterEvent *event)
override;
180 virtual void dragMoveEvent(QDragMoveEvent *event)
override;
181 virtual void dropEvent(QDropEvent *event)
override;
183 QPoint m_DragStartPosition;
187 void slotSystemTrayIconActivated(QSystemTrayIcon::ActivationReason reason);
188 void slotSystemTrayIconTypeChanged();
189 void slotEnableSystemTrayIcon();
192 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]