# Level 1 prerequisites:
SET_AND_CHECK(GUI_ROOT_DIR_EXP "@PACKAGE_GUI_ROOT_DIR@")
-# For all prerequisites, load the corresponding targets if the package was used
+# For all prerequisites, load the corresponding targets if the package was used
# in CONFIG mode. This ensures dependent projects link correctly
# without having to set LD_LIBRARY_PATH:
-SET(_PREREQ @_PREREQ_LIST@)
-SET(_PREREQ_CONFIG_DIR @_PREREQ_DIR_LIST@)
-SET(_PREREQ_COMPONENTS "@_PREREQ_COMPO_LIST@")
-LIST(LENGTH _PREREQ_CONFIG_DIR _list_len)
-IF(NOT _list_len EQUAL 0)
+SET(_PREREQ_@PROJECT_NAME@ @_PREREQ_LIST@)
+SET(_PREREQ_@PROJECT_NAME@_CONFIG_DIR @_PREREQ_DIR_LIST@)
+SET(_PREREQ_@PROJECT_NAME@_COMPONENTS "@_PREREQ_COMPO_LIST@")
+LIST(LENGTH _PREREQ_@PROJECT_NAME@_CONFIG_DIR _list_len_@PROJECT_NAME@)
+IF(NOT _list_len_@PROJECT_NAME@ EQUAL 0)
# Another CMake stupidity - FOREACH(... RANGE r) generates r+1 numbers ...
- MATH(EXPR _range "${_list_len}-1")
- FOREACH(_p RANGE ${_range})
- LIST(GET _PREREQ ${_p} _pkg )
- LIST(GET _PREREQ_CONFIG_DIR ${_p} _pkg_dir)
- LIST(GET _PREREQ_COMPONENTS ${_p} _pkg_compo)
- MESSAGE(STATUS "===> Reloading targets from ${_pkg} ...")
- IF(NOT _pkg_compo)
- FIND_PACKAGE(${_pkg} REQUIRED NO_MODULE
- PATHS "${_pkg_dir}"
- NO_DEFAULT_PATH)
- ELSE()
- STRING(REPLACE "," ";" _compo_lst "${_pkg_compo}")
- MESSAGE(STATUS "===> (components: ${_pkg_compo})")
- FIND_PACKAGE(${_pkg} REQUIRED NO_MODULE
- COMPONENTS ${_compo_lst}
- PATHS "${_pkg_dir}"
- NO_DEFAULT_PATH)
+ MATH(EXPR _range_@PROJECT_NAME@ "${_list_len_@PROJECT_NAME@}-1")
+ FOREACH(_p_@PROJECT_NAME@ RANGE ${_range_@PROJECT_NAME@})
+ LIST(GET _PREREQ_@PROJECT_NAME@ ${_p_@PROJECT_NAME@} _pkg_@PROJECT_NAME@ )
+ LIST(GET _PREREQ_@PROJECT_NAME@_CONFIG_DIR ${_p_@PROJECT_NAME@} _pkg_dir_@PROJECT_NAME@)
+ LIST(GET _PREREQ_@PROJECT_NAME@_COMPONENTS ${_p_@PROJECT_NAME@} _pkg_compo_@PROJECT_NAME@)
+ IF(NOT OMIT_DETECT_PACKAGE_${_pkg_@PROJECT_NAME@})
+ MESSAGE(STATUS "===> Reloading targets from ${_pkg_@PROJECT_NAME@} ...")
+ IF(NOT _pkg_compo_@PROJECT_NAME@)
+ FIND_PACKAGE(${_pkg_@PROJECT_NAME@} REQUIRED NO_MODULE
+ PATHS "${_pkg_dir_@PROJECT_NAME@}"
+ NO_DEFAULT_PATH)
+ ELSE()
+ STRING(REPLACE "," ";" _compo_lst_@PROJECT_NAME@ "${_pkg_compo_@PROJECT_NAME@}")
+ MESSAGE(STATUS "===> (components: ${_pkg_compo_@PROJECT_NAME@})")
+ FIND_PACKAGE(${_pkg_@PROJECT_NAME@} REQUIRED NO_MODULE
+ COMPONENTS ${_compo_lst_@PROJECT_NAME@}
+ PATHS "${_pkg_dir_@PROJECT_NAME@}"
+ NO_DEFAULT_PATH)
+ ENDIF()
ENDIF()
ENDFOREACH()
ENDIF()
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
-html_theme = 'default'
+html_theme = '@SPHINX_THEME@'
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#include "BL_Buttons.hxx"
+#include <QGridLayout>
+#include <QGroupBox>
+#include <QHBoxLayout>
+#include <QPushButton>
+
BL::Buttons::Buttons(QWidget * parent) : QWidget(parent)
{
DEBTRACE("Creating BL::Buttons");
#ifndef _BL_BUTTONS_HXX_
#define _BL_BUTTONS_HXX_
-#include <QtGui>
-
#include "BL_Traces.hxx"
+#include <QWidget>
+
+class QPushButton;
+
namespace BL
{
class Buttons: public QWidget
#include "BL_CreateJobWizard.hxx"
#include "BL_JobsManager_QT.hxx"
+
+#include <QFileDialog>
+#include <QMessageBox>
+
#ifndef WNT
#include <unistd.h>
#include <pwd.h>
#ifndef _BL_CREATEJOBWIZARD_HXX_
#define _BL_CREATEJOBWIZARD_HXX_
-#include <QtGui>
-
#include "BL_Traces.hxx"
#include "BL_SALOMEServices.hxx"
#include "JM_ResourceCatalog.hxx"
+#include <QWizard>
+#include <QWizardPage>
#include <string>
#include <list>
+class QGridLayout;
+class QLabel;
+class QLineEdit;
+class QListWidget;
+
namespace Ui {
class ResourceRequirementsWizardPage;
class FilesWizardPage;
class AdvancedParametersWizardPage;
}
-namespace BL{
+namespace BL {
class JobsManager_QT;
class JobNamePage;
#include "BL_GenericGui.hxx"
+#include <QAction>
+#include <QMainWindow>
+#include <QMessageBox>
+#include <QScrollArea>
+#include <QSplitter>
+#include <QStandardItemModel>
+#include <QVBoxLayout>
+
#ifdef WNT
#undef ERROR
#endif
#ifndef _BL_GENERICGUI_HXX_
#define _BL_GENERICGUI_HXX_
-#include <QtGui>
-
#include "BL_GenericGuiDefines.hxx"
#include "BL_Traces.hxx"
#include "BL_Summary.hxx"
#include "JM_ResourceCatalog.hxx"
+#include <QObject>
+
+class QAction;
+class QDockWidget;
+class QMainWindow;
+class QModelIndex;
+
namespace BL
{
class BL_GenericGui_EXPORT GenericGui: public QObject
#include "BL_JobTab.hxx"
#include "BL_Traces.hxx"
+#include <QFormLayout>
+#include <QGroupBox>
+#include <QHBoxLayout>
+#include <QLabel>
+#include <QListWidget>
+#include <QStandardItemModel>
+#include <QVBoxLayout>
+
#ifdef WNT
#undef ERROR
#endif
#ifndef _BL_JOBTAB_HXX_
#define _BL_JOBTAB_HXX_
-#include <QtGui>
-
#include "BL_JobsManager_QT.hxx"
+#include <QTabWidget>
+
+class QFormLayout;
+class QLabel;
+class QListWidget;
+class QModelIndex;
+class QStandardItem;
+class QStandardItemModel;
+
namespace BL
{
class JobTab: public QTabWidget
#include "BL_JobsManager_QT.hxx"
#include "BL_GenericGui.hxx"
+
+#include <QApplication>
+#include <QFileDialog>
+#include <QGroupBox>
+#include <QHBoxLayout>
+#include <QMenu>
+#include <QPushButton>
+#include <QScrollArea>
+#include <QStandardItemModel>
+#include <QTextEdit>
+#include <QTimer>
+#include <QVBoxLayout>
#include <vector>
using namespace std;
filters << "XML files (*.xml)"
<< "Any files (*)";
dialog.setFileMode(QFileDialog::AnyFile);
- dialog.setFilters(filters);
- dialog.selectFilter("(*.xml)");
+ dialog.setNameFilters(filters);
+ dialog.selectNameFilter("(*.xml)");
dialog.setDefaultSuffix("xml");
dialog.setConfirmOverwrite(true);
dialog.setAcceptMode(QFileDialog::AcceptSave);
#ifndef _BL_JOBSMANAGER_QT_HXX_
#define _BL_JOBSMANAGER_QT_HXX_
-#include <QObject>
-
#include "BL_Traces.hxx"
#include "BL_JobsManager.hxx"
#include "BL_CreateJobWizard.hxx"
#include "BL_JobsManager.hxx"
#include "BL_QModelManager.hxx"
+#include <QDockWidget>
+#include <QEvent>
#include <string>
-namespace BL{
+class QPushButton;
+class QTextEdit;
+class QTimer;
+
+namespace BL
+{
class JobManagerEvent : public QEvent
{
#include "BL_Traces.hxx"
#include "BL_GenericGui.hxx"
+#include <QHeaderView>
+#include <QMainWindow>
+
BL::JobsTable::JobsTable(QWidget *parent) : QTableView(parent)
{
DEBTRACE("Creating BL::JobsTable");
#ifndef _BL_JOBSTABLE_HXX_
#define _BL_JOBSTABLE_HXX_
-#include <QtGui>
+#include <QTableView>
+
+class QItemSelection;
+class QModelIndex;
namespace BL
{
#include "BL_QModelManager.hxx"
#include "BL_JobsManager_QT.hxx"
+#include <QStandardItemModel>
+
#ifdef WNT
#undef ERROR
#endif
#ifndef _BL_QMODELMANAGER_HXX_
#define _BL_QMODELMANAGER_HXX_
-#include <QtGui>
-
#include "BL_Job.hxx"
-namespace BL{
+#include <QObject>
+
+class QStandardItemModel;
+
+namespace BL
+{
class JobsManager_QT;
class QModelManager: public QObject
#include "BL_Summary.hxx"
#include "BL_Traces.hxx"
+#include <QFormLayout>
+#include <QLabel>
+#include <QStandardItemModel>
+
BL::Summary::Summary(QWidget *parent, BL::JobsManager_QT * jobs_manager) : QWidget(parent)
{
DEBTRACE("Creating BL::Summary");
#ifndef _BL_SUMMARY_HXX_
#define _BL_SUMMARY_HXX_
-#include <QtGui>
#include "BL_JobsManager_QT.hxx"
+#include <QWidget>
+
+class QLabel;
+class QModelIndex;
+class QStandardItem;
+class QStandardItemModel;
+
namespace BL
{
class Summary: public QWidget
#include "JM_EditSalomeResource.hxx"
#include "BL_Traces.hxx"
+#include <QCheckBox>
+#include <QComboBox>
+#include <QDialogButtonBox>
+#include <QGridLayout>
+#include <QGroupBox>
+#include <QInputDialog>
+#include <QLabel>
+#include <QLineEdit>
+#include <QListWidget>
+#include <QMessageBox>
+#include <QPushButton>
+#include <QSpinBox>
+#include <QVBoxLayout>
+
using namespace std;
JM::EditSalomeResource::EditSalomeResource(QWidget *parent, BL::SALOMEServices * salome_services,
#ifndef _JM_EDITSALOMERESOURCE_HXX_
#define _JM_EDITSALOMERESOURCE_HXX_
-#include <string>
-#include <QtGui>
#include "BL_SALOMEServices.hxx"
+#include <QDialog>
+#include <string>
+
+class QCheckBox;
+class QComboBox;
+class QLineEdit;
+class QListWidget;
+class QPushButton;
+class QSpinBox;
+
namespace JM
{
class EditSalomeResource: public QDialog
#include "JM_SalomeResource.hxx"
#include "JM_EditSalomeResource.hxx"
+#include <QHBoxLayout>
+#include <QListWidget>
+#include <QPushButton>
+#include <QVBoxLayout>
+
JM::ResourceCatalog::ResourceCatalog(QWidget *parent, BL::SALOMEServices * salome_services, bool batch_only)
: QWidget(parent),
_batch_only(batch_only)
#ifndef _JM_RESOURCECATALOG_HXX_
#define _JM_RESOURCECATALOG_HXX_
-#include <QtGui>
-
#include "BL_SALOMEServices.hxx"
+#include <QWidget>
#include <string>
#include <list>
+class QListWidget;
+class QListWidgetItem;
+class QPushButton;
+
namespace JM
{
class ResourceCatalog: public QWidget
#include "JM_SalomeResource.hxx"
#include "BL_Traces.hxx"
+#include <QCheckBox>
+#include <QGridLayout>
+#include <QGroupBox>
+#include <QLabel>
+#include <QLineEdit>
+#include <QListWidget>
+#include <QVBoxLayout>
+
JM::SalomeResource::SalomeResource(QWidget *parent, BL::SALOMEServices * salome_services,
const std::string & resource_name) : QDialog(parent)
{
#ifndef _JM_SALOMERESOURCE_HXX_
#define _JM_SALOMERESOURCE_HXX_
-#include <QtGui>
#include "BL_SALOMEServices.hxx"
+#include <QDialog>
#include <string>
+class QCheckBox;
+class QLineEdit;
+class QListWidget;
+
namespace JM
{
class SalomeResource: public QDialog
#include "BL_SalomeGui.hxx"
#include "JOBMANAGER_version.h"
+#include <SUIT_Desktop.h>
+#include <SUIT_ViewWindow.h>
+
BL::SalomeGui::SalomeGui() : MainWindows_SALOME("JobManager")
{
DEBTRACE("Creating BL::SalomeGui");
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-#include <QtGui>
#include "BL_GenericGui.hxx"
#include "BL_MainWindows_Qt.hxx"
+#include <QApplication>
+#include <QMainWindow>
+
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
#include "BL_MainWindows_Qt.hxx"
+#include <QAction>
+#include <QMainWindow>
+#include <QMenu>
+#include <QMenuBar>
+
BL::MainWindows_Qt::MainWindows_Qt(QMainWindow * main_window)
{
DEBTRACE("Creating BL::MainWindows_Qt");
#endif
#include "BL_MainWindows_Wrap.hxx"
+
+#include <QObject>
#include <map>
+class QMenu;
+
namespace BL
{
class BL_Wrappers_Qt_EXPORT MainWindows_Qt : public MainWindows_Wrap, public QObject
//
#include "BL_MainWindows_SALOME.hxx"
+
+#include <SalomeApp_Application.h>
#include <SalomeApp_Engine_i.h>
+#include <SUIT_Desktop.h>
+#include <SUIT_ViewManager.h>
+#include <SUIT_ViewWindow.h>
+
+#include <QTextEdit>
BL::MainWindows_SALOME::MainWindows_SALOME(const QString & module_name) :
SalomeApp_Module(module_name)
#include "BL_MainWindows_Wrap.hxx"
-#include <SalomeApp_Application.h>
#include <SalomeApp_Module.h>
-#include <SUIT_ViewManager.h>
-#include <SUIT_ViewModel.h>
-#include <SUIT_ViewWindow.h>
-#include <SUIT_Desktop.h>
+class SalomeApp_Application;
+class SUIT_ViewManager;
+class SUIT_ViewWindow;
namespace BL
{
#ifndef _BL_MAINWINDOWS_WRAP_HXX_
#define _BL_MAINWINDOWS_WRAP_HXX_
-#include <QtGui>
#include "BL_Traces.hxx"
+#include <QString>
+
+class QAction;
+class QIcon;
+class QMainWindow;
+class QObject;
+
namespace BL
{
class MainWindows_Wrap