19#include "client_export.h"
20#include "ParameterClient.h"
91 virtual const QString Id();
93 virtual const QString Name();
95 virtual const QString Description();
97 virtual const QString Protocol()
const;
101 virtual const QIcon Icon()
const;
133 virtual int OpenDialogSettings(QWidget* parent =
nullptr);
137 virtual QMenu* GetMenu(QWidget* parent =
nullptr);
227 void sigError(
const int nError,
const QString &szError);
256 const QMessageBox::Icon& icon = QMessageBox::Information);
264 Q_INVOKABLE
virtual int Initial();
269 Q_INVOKABLE
virtual int Clean();
297 static QObject* createObject(
const QString &className, QObject* parent = NULL);
322 virtual QString GetSettingsFile();
326 virtual int SetSettingsFile(
const QString &szFile);
328 QString m_szSettings;
334 virtual int Load(QSettings &set);
339 virtual int Save(QSettings &set);
346 Q_INVOKABLE
virtual int Load(QString szFile = QString());
355 Q_INVOKABLE
virtual int Save(QString szFile = QString());
358 void slotShowServerName();
359 void slotUpdateName();
378 virtual void slotBlockShowWidget(
const QString& className,
int &nRet,
void* pContext);
389 virtual void slotBlockShowMessageBox(
const QString& szTitle,
390 const QString& szMessage,
391 QMessageBox::StandardButtons buttons,
392 QMessageBox::StandardButton& nRet,
394 QString szCheckBoxContext = QString());
400 virtual void slotBlockInputDialog(
const QString& szTitle,
401 const QString& szLable,
402 const QString& szMessage,
409 virtual void slotSetClipboard(QMimeData *data);
412 void sigClipBoardChanged();
416 QAction* m_pSettings;
418 virtual void slotSettings();
void sigUpdateName(const QString &szName)
virtual int DisConnect()=0
Close connect.
void sigConnected()
Successful connection signal.
virtual QDialog * OnOpenDialogSettings(QWidget *parent=nullptr)=0
Open settgins dialog.
CConnecter(CPluginClient *plugin)
virtual qint16 Version()=0
Version.
virtual QWidget * GetViewer()=0
Get Viewer.
void sigDisconnected()
Successful disconnection signal.
void sigDisconnect()
Notify the user to disconnect.
void sigError(const int nError, const QString &szError)
Triggered when an error is generated.
void sigShowMessageBox(const QString &title, const QString &message, const QMessageBox::Icon &icon=QMessageBox::Information)
Trigger the display of a message dialog (QMessageBox) in the main thread from a background thread wit...
virtual int Connect()=0
Start connect.
void sigInformation(const QString &szInfo)
Show information in main windows.
void sigUpdateParameters(CConnecter *pConnecter)
Update parameters, notify application to save or show parameters.
The parameters of client.