"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/src/gui-qt/io_report.h" (12 May 2020, 1741 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /***************************************************************************
    2                                io_report.h
    3                              -------------------
    4     begin                : Mo 16.03.2009
    5     copyright            : (C) 2009-2018 by Andre Simon
    6     email                : a.simon@mailbox.org
    7  ***************************************************************************/
    8 
    9 /*
   10 This file is part of Highlight.
   11 
   12 Highlight is free software: you can redistribute it and/or modify
   13 it under the terms of the GNU General Public License as published by
   14 the Free Software Foundation, either version 3 of the License, or
   15 (at your option) any later version.
   16 
   17 Highlight is distributed in the hope that it will be useful,
   18 but WITHOUT ANY WARRANTY; without even the implied warranty of
   19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   20 GNU General Public License for more details.
   21 
   22 You should have received a copy of the GNU General Public License
   23 along with Highlight.  If not, see <http://www.gnu.org/licenses/>.
   24 */
   25 
   26 #ifndef IO_REPORT_H
   27 #define IO_REPORT_H
   28 #include <QtGlobal>
   29 
   30 #if (QT_VERSION < QT_VERSION_CHECK(5,0,0))
   31 #include <QtGui/QDialog>
   32 #else
   33 #include <QtWidgets/QDialog>
   34 #endif
   35 
   36 namespace Ui {
   37     class io_report;
   38 }
   39 
   40 class io_report : public QDialog {
   41     Q_OBJECT
   42     Q_DISABLE_COPY(io_report)
   43 public:
   44     explicit io_report(QWidget *parent = 0);
   45     virtual ~io_report();
   46 
   47     void addInputErrors(QStringList & list);
   48     void addOutputErrors(QStringList & list);
   49     void addReformatErrors(QStringList & list);
   50     void addSyntaxTestErrors(QStringList & list);
   51 
   52     bool removeInputErrorFiles();
   53 
   54 protected:
   55     virtual void changeEvent(QEvent *e);
   56 
   57 private:
   58     Ui::io_report *m_ui;
   59 };
   60 
   61 #endif // IO_REPORT_H