This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
IndoorMap/MainWindow.h
2018-10-25 12:19:36 +02:00

79 lines
1.7 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* © Copyright 2014 Urheberrechtshinweis
* Alle Rechte vorbehalten / All Rights Reserved
*
* Programmcode ist urheberrechtlich geschuetzt.
* Das Urheberrecht liegt, soweit nicht ausdruecklich anders gekennzeichnet, bei Frank Ebner.
* Keine Verwendung ohne explizite Genehmigung.
* (vgl. § 106 ff UrhG / § 97 UrhG)
*/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "fixC11.h"
#include <QMainWindow>
class MapView2D;
class MapView3D;
class QTreeView;
class QStatusBar;
class QLabel;
class ElementParamWidget;
class LayerParamWidget;
class ActionWidget;
class ToolBoxWidget;
class LayerTree;
class LINTView;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
MapView2D* getMapView2D() {return mapView2D;}
MapView3D* getMapView3D() {return mapView3D;}
LINTView* getLINT() {return lintView;}
ElementParamWidget* getElementParamWidget() {return elementParamWidget;}
LayerParamWidget* getLayerParamWidget() {return layerParamWidget;}
ToolBoxWidget* getToolBoxWidget() {return toolBoxWidget;}
ActionWidget* getActionWidget() {return actionWidget;}
LayerTree* getTree() {return layerTree;}
signals:
void onShow2D();
void onShow3DFloorplan(bool show);
void onShow3DGrid(bool show);
void onShow3DNavMesh(bool show);
void onGridShowEdges(bool);
void onGridNodeColorImp();
void onGridNodeColorType();
private:
Ui::MainWindow *ui;
LayerTree* layerTree;
LINTView* lintView;
MapView2D* mapView2D;
MapView3D* mapView3D;
ElementParamWidget* elementParamWidget;
LayerParamWidget* layerParamWidget;
ActionWidget* actionWidget;
ToolBoxWidget* toolBoxWidget;
QStatusBar* statusBar;
QLabel* statusBarText1;
};
#endif // MAINWINDOW_H