![]() |
OpenAlbum 1.0.b
|
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 00020 #ifndef PORTADAWIZARD_H 00021 #define PORTADAWIZARD_H 00022 00023 #include <QWizardPage> 00024 #include "formprincipal.h" 00025 #include "ui_formprincipal.h" 00026 00027 namespace Ui { 00028 class portadaWizard; 00029 } 00030 00031 class FormPrincipal; 00032 00034 00061 class portadaWizard : public QWizardPage 00062 { 00063 Q_OBJECT 00064 00065 public: 00066 00075 explicit portadaWizard(QWidget *parent = 0, FormPrincipal *form = 0); 00076 00083 ~portadaWizard(); 00084 00090 void activarSelectorPlantillas(); 00091 00099 void setEnabledNecesitaTexto(bool logico); 00100 00108 void setEnabledTieneTexto(bool logico); 00109 00115 void cleanupPage(); 00116 00124 bool isComplete() const; 00125 00126 Ui::portadaWizard *ui; 00129 public slots: 00130 00136 void visualizarPlantillas(); 00137 00143 void IntroducirTexto(); 00144 00145 00146 private: 00147 FormPrincipal *form; 00148 bool necesitaTexto, tieneTexto; 00149 00150 }; 00151 00152 #endif // PORTADAWIZARD_H