MainWindow.h
65 lines
| 2.0 KiB
| text/x-c
|
CLexer
r21 | /*------------------------------------------------------------------------------ | |||
r54 | -- This file is a part of the SciQLop Software | |||
-- Copyright (C) 2017, Plasma Physics Laboratory - CNRS | ||||
r21 | -- | |||
-- 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 2 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, write to the Free Software | ||||
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||||
-------------------------------------------------------------------------------*/ | ||||
/*-- Author : Alexis Jeandet | ||||
-- Mail : alexis.jeandet@member.fsf.org | ||||
----------------------------------------------------------------------------*/ | ||||
r54 | #ifndef SCIQLOP_MAINWINDOW_H | |||
#define SCIQLOP_MAINWINDOW_H | ||||
r21 | ||||
#include <QListWidgetItem> | ||||
r98 | #include <QLoggingCategory> | |||
r21 | #include <QMainWindow> | |||
#include <QProgressBar> | ||||
#include <QProgressDialog> | ||||
#include <QThread> | ||||
#include <QVBoxLayout> | ||||
#include <QWidget> | ||||
r98 | ||||
#include <Common/spimpl.h> | ||||
r21 | ||||
r54 | #include <memory> | |||
r21 | ||||
r98 | Q_DECLARE_LOGGING_CATEGORY(LOG_MainWindow) | |||
r21 | namespace Ui { | |||
class MainWindow; | ||||
r54 | } // namespace Ui | |||
r21 | ||||
class MainWindow : public QMainWindow { | ||||
Q_OBJECT | ||||
public: | ||||
explicit MainWindow(QWidget *parent = 0); | ||||
r54 | virtual ~MainWindow(); | |||
r21 | public slots: | |||
protected: | ||||
void changeEvent(QEvent *e); | ||||
private: | ||||
r54 | std::unique_ptr<Ui::MainWindow> m_Ui; | |||
// QWidget *m_progressWidget; | ||||
// QVBoxLayout *m_progressLayout; | ||||
r21 | // QList<QLopService*> m_qlopServices; | |||
r98 | class MainWindowPrivate; | |||
spimpl::unique_impl_ptr<MainWindowPrivate> impl; | ||||
r21 | }; | |||
r54 | #endif // SCIQLOP_MAINWINDOW_H | |||