-// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
#include <QColor>
#include <LightApp_Application.h>
+#ifndef GUI_DISABLE_CORBA
+#include <SalomeApp_Application.h>
+#endif
#include <LightApp_Preferences.h>
#include <Plot2d_ViewFrame.h>
WT_ObjectBrowser = LightApp_Application::WT_ObjectBrowser,
WT_PyConsole = LightApp_Application::WT_PyConsole,
WT_LogWindow = LightApp_Application::WT_LogWindow,
+#ifndef GUI_DISABLE_CORBA
+ WT_NoteBook = SalomeApp_Application::WT_NoteBook,
+ WT_User = SalomeApp_Application::WT_User
+#else
WT_User = LightApp_Application::WT_User
+#endif
};
enum {
UnpresentableState //!< Unpresentable object
};
+enum Axis {
+ yLeft = QwtPlot::yLeft,
+ yRight = QwtPlot::yRight,
+ xBottom = QwtPlot::xBottom,
+ xTop = QwtPlot::xTop,
+};
class SalomePyQt
{