AlbumShaper
1.0a3
src
backend
tools
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
21
class
QWidget
;
22
class
QString;
23
class
QStringList;
24
class
QPixmap;
25
//--------------------
26
27
//centers window on screen
28
void
centerWindow
(
QWidget
* window);
29
31
QString
clipText
(QString
string
,
int
lines,
int
lineWidth);
32
34
QString
clipPhotoText
(
const
QString in);
35
36
#endif //BACKEND_TOOLS_GUITOOLS_H
clipPhotoText
QString clipPhotoText(const QString in)
clip photo text
Definition:
guiTools.cpp:152
QWidget
centerWindow
void centerWindow(QWidget *window)
Definition:
guiTools.cpp:26
clipText
QString clipText(QString string, int lines, int lineWidth)
clip text to fit within numer of lines and max width
Definition:
guiTools.cpp:72
Generated by
1.8.12