AlbumShaper 1.0a3
mosaicOptionsDialog.h
Go to the documentation of this file.
1//Added by qt3to4:
2#include <QLabel>
3//==============================================
4// copyright : (C) 2003-2005 by Will Stokes
5//==============================================
6// This program is free software; you can redistribute it
7// and/or modify it under the terms of the GNU General
8// Public License as published by the Free Software
9// Foundation; either version 2 of the License, or
10// (at your option) any later version.
11//==============================================
12
13#ifndef GUI_EDITING_MANIPULATIONS_MOSAICOPTIONSDIALOG_H
14#define GUI_EDITING_MANIPULATIONS_MOSAICOPTIONSDIALOG_H
15
16//--------------------
17//forward declarations
18class MosaicOptions;
19class QComboBox;
20class QSpinBox;
21class QLabel;
22class QRadioButton;
23class QLineEdit;
24class ClickableLabel;
25//--------------------
26
27#include <qdialog.h>
28#include <qsize.h>
29
30//=====================================
32//=====================================
33
35{
36Q_OBJECT
37
38public:
41
44
45private:
46 QSize determineTileSize();
47 QStringList determineFilesList();
48 void appendImagesInPath(QStringList& files, QString path, int depth);
49
51 QComboBox* tileSizes;
52 QSpinBox* tileWidth;
54 QSpinBox* tileHeight;
55
56 QRadioButton* tileType_albumPhotos;
57 QRadioButton* tileType_solidColors;
58 QRadioButton* tileType_imagesFrom;
59 QLineEdit* locationVal;
61
62private slots:
65 void browse();
66
67};
68//======================
69
70#endif //GUI_EDITING_MANIPULATIONS_MOSAICOPTIONSDIALOG_H
A clickable label.
Interface for choosing mosiac effect options.
MosaicOptions * getOptions()
returns a populate options object
QRadioButton * tileType_solidColors
void appendImagesInPath(QStringList &files, QString path, int depth)
ClickableLabel * browseButton
QRadioButton * tileType_imagesFrom
QRadioButton * tileType_albumPhotos
MosaicOptionsDialog(QWidget *parent=0)
Constructs layout.