/* * Localwebfaker - Web sites faker for LAN * Copyright (C) 2007-2009 Lucas J. González * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see #include #include #include #include #include class ventanaInicio : public QDialog { Q_OBJECT public: ventanaInicio (QWidget *parent = 0); QSize *winSize; QSize *winSizeZero; QSize *winSizeExpand; void nuevaLineaSalida (QString = QString("")); int checkApache (); bool Validar() ; UInput getUserInput() ; public slots: void muestraSalida() ; void ocultaSalida() ; void Iniciar() ; void parar() ; private: UInput *userInput ; QSize *tmpQSize ; QLabel *dominioLbl ; QLabel *docrootLbl ; QLabel *victimaLbl ; QLabel *interfazLbl ; QLabel *gatewayLbl ; QLineEdit *docrootLE ; QLineEdit *victimaLE ; QLineEdit *dominioLE ; QLineEdit *interfazLE ; QLineEdit *gatewayLE ; QPushButton *iniciarBtn ; QSpacerItem *espacioQSI ; QLabel *salidaLbl ; QGroupBox *salidaGB ; QVBoxLayout *cuerpo ; QHBoxLayout *hrzL ; QVBoxLayout *salidaL ; QPushButton *hideSalidaBtn ; }; #endif