00001 // ---------------------------------------------------------------------------- 00002 // 00003 // $Id$ 00004 // 00005 // Copyright 2008, 2009, 2010, 2011, 2012 Antonio Franchi and Paolo Stegagno 00006 // 00007 // This file is part of MIP. 00008 // 00009 // MIP is free software: you can redistribute it and/or modify 00010 // it under the terms of the GNU General Public License as published by 00011 // the Free Software Foundation, either version 3 of the License, or 00012 // (at your option) any later version. 00013 // 00014 // MIP is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 // GNU General Public License for more details. 00018 // 00019 // You should have received a copy of the GNU General Public License 00020 // along with MIP. If not, see <http://www.gnu.org/licenses/>. 00021 // 00022 // Contact info: antonio.franchi@tuebingen.mpg.de stegagno@diag.uniroma1.it 00023 // 00024 // ---------------------------------------------------------------------------- 00025 00026 00032 00033 #ifndef __DRA_WIN_QT_SCENE_H_ 00034 #define __DRA_WIN_QT_SCENE_H_ 00035 00036 #include <QGraphicsScene> 00037 00038 #include "DraWin.h" 00039 #include <Option.h> 00040 00041 namespace MipResources{ 00043 /* @{ */ 00044 00045 00046 using namespace std; 00047 00050 class DraWinQtSceneOptions : public Options { 00051 public: 00052 00053 DraWinQtSceneOptions(){ 00054 00055 } 00056 }; 00057 00058 00059 00060 class DraWinQt2D: public DraWin{ 00061 private: 00062 //static const ResourcePlate _plate= DW_QT2D_RES; 00063 public: 00064 00065 QGraphicsScene _scene; 00066 00068 DraWinQt2D(int argc, const char* argv[]); 00070 ~DraWinQt2D(); 00072 ResourcePlate getPlate() const { 00073 //return _plate; 00074 } 00075 }; 00076 00077 /* @} */ 00078 00079 };// end namespace MipResources{ 00080 00081 00082 #endif 00083