Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
Globals.h File Reference
#include <QString>
#include <misc/global.h>
Include dependency graph for Globals.h:

Go to the source code of this file.

Namespaces

namespace  sf
 

Functions

_MISC_FUNC QSettings * sf::setGlobalSettings (QSettings *settings)
 Sets global settings class for settings.
 
_MISC_FUNC QSettings * sf::getGlobalSettings ()
 Gets global settings class for settings.
 
_MISC_FUNC QWidget * sf::setGlobalParent (QWidget *parent)
 Sets global parent widget class for dialogs.
 
_MISC_FUNC QWidget * sf::getGlobalParent ()
 Gets global parent widget class for settings.
 
_MISC_FUNC QUiLoader * sf::setGlobalUiLoader (QUiLoader *uiLoader)
 Sets global UI loader class.
 
_MISC_FUNC QUiLoader * sf::getGlobalUiLoader ()
 Gets global UI loader instance.
 
_MISC_FUNC void sf::setPluginDir (QString pluginDir)
 Sets the global plugin directory used i.e. by sf::FormBuilderLoad() and sf::FormBuilderSave().
 
_MISC_FUNC QString sf::getPluginDir ()
 Gets the global plugin directory.
 
_MISC_FUNC QWidget * sf::FormBuilderLoad (QIODevice *io, QWidget *parent)
 Loads the form from the passed UI file. This function prevents mandatory linking of the Qt::Designer library.
 
_MISC_FUNC void sf::FormBuilderSave (QIODevice *io, QWidget *widget)
 Saves the widget to the passed file. This function prevents mandatory linking of the Qt::Designer library.