AlbumShaper 1.0a3
guiTools.h
Go to the documentation of this file.
1//==============================================
2// copyright : (C) 2003-2005 by Will Stokes
3//==============================================
4// This program is free software; you can redistribute it
5// and/or modify it under the terms of the GNU General
6// Public License as published by the Free Software
7// Foundation; either version 2 of the License, or
8// (at your option) any later version.
9//==============================================
10
11#ifndef BACKEND_TOOLS_GUITOOLS_H
12#define BACKEND_TOOLS_GUITOOLS_H
13
14#include <qlabel.h>
15#include <q3filedialog.h>
16//Added by qt3to4:
17#include <QPixmap>
18
19//--------------------
20//forward declarations
21class QWidget;
22class QString;
23class QStringList;
24class QPixmap;
25//--------------------
26
27//centers window on screen
28void centerWindow(QWidget* window);
29
31QString clipText(QString string, int lines, int lineWidth);
32
34QString clipPhotoText(const QString in);
35
36#endif //BACKEND_TOOLS_GUITOOLS_H
void centerWindow(QWidget *window)
Definition guiTools.cpp:26
QString clipText(QString string, int lines, int lineWidth)
clip text to fit within numer of lines and max width
Definition guiTools.cpp:72
QString clipPhotoText(const QString in)
clip photo text
Definition guiTools.cpp:152