mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-02 13:39:59 +02:00
49 lines
1.2 KiB
C++
49 lines
1.2 KiB
C++
/*
|
|
* MainWindow.h
|
|
*
|
|
* (c) 2013 Sofian Audry -- info(@)sofianaudry(.)com
|
|
*
|
|
* 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 <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef MAIN_WINDOW_H_
|
|
#define MAIN_WINDOW_H_
|
|
|
|
#include <QtGui>
|
|
|
|
#include "Common.h"
|
|
|
|
#include "DestinationGLCanvas.h"
|
|
#include "SourceGLCanvas.h"
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow();
|
|
virtual ~MainWindow();
|
|
|
|
private:
|
|
QListWidget* sourceList;
|
|
SourceGLCanvas* sourceCanvas;
|
|
DestinationGLCanvas* destinationCanvas;
|
|
|
|
private slots:
|
|
void handleSourceItemSelectionChanged();
|
|
// void handleSourceSelectionChanged(const QItemSelection& selection);
|
|
};
|
|
|
|
#endif /* MAIN_WINDOW_H_ */
|