#endif
#include "LightApp_Application.h"
-#include "LightApp_WidgetContainer.h"
#include "LightApp_Module.h"
#include "LightApp_DataModel.h"
#include "LightApp_Study.h"
#include "LightApp_ModuleDlg.h"
#include "LightApp_AboutDlg.h"
#include "LightApp_ModuleAction.h"
-#include "LightApp_Browser.h"
// temporary commented
//#include "LightApp_OBFilter.h"
#include "LightApp_EventFilter.h"
#include <CAM_Study.h>
#include <STD_TabDesktop.h>
+#include <SUIT_DataBrowser.h>
#include <SUIT_Session.h>
#include <SUIT_Study.h>
#include <SUIT_FileDlg.h>
/*!
\return Object Browser
*/
-LightApp_Browser* LightApp_Application::objectBrowser()
+SUIT_DataBrowser* LightApp_Application::objectBrowser()
{
- return qobject_cast<LightApp_Browser*>( dockWindow( WT_ObjectBrowser ) );
+ return qobject_cast<SUIT_DataBrowser*>( dockWindow( WT_ObjectBrowser ) );
}
/*!
QWidget* wid = 0;
if ( flag == WT_ObjectBrowser )
{
- LightApp_Browser* ob = new LightApp_Browser( new LightApp_DataObject(), desktop() );
+ SUIT_DataBrowser* ob = new SUIT_DataBrowser( new LightApp_DataObject(), desktop() );
ob->setSortMenuEnabled( true );
ob->setAutoUpdate( true );
//ob->setAutoOpenLevel( 1 ); // commented by ASV as a fix to bug IPAL10107
if( param=="auto_size" || param=="auto_size_first" )
{
// temporary commented
- /*LightApp_Browser* ob = objectBrowser();
+ /*SUIT_DataBrowser* ob = objectBrowser();
if( !ob )
return;
{
CAM_Application::contextMenuPopup( type, thePopup, title );
- LightApp_Browser* ob = objectBrowser();
+ SUIT_DataBrowser* ob = objectBrowser();
if ( ob && type == ob->popupClientType() ) {
thePopup->addSeparator();
QAction* a = thePopup->addAction( tr( "MEN_REFRESH" ), this, SLOT( onRefresh() ) );
#include <QPointer>
class LogWindow;
-class LightApp_Browser;
#ifndef DISABLE_PYCONSOLE
class PyConsole_Console;
#endif
class LightApp_Preferences;
class LightApp_SelectionMgr;
class LightApp_DataObject;
+class SUIT_DataBrowser;
class SUIT_Study;
class SUIT_Accel;
class CAM_Module;
LightApp_SelectionMgr* selectionMgr() const;
LogWindow* logWindow();
- LightApp_Browser* objectBrowser();
+ SUIT_DataBrowser* objectBrowser();
#ifndef DISABLE_PYCONSOLE
PyConsole_Console* pythonConsole();
#endif
#include "LightApp_DataObject.h"
#include "LightApp_Module.h"
#include "LightApp_Application.h"
-#include "LightApp_Browser.h"
+#include <SUIT_DataBrowser.h>
#include <SUIT_DataObject.h>
/*!
#include "LightApp_SwitchOp.h"
#include "LightApp_UpdateFlags.h"
#include "LightApp_ShowHideOp.h"
-#include "LightApp_Browser.h"
+#include <SUIT_DataBrowser.h>
#include <SUIT_Study.h>
#include <SUIT_DataObject.h>
#include <SUIT_Operation.h>
#include "LightApp_DataOwner.h"
#include "LightApp_DataObject.h"
#include "LightApp_Application.h"
-#include "LightApp_Browser.h"
+#include <SUIT_DataBrowser.h>
#include <SUIT_Session.h>
#include <SUIT_DataObjectIterator.h>
#include <QTime>
\param ob object browser
\param mgr selection manager
*/
-LightApp_OBSelector::LightApp_OBSelector( LightApp_Browser* ob, SUIT_SelectionMgr* mgr )
+LightApp_OBSelector::LightApp_OBSelector( SUIT_DataBrowser* ob, SUIT_SelectionMgr* mgr )
: SUIT_Selector( mgr, ob ),
myBrowser( ob )
{
\brief Get object browser.
\return a pointer to the object browser
*/
-LightApp_Browser* LightApp_OBSelector::browser() const
+SUIT_DataBrowser* LightApp_OBSelector::browser() const
{
return myBrowser;
}
#include <QObject>
-class LightApp_Browser;
+class SUIT_DataBrowser;
class LightApp_DataObject;
class LIGHTAPP_EXPORT LightApp_OBSelector : public QObject, public SUIT_Selector
Q_OBJECT
public:
- LightApp_OBSelector( LightApp_Browser*, SUIT_SelectionMgr* );
+ LightApp_OBSelector( SUIT_DataBrowser*, SUIT_SelectionMgr* );
virtual ~LightApp_OBSelector();
- LightApp_Browser* browser() const;
+ SUIT_DataBrowser* browser() const;
virtual QString type() const;
void fillEntries( QMap<QString, LightApp_DataObject*>& );
private:
- LightApp_Browser* myBrowser;
+ SUIT_DataBrowser* myBrowser;
SUIT_DataOwnerPtrList mySelectedList;
QMap<QString, LightApp_DataObject*> myEntries;
unsigned long myModifiedTime;
LightApp.h \
LightApp_AboutDlg.h \
LightApp_Application.h \
- LightApp_Browser.h \
LightApp_DataModel.h \
LightApp_DataObject.h \
LightApp_DataOwner.h \
LightApp_SwitchOp.h \
LightApp_Preferences.h \
LightApp_PreferencesDlg.h \
- LightApp_UpdateFlags.h \
- LightApp_WidgetContainer.h
+ LightApp_UpdateFlags.h
# LightApp_OBFilter.h
dist_libLightApp_la_SOURCES= \
LightApp_AboutDlg.cxx \
LightApp_Application.cxx \
- LightApp_Browser.cxx \
LightApp_DataModel.cxx \
LightApp_DataObject.cxx \
LightApp_DataOwner.cxx \
LightApp_Study.cxx \
LightApp_SwitchOp.cxx \
LightApp_Preferences.cxx \
- LightApp_PreferencesDlg.cxx \
- LightApp_WidgetContainer.cxx
+ LightApp_PreferencesDlg.cxx
# LightApp_OBFilter.cxx
MOC_FILES= \
LightApp_AboutDlg_moc.cxx \
LightApp_Application_moc.cxx \
- LightApp_Browser_moc.cxx \
LightApp_DataModel_moc.cxx \
LightApp_Dialog_moc.cxx \
LightApp_OBSelector_moc.cxx \
LightApp_Study_moc.cxx \
LightApp_SwitchOp_moc.cxx \
LightApp_Preferences_moc.cxx \
- LightApp_PreferencesDlg_moc.cxx \
- LightApp_WidgetContainer_moc.cxx
+ LightApp_PreferencesDlg_moc.cxx
if ENABLE_VTKVIEWER
if ENABLE_SALOMEOBJECT
$(dist_libSalomePyQtGUI_la_SOURCES): $(SIP_SRC)
###################################
+
+mostlyclean-local:
+ rm -f sip*
#include "sipAPISalomePyQtGUI.h"
+#include <sip.h>
+#if SIP_VERSION < 0x040700
#include "sipQtGuiQWidget.h"
#include "sipQtGuiQMenu.h"
+#endif
/*!
\brief Default name of the module, replaced at the moment
(cd $(libdir); ln -s libSalomePyQt.so SalomePyQt.so;)
mostlyclean-local:
- rm sip*
+ rm -f sip*
// Copyright (C) CEA 2004
#include "SalomeApp_PyInterp.h" // WARNING! This include must be the first!
-
#include "SalomeApp_Application.h"
-
#include "SalomeApp_Study.h"
#include "SalomeApp_DataModel.h"
#include "SalomeApp_DataObject.h"
#include "SalomeApp_EventFilter.h"
#include "SalomeApp_VisualState.h"
-
#include "SalomeApp_StudyPropertiesDlg.h"
#include "SalomeApp_LoadStudiesDlg.h"
-#include "LightApp_Application.h"
-#include "LightApp_Preferences.h"
-#include "LightApp_SelectionMgr.h"
-#include "LightApp_NameDlg.h"
+#include <LightApp_Application.h>
+#include <LightApp_Preferences.h>
+#include <LightApp_SelectionMgr.h>
+#include <LightApp_NameDlg.h>
-#include "CAM_Module.h"
+#include <CAM_Module.h>
#include <SUIT_Tools.h>
#include <SUIT_Session.h>
#include <SUIT_Desktop.h>
+#include <SUIT_DataBrowser.h>
+#include <SUIT_FileDlg.h>
+#include <SUIT_MessageBox.h>
+#include <SUIT_ResourceMgr.h>
#include <QtxMRUAction.h>
-#include <LightApp_Browser.h>
// temporary commented
//#include <OB_ListItem.h>
#include <PyConsole_Console.h>
-#include <SUIT_FileDlg.h>
-#include <SUIT_MessageBox.h>
-#include <SUIT_ResourceMgr.h>
-
#include <Utils_ORB_INIT.hxx>
#include <Utils_SINGLETON.hxx>
#include <SALOME_LifeCycleCORBA.hxx>
#include <QGridLayout>
#include <QMenu>
-#include "SALOMEDSClient_ClientFactory.hxx"
+#include <SALOMEDSClient_ClientFactory.hxx>
-#include "SALOME_ListIteratorOfListIO.hxx"
-#include "SALOME_ListIO.hxx"
+#include <SALOME_ListIteratorOfListIO.hxx>
+#include <SALOME_ListIO.hxx>
-#include "ToolsGUI_CatalogGeneratorDlg.h"
-#include "ToolsGUI_RegWidget.h"
+#include <ToolsGUI_CatalogGeneratorDlg.h>
+#include <ToolsGUI_RegWidget.h>
#include <vector>
if ( flag == WT_ObjectBrowser )
{
- LightApp_Browser* ob = qobject_cast<LightApp_Browser*>( wid );
+ SUIT_DataBrowser* ob = qobject_cast<SUIT_DataBrowser*>( wid );
if ( ob ) {
// temporary commented
//ob->setUpdater( new SalomeApp_Updater() );