AlbumShaper
1.0a3
|
#include <qwidget.h>
#include <qapplication.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qpixmap.h>
#include <QDesktopWidget>
#include "guiTools.h"
Go to the source code of this file.
Macros | |
#define | SUBALBUM_TEXT_LENGTH 35 |
#define | PHOTO_TEXT_LENGTH 35 |
Functions | |
void | centerWindow (QWidget *window) |
QString | clipText (QString string, int lines, int lineWidth) |
clip text to fit within numer of lines and max width More... | |
QString | clipPhotoText (const QString in) |
clip photo text More... | |
#define PHOTO_TEXT_LENGTH 35 |
Definition at line 23 of file guiTools.cpp.
Referenced by clipPhotoText().
#define SUBALBUM_TEXT_LENGTH 35 |
Definition at line 22 of file guiTools.cpp.
void centerWindow | ( | QWidget * | window | ) |
Definition at line 26 of file guiTools.cpp.
Referenced by TitleWidget::aboutProgram(), TitleWidget::albumStatistics(), TitleWidget::help(), main(), and TitleWidget::settings().
QString clipPhotoText | ( | const QString | in | ) |
QString clipText | ( | QString | string, |
int | lines, | ||
int | lineWidth | ||
) |
clip text to fit within numer of lines and max width
Definition at line 72 of file guiTools.cpp.
Referenced by SubalbumPreviewWidget::setText(), and PhotoPreviewWidget::setText().