OpenAlbum 1.0.b

/home/manuel/PFC/open-album/OpenAlbum-Unix/dialogtextopagina.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 DIALOGTEXTOPAGINA_H
00020 #define DIALOGTEXTOPAGINA_H
00021 
00022 #include <QDialog>
00023 #include "controladorresolucion.h"
00024 
00025 namespace Ui {
00026     class DialogTextoPagina;
00027 }
00028 
00030 
00052 class DialogTextoPagina : public QDialog
00053 {
00054     Q_OBJECT
00055 
00056 public:
00057     
00069     explicit DialogTextoPagina(QWidget *parent = 0, int numtabs=0, QString ruta="", controladorResolucion *controlador_=0, QDir directoriodetrabajo);
00070     
00077     ~DialogTextoPagina();
00078     
00086     bool formularioAceptado();
00087     
00088     
00089     bool neg1; 
00090     bool neg2; 
00091     bool neg3; 
00092     bool neg4; 
00093     bool cur1; 
00094     bool cur2; 
00095     bool cur3; 
00096     bool cur4; 
00097     bool sub1; 
00098     bool sub2; 
00099     bool sub3; 
00100     bool sub4; 
00101     bool coloreado1; 
00102     bool coloreado2; 
00103     bool coloreado3; 
00104     bool coloreado4; 
00105     QString text1; 
00106     QString text2; 
00107     QString text3; 
00108     QString text4; 
00109     QFont f1; 
00110     QFont f2; 
00111     QFont f3; 
00112     QFont f4; 
00113     QColor colortexto1; 
00114     QColor colortexto2; 
00115     QColor colortexto3; 
00116     QColor colortexto4; 
00118     Ui::DialogTextoPagina *ui; 
00120 public slots:
00121     
00128     void EstablecerTextos();
00129     
00135     void Aceptar();
00136     
00142     void PushSeleccionColor1();
00143     
00149     void PushSeleccionColor2();
00150     
00156     void PushSeleccionColor3();
00157     
00163     void PushSeleccionColor4();
00164     
00170     void PushSeleccionFuente1();
00171     
00177     void PushSeleccionFuente2();
00178     
00184     void PushSeleccionFuente3();
00185     
00191     void PushSeleccionFuente4();
00192     
00198     void PushNegrita1();
00199     
00205     void PushNegrita2();
00206     
00212     void PushNegrita3();
00213     
00219     void PushNegrita4();
00220     
00226     void PushSubrayado1();
00227     
00233     void PushSubrayado2();
00234     
00240     void PushSubrayado3();
00241     
00247     void PushSubrayado4();
00248     
00254     void PushCursiva1();
00255     
00261     void PushCursiva2();
00262     
00268     void PushCursiva3();
00269     
00275     void PushCursiva4();
00276     
00282     void FocusTab();
00283     
00284     
00285 private:
00286     bool formularioFinalizadoCorrectamente;
00287     controladorResolucion *controlador;
00288     void setDimensiones();
00289 
00290 };
00291 
00292 #endif // DIALOGTEXTOPAGINA_H
 Todo Clases Archivos Funciones Variables