Emergency 2017 Dokumentation  v3.0.1
qsf::editor::LoginDialog Class Reference

QSF editor client login dialog. More...

#include <LoginDialog.h>

Public Member Functions

 LoginDialog (bool loginAutomatically, QWidget *qWidgetParent=nullptr)
 Constructor. More...
 
virtual ~LoginDialog ()
 Destructor. More...
 
- Public Member Functions inherited from qsf::editor::ClientStartupDialog
virtual ~ClientStartupDialog ()
 Destructor. More...
 

Protected Member Functions

virtual void retranslateUi () override
 Retranslate the UI. More...
 
virtual void closeEvent (QCloseEvent *qCloseEvent) override
 
- Protected Member Functions inherited from qsf::editor::ClientStartupDialog
 ClientStartupDialog (QWidget *qWidgetParent)
 Constructor. More...
 
virtual void changeEvent (QEvent *qEvent) override
 

Detailed Description

QSF editor client login dialog.

Note
  • As result, the Qt dialog returns the new stage "qsf::editor::Application::Stage" the application should switch to
Todo:
  • TODO(co) This is just a first quick'n'dirty prototype, fine tune it
  • TODO(co) Give the user feedback about the attempt to sign in to the server and also provide information in case of a sign in failure
  • TODO(co) Do only store and submit encrypted passwords
  • TODO(co) Add history support

Definition at line 63 of file LoginDialog.h.

Constructor & Destructor Documentation

qsf::editor::LoginDialog::LoginDialog ( bool  loginAutomatically,
QWidget *  qWidgetParent = nullptr 
)

Constructor.

Parameters
[in]loginAutomaticallyTry to automatically login on startup?
[in]qWidgetParentPointer to parent Qt widget, can be a null pointer (in this case you're responsible for destroying this dialog instance)
virtual qsf::editor::LoginDialog::~LoginDialog ( )
virtual

Destructor.

Member Function Documentation

virtual void qsf::editor::LoginDialog::closeEvent ( QCloseEvent *  qCloseEvent)
overrideprotectedvirtual
virtual void qsf::editor::LoginDialog::retranslateUi ( )
overrideprotectedvirtual

Retranslate the UI.

Note
  • The default implementation is empty

Reimplemented from qsf::editor::ClientStartupDialog.


The documentation for this class was generated from the following file: