libXpertMass Developer Documentation
  • libXpertMassGui
  • MassDataClientServerConfigDlg
  • MassDataClientServerConfigDlg Class

    class MsXpS::libXpertMassGui::MassDataClientServerConfigDlg

    The MassDataClientServerConfigDlg class provides a mass data client-server network connection configuration dialog window. More...

    Header: #include <MassDataClientServerConfigDlg.hpp>

    Public Functions

    MassDataClientServerConfigDlg(QWidget *program_window_p, const QString &applicationName, const QString &description)
    virtual ~MassDataClientServerConfigDlg()
    void clientFailingFeedback(const QString &error)
    void message(const QString &message, int timeout = 3000)
    void updateClientConfigurationData(const QString &ip_address, int port_number)

    Protected Functions

    void closeEvent(int *event)

    Protected Variables

    QString m_applicationName
    QWidget *mp_programWindow

    Detailed Description

    Member Function Documentation

    MassDataClientServerConfigDlg::MassDataClientServerConfigDlg(QWidget *program_window_p, const QString &applicationName, const QString &description)

    Constructs a MassDataClientServerConfigDlg instance.

    [virtual noexcept] MassDataClientServerConfigDlg::~MassDataClientServerConfigDlg()

    Destructs this MassDataClientServerConfigDlg instance.

    void MassDataClientServerConfigDlg::clientFailingFeedback(const QString &error)

    Writes the error to the message line edit widget.

    After a imeout of 10 seconds, the message is erased.

    [protected] void MassDataClientServerConfigDlg::closeEvent(int *event)

    Does not close the window, just hides it (event is not used).

    void MassDataClientServerConfigDlg::message(const QString &message, int timeout = 3000)

    Writes the message to the message line edit widget.

    After timeout milliseconds, the message is erased. By default that timeout is 3000 ms.

    void MassDataClientServerConfigDlg::updateClientConfigurationData(const QString &ip_address, int port_number)

    Update the client configuration on the basis of ip_address and port_number.

    Member Variable Documentation

    QString MassDataClientServerConfigDlg::m_applicationName

    This variable holds the name of the application.

    QWidget *MassDataClientServerConfigDlg::mp_programWindow

    This variable holds the main program window.