OpenAlbum 1.0.b

/home/manuel/PFC/open-album/OpenAlbum-Unix/eleccionorden.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 ELECCIONORDEN_H
00020 #define ELECCIONORDEN_H
00021 
00022 #include <QWidget>
00023 #include <QDialog>
00024 #include <QMainWindow>
00025 #include <QtGui>
00026 #include <QFileInfo>
00027 #include <QList>
00028 #include <QSettings>
00029 
00030 #include <QDialog>
00031 #include "controladorresolucion.h"
00032 
00033 namespace Ui {
00034     class eleccionOrden;
00035 }
00036 
00038 
00063 class eleccionOrden : public QDialog
00064 {
00065     Q_OBJECT
00066 
00067 public:
00068 
00077     explicit eleccionOrden(QWidget *parent = 0, controladorResolucion *controlador=0, QDir directoriodetrabajo=QDir());
00078     
00085     ~eleccionOrden();
00086 
00094     bool GetOrdenAlfabetico();
00095     
00103     bool GetOrdenFechasCreciente();
00104     
00112     bool GetOrdenFechasDecreciente();
00113     
00121     bool GetOrdenPersonalizado();
00122     
00123 
00124 public slots:
00125     
00131     void SetTipoOrden();
00132     
00138     void ActivarBotonSiguiente();
00139 
00140     
00141 private:
00142     Ui::eleccionOrden *ui;
00143     controladorResolucion *controlador;
00144     QDir directorioPpal;
00145     void setDimensiones();
00146     bool ordenalfabetico, ordenfechascreciente, ordenfechasdecreciente, ordenpersonalizado;
00147 };
00148 
00149 #endif // ELECCIONORDEN_H
 Todo Clases Archivos Funciones Variables