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

QSF editor server management dialog. More...

#include <ServerManagementDialog.h>

Classes

class  EditedUser
 

Public Member Functions

 ServerManagementDialog (DialogManager *dialogManager, QWidget *qWidgetParent)
 Constructor. More...
 
virtual ~ServerManagementDialog ()
 Destructor. More...
 
- Public Member Functions inherited from qsf::editor::Dialog
virtual ~Dialog ()
 Destructor. More...
 
ApplicationgetApplication () const
 Return the QSF editor application. More...
 
MainWindowgetMainWindow () const
 Return the main window. More...
 
virtual void setVisible (bool visible) override
 
- Public Member Functions inherited from qsf::Pluginable< DialogManager >
virtual ~Pluginable ()
 Destructor. More...
 
DialogManager & getManager () const
 Return the pluginable manager this pluginable is in. More...
 
- Public Member Functions inherited from qsf::PluginableBase
virtual ~PluginableBase ()
 Destructor. More...
 
template<typename T >
T & getPluginableManager () const
 Return the pluginable manager this pluginable is in. More...
 
- Public Member Functions inherited from qsf::Object
virtual ~Object ()
 Destructor. More...
 
const camp::Class & getCampClass () const
 Return the CAMP class. More...
 
int getPropertyIndexById (const StringHash &propertyId) const
 Return the CAMP property index by using the unique class property ID. More...
 
uint32 getPropertyIdByIndex (int index) const
 Return the unique class property ID with the given index. More...
 
std::string getPropertyNameById (const StringHash &propertyId) const
 Return the CAMP property name by using the unique class property ID. More...
 
const camp::Property * getCampPropertyById (const StringHash &propertyId) const
 Return the CAMP property by using the unique class property ID. More...
 
void setPropertyValuesByString (const std::string &values)
 Set CAMP reflection property values by using a given string. More...
 
void setPropertiesToDefaultValues ()
 Set all CAMP reflection system properties to their default values. More...
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
void serializeToBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void deserializeFromBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL, bool setOverrideState=true)
 
virtual camp::Value getPropertyDefaultValue (const StringHash &propertyId) const
 
virtual PropertyOverrideState getPropertyOverrideState (const StringHash &propertyId) const
 
virtual bool setPropertyOverrideState (const StringHash &propertyId, PropertyOverrideState overrideState)
 
virtual void onPreDeserialize ()
 Called right before the object is deserialized using any of the above methods. Default implementation is empty. More...
 
virtual void onPostDeserialize ()
 Called right after the object was deserialized using any of the above methods. Default implementation is empty. More...
 
virtual ScriptgetAssociatedScript () const
 Return the script instance associated with this object instance. More...
 

Static Public Attributes

static const uint32 PLUGINABLE_ID
 "qsf::editor::ServerManagementDialog" unique pluginable dialog ID More...
 

Protected Member Functions

virtual void retranslateUi () override
 Retranslate the UI. More...
 
virtual void changeVisibility (bool visible) override
 Change visibility. More...
 
- Protected Member Functions inherited from qsf::editor::Dialog
virtual void readSettings (QSettings &qSettings)
 Read settings by using Qt's "QSettings". More...
 
virtual void writeSettings (QSettings &qSettings)
 Write settings by using Qt's "QSettings". More...
 
virtual bool preChangeVisibility (bool visible)
 Filter method called before "qsf::editor::Dialog::changeVisibility()" is called. More...
 
 Dialog (DialogManager *dialogManager, QWidget *qWidgetParent)
 Constructor. More...
 
virtual void changeEvent (QEvent *qEvent) override
 
- Protected Member Functions inherited from qsf::Pluginable< DialogManager >
 Pluginable (DialogManager *pluginableManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::PluginableBase
 PluginableBase (PluginableManager *pluginableManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::Object
 Object ()
 Default constructor. More...
 

Additional Inherited Members

- Public Types inherited from qsf::Object
enum  PropertyOverrideState { PROPERTY_INVALID, PROPERTY_DEFAULT, PROPERTY_OVERRIDE, PROPERTY_REMOVED }
 
enum  SerializationMethod { SERIALIZE_FLAT, SERIALIZE_COMPLETE, SERIALIZE_DIFFERENTIAL, SERIALIZE_IGNORE_UNKNOWN }
 
enum  SerializationMode { MODE_MINIMAL, MODE_COMPATIBLE }
 

Detailed Description

QSF editor server management dialog.

Todo:
  • TODO(co) Implement me, contains the project management and user management GUI

Definition at line 59 of file ServerManagementDialog.h.

Constructor & Destructor Documentation

qsf::editor::ServerManagementDialog::ServerManagementDialog ( DialogManager dialogManager,
QWidget *  qWidgetParent 
)

Constructor.

Parameters
[in]dialogManagerThe dialog manager this dialog instance is in, no null pointer allowed (the CAMP reflection system does not like references in constructors, so we have to use a pointer instead)
[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::ServerManagementDialog::~ServerManagementDialog ( )
virtual

Destructor.

Member Function Documentation

virtual void qsf::editor::ServerManagementDialog::changeVisibility ( bool  visible)
overrideprotectedvirtual

Change visibility.

Parameters
[in]visibleThe new visibility state
Note
  • Unlike "QWidget::setVisible()" this method is only called if there was a real visibility state change
  • The default implementation is empty

Reimplemented from qsf::editor::Dialog.

virtual void qsf::editor::ServerManagementDialog::retranslateUi ( )
overrideprotectedvirtual

Retranslate the UI.

Note
  • This method is only called in case the dialog is visible
  • The default implementation is empty

Reimplemented from qsf::editor::Dialog.

Member Data Documentation

const uint32 qsf::editor::ServerManagementDialog::PLUGINABLE_ID
static

"qsf::editor::ServerManagementDialog" unique pluginable dialog ID

Definition at line 74 of file ServerManagementDialog.h.


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