/* ====================================================================
* Copyright (c) 2003-2006, Martin Hauner
*                          http://subcommander.tigris.org
*
* Subcommander is licensed as described in the file doc/COPYING, which
* you should have received as part of this distribution.
* ====================================================================
*/

#ifndef _SC_GUI_H
#define _SC_GUI_H

/**
 * Return the spacing required to avoid an overlap with the size grip
 * for widgets at the bottom of a resizeable window.
 * \return the required spacing in pixels.
 */
int getSizeGripSpacing();


/**
 * Shortcut for the heavily used utf8 string conversions.
 */
#define qtf8(x) QString::fromUtf8(x)

#endif // _SC_GUI_H
