XML Mill  1.0.0
A GUI based XML editor with a memory.
Functions | Variables
GCGlobalSpace Namespace Reference

Contains values and functions used throughout the application. More...

Functions

const QString & getOrganisationName ()
const QString & getApplicationName ()
bool showHelpButtons ()
 Used by various forms to determine whether or not they must display their "Help" tool buttons.
void setShowHelpButtons (bool show)
 Saves the user's "Help" button preference to the registry/ini/xml.
bool showTreeItemsVerbose ()
 Used by GCTreeWidgetItem to determine whether or not it should show its element as "verbose".
void setShowTreeItemsVerbose (bool show)
 Saves the user's tree item verbosity preference to the registry/ini/xml.
QString lastUserSelectedDirectory ()
 Returns the last directory that the user navigated to through dialogs, etc.
void setLastUserSelectedDirectory (const QString &dir)
 Saves the last directory the user navigated to through dialogs, etc to the registry/ini/xml.
QByteArray windowGeometry ()
 Returns the window geometry settings.
void setWindowGeometry (const QByteArray &geometry)
 Saves the window geometry settings to the registry/ini/xml.
QByteArray windowState ()
 Returns the window state settings.
void setWindowState (const QByteArray &state)
 Saves the window state settings to the registry/ini/xml.
void removeWindowInfo ()
 Deletes all saved window state and geometry information from the registry.
bool useDarkTheme ()
 Returns "true" if the application needs to have the dark theme set.
void setUseDarkTheme (bool use)
 Saves the dark theme state to the registry/ini/xml.
bool useWindowSettings ()
 Returns "true" if the application needs to save window settings.
void setUseWindowSettings (bool use)
 Saves the windows settings state to the registry/ini/xml.

Variables

const QString FONT = "Courier New"
 Default font for displaying XML content (directly or via table and tree views).
const int FONTSIZE = 10
 Default font size for displaying XML content (directly or via table and tree views).

Detailed Description

Contains values and functions used throughout the application.


Function Documentation

Returns the last directory that the user navigated to through dialogs, etc.

Definition at line 102 of file gcglobalspace.cpp.

Deletes all saved window state and geometry information from the registry.

Definition at line 150 of file gcglobalspace.cpp.

void GCGlobalSpace::setLastUserSelectedDirectory ( const QString &  dir)

Saves the last directory the user navigated to through dialogs, etc to the registry/ini/xml.

Definition at line 110 of file gcglobalspace.cpp.

void GCGlobalSpace::setShowHelpButtons ( bool  show)

Saves the user's "Help" button preference to the registry/ini/xml.

Definition at line 78 of file gcglobalspace.cpp.

Saves the user's tree item verbosity preference to the registry/ini/xml.

Definition at line 94 of file gcglobalspace.cpp.

void GCGlobalSpace::setUseDarkTheme ( bool  use)

Saves the dark theme state to the registry/ini/xml.

Definition at line 175 of file gcglobalspace.cpp.

Saves the windows settings state to the registry/ini/xml.

Definition at line 191 of file gcglobalspace.cpp.

void GCGlobalSpace::setWindowGeometry ( const QByteArray &  geometry)

Saves the window geometry settings to the registry/ini/xml.

Definition at line 126 of file gcglobalspace.cpp.

void GCGlobalSpace::setWindowState ( const QByteArray &  state)

Saves the window state settings to the registry/ini/xml.

Definition at line 142 of file gcglobalspace.cpp.

Used by various forms to determine whether or not they must display their "Help" tool buttons.

Definition at line 70 of file gcglobalspace.cpp.

Used by GCTreeWidgetItem to determine whether or not it should show its element as "verbose".

Definition at line 86 of file gcglobalspace.cpp.

Returns "true" if the application needs to have the dark theme set.

Definition at line 167 of file gcglobalspace.cpp.

Returns "true" if the application needs to save window settings.

Definition at line 183 of file gcglobalspace.cpp.

Returns the window geometry settings.

Definition at line 118 of file gcglobalspace.cpp.

Returns the window state settings.

Definition at line 134 of file gcglobalspace.cpp.


Variable Documentation

const QString GCGlobalSpace::FONT = "Courier New"

Default font for displaying XML content (directly or via table and tree views).

Definition at line 103 of file gcglobalspace.h.

const int GCGlobalSpace::FONTSIZE = 10

Default font size for displaying XML content (directly or via table and tree views).

Definition at line 106 of file gcglobalspace.h.