OpenAlbum 1.0.b

/home/manuel/PFC/open-album/OpenAlbum-Unix/dialogtamanno.h

00001 /*
00002     Copyright © 2011 Manuel Jesús de la Calle Brihuega   
00003  
00004     This file is part of open Album.
00005 
00006     Open Album is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 
00011     Open Album is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014     GNU General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with open Album.  If not, see <http://www.gnu.org/licenses/>.
00018 */
00019 #ifndef DIALOGTAMANNO_H
00020 #define DIALOGTAMANNO_H
00021 
00022 #include <QDialog>
00023 #include <QMainWindow>
00024 #include <QtGui>
00025 #include <QFileInfo>
00026 #include <QList>
00027 #include <QSettings>
00028 #include "controladorresolucion.h"
00029 
00030 namespace Ui {
00031     class DialogTamanno;
00032 }
00033 
00035 
00059 class DialogTamanno : public QDialog
00060 {
00061     Q_OBJECT
00062 
00063 public:
00064     
00073     explicit DialogTamanno(QWidget *parent = 0, controladorResolucion *controlador=0, QDir directoriodetrabajo=QDir());
00074     
00081     ~DialogTamanno();
00082     
00090     int HAlbum();
00091     
00099     int WAlbum();
00100     
00108     bool SeguirOno();
00109 
00110     
00111 public slots:
00112     
00118     void LoadWH();
00119     
00125     void ActivarBotonSiguiente();
00126     
00127      
00128 private:
00129     Ui::DialogTamanno *ui;
00130     int h, w;
00131     controladorResolucion *controlador;
00132     bool seguir;
00133     QDir directorioPpal;
00134     void setDimensiones();
00135 };
00136 
00137 #endif // DIALOGTAMANNO_H
 Todo Clases Archivos Funciones Variables