BuildmLearn Toolkit  2.0.4
BuildmLearn Toolkit is an easy-to-use program that helps users make mobile apps without any knowledge of application development.
 All Classes Functions Enumerations Groups Pages
SkinFactory Class Reference

Main features for skinning. More...

#include <skinfactory.h>

Collaboration diagram for SkinFactory:
Collaboration graph

Public Member Functions

 SkinFactory (QObject *parent=0)
 Constructor.
 
virtual ~SkinFactory ()
 Destructor.
 
void loadCurrentSkin ()
 Loads skin name from settings and sets it as active.
 
QString selectedSkinName ()
 Name of this "activated" skin. More...
 
Skin skinInfo (const QString &skin_name, bool *ok=NULL)
 Gets skin about a particular skin.
 
QList< SkininstalledSkins ()
 Returns list of installed skins.
 
void setCurrentSkinName (const QString &skin_name)
 Sets the desired skin as the active one if it exists.
 
Skin currentSkin () const
 Access to activated skin. More...
 

Detailed Description

Main features for skinning.

Definition at line 59 of file skinfactory.h.

Member Function Documentation

Skin SkinFactory::currentSkin ( ) const
inline

Access to activated skin.

Returns
Returns Skin instance which holds data of currently active skin.

Definition at line 89 of file skinfactory.h.

89  {
90  return m_currentSkin;
91  }
QString SkinFactory::selectedSkinName ( )

Name of this "activated" skin.

Returns
Returns the name of the skin, that should be activated after application restart.

Definition at line 110 of file skinfactory.cpp.

110  {
111  return qApp->settings()->value(APP_CFG_GUI,
112  "skin",
113  APP_SKIN_DEFAULT).toString();
114 }

Here is the caller graph for this function:


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