/* * © 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 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