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
18 class MosaicOptions;
19 class QComboBox;
20 class QSpinBox;
21 class QLabel;
22 class QRadioButton;
23 class QLineEdit;
24 class ClickableLabel;
25 //--------------------
26 
27 #include <qdialog.h>
28 #include <qsize.h>
29 
30 //=====================================
32 //=====================================
33 
35 {
36 Q_OBJECT
37 
38 public:
40  MosaicOptionsDialog(QWidget *parent=0);
41 
44 
45 private:
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 
62 private slots:
63  void updateTileSizePreview();
65  void browse();
66 
67 };
68 //======================
69 
70 #endif //GUI_EDITING_MANIPULATIONS_MOSAICOPTIONSDIALOG_H
QStringList determineFilesList()
MosaicOptionsDialog(QWidget *parent=0)
Constructs layout.
QRadioButton * tileType_imagesFrom
A clickable label.
Interface for choosing mosiac effect options.
QRadioButton * tileType_solidColors
void appendImagesInPath(QStringList &files, QString path, int depth)
QRadioButton * tileType_albumPhotos
MosaicOptions * getOptions()
returns a populate options object
ClickableLabel * browseButton