/*************************************************************************** showtextfile.h ------------------- begin : Mo 16.03.2009 copyright : (C) 2009 by Andre Simon email : andre.simon1@gmx.de ***************************************************************************/ /* This file is part of Highlight. Highlight 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. Highlight 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 Highlight. If not, see . */ #ifndef SHOWTEXTFILE_H #define SHOWTEXTFILE_H #include namespace Ui { class ShowTextFile; } class ShowTextFile : public QDialog { Q_OBJECT Q_DISABLE_COPY(ShowTextFile) public: explicit ShowTextFile(QWidget *parent = 0); virtual ~ShowTextFile(); bool setFileName(const QString& fileName); protected: virtual void changeEvent(QEvent *e); private: Ui::ShowTextFile *m_ui; private slots: void on_pushButton_clicked(); }; #endif // SHOWTEXTFILE_H