Emergency 20 Dokumentation  4.1.0
Public Member Functions | Protected Member Functions | List of all members
qsf::editor::LoginDialog Class Reference

QSF editor client login dialog. More...

#include <LoginDialog.h>

Inheritance diagram for qsf::editor::LoginDialog:
Inheritance graph
Collaboration diagram for qsf::editor::LoginDialog:
Collaboration graph

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...
void setupWindowTitle ()
 Setup window title. More...
virtual void changeEvent (QEvent *qEvent) override

Detailed Description

QSF editor client login dialog.

  • As result, the Qt dialog returns the new stage "qsf::editor::Application::Stage" the application should switch to
  • 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

Constructor & Destructor Documentation

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


[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 ( )


Member Function Documentation

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

Retranslate the UI.

  • The default implementation is empty

Reimplemented from qsf::editor::ClientStartupDialog.

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