Commit 4ac9f86e authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ADD: init applications toolBox

parent f8f37f2e
......@@ -28,6 +28,7 @@ set( Common_SOURCES
mvdSystemError.cxx
mvdTypes.cxx
mvdVectorImageModel.cxx
mvdApplicationsToolBox.cxx
)
# Headers for classes with Q_OBJECT macro (needs to go to Qt moc)
......@@ -55,6 +56,7 @@ set( Common_HEADERS_MOC
mvdQuicklookViewManipulator.h
mvdStatusBarWidget.h
mvdVectorImageModel.h
mvdApplicationsToolBox.h
)
# Qt designer UI files
......@@ -67,6 +69,7 @@ set( Common_FORMS
mvdMyWidget.ui
mvdStatusBarWidget.ui
mvdVideoColorToolBox.ui
mvdApplicationsToolBox.ui
)
# Qt resources
......
/*=========================================================================
Program: Monteverdi2
Language: C++
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See Copyright.txt for details.
Monteverdi2 is distributed under the CeCILL licence version 2. See
Licence_CeCILL_V2-en.txt or
http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt for more details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "mvdApplicationsToolBox.h"
#include "ui_mvdApplicationsToolBox.h"
/*****************************************************************************/
/* INCLUDE SECTION */
//
// Qt includes (sorted by alphabetic order)
//// Must be included before system/custom includes.
//
// System includes (sorted by alphabetic order)
//
// ITK includes (sorted by alphabetic order)
//
// OTB includes (sorted by alphabetic order)
//
// Monteverdi includes (sorted by alphabetic order)
namespace mvd
{
/*
TRANSLATOR mvd::ApplicationsToolBox
Necessary for lupdate to be aware of C++ namespaces.
Context comment for translator.
*/
/*****************************************************************************/
/* CONSTANTS */
/*****************************************************************************/
/* STATIC IMPLEMENTATION SECTION */
/*****************************************************************************/
/* CLASS IMPLEMENTATION SECTION */
/*******************************************************************************/
ApplicationsToolBox
::ApplicationsToolBox( QWidget* parent, Qt::WindowFlags flags ):
QDockWidget( parent, flags ),
m_UI( new mvd::Ui::ApplicationsToolBox() )
{
m_UI->setupUi( this );
}
/*******************************************************************************/
ApplicationsToolBox
::~ApplicationsToolBox()
{
}
/*******************************************************************************/
/* SLOTS */
/*******************************************************************************/
} // end namespace 'mvd'
/*=========================================================================
Program: Monteverdi2
Language: C++
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See Copyright.txt for details.
Monteverdi2 is distributed under the CeCILL licence version 2. See
Licence_CeCILL_V2-en.txt or
http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt for more details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __mvdApplicationsToolBox_h
#define __mvdApplicationsToolBox_h
//
// Configuration include.
//// Included at first position before any other ones.
#include "ConfigureMonteverdi2.h"
/*****************************************************************************/
/* INCLUDE SECTION */
//
// Qt includes (sorted by alphabetic order)
//// Must be included before system/custom includes.
#include <QtGui>
//
// System includes (sorted by alphabetic order)
//
// ITK includes (sorted by alphabetic order)
//
// OTB includes (sorted by alphabetic order)
//
// Monteverdi includes (sorted by alphabetic order)
/*****************************************************************************/
/* PRE-DECLARATION SECTION */
//
// External classes pre-declaration.
namespace
{
}
namespace mvd
{
//
// Internal classes pre-declaration.
namespace Ui
{
class ApplicationsToolBox;
};
/*****************************************************************************/
/* CLASS DEFINITION SECTION */
/**
* \class ApplicationsToolBox
*
* \brief Widget template skeleton to copy-paste when adding a new
* widget class.
*/
class Monteverdi2_EXPORT ApplicationsToolBox :
public QDockWidget
{
/*-[ QOBJECT SECTION ]-----------------------------------------------------*/
Q_OBJECT;
/*-[ PUBLIC SECTION ]------------------------------------------------------*/
//
// Public methods.
public:
/** \brief Constructor. */
ApplicationsToolBox( QWidget* parent =NULL, Qt::WindowFlags flags =0 );
/** \brief Destructor. */
virtual ~ApplicationsToolBox();
/*-[ PUBLIC SLOTS SECTION ]------------------------------------------------*/
//
// Public SLOTS.
public slots:
/*-[ SIGNALS SECTION ]-----------------------------------------------------*/
//
// Signals.
signals:
/*-[ PROTECTED SECTION ]---------------------------------------------------*/
//
// Protected methods.
protected:
/*-[ PRIVATE SECTION ]-----------------------------------------------------*/
//
// Protected attributes.
protected:
//
// Private methods.
private:
//
// Private attributes.
private:
/**
* \brief uic generated.
*/
Ui::ApplicationsToolBox* m_UI;
/*-[ PRIVATE SLOTS SECTION ]-----------------------------------------------*/
//
// Slots.
private slots:
};
/*****************************************************************************/
/* INLINE SECTION */
} // end namespace 'mvd'
#endif // __mvdApplicationsToolBox_h
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>mvd::ApplicationsToolBox</class>
<widget class="QDockWidget" name="mvd::ApplicationsToolBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>225</width>
<height>444</height>
</rect>
</property>
<property name="windowTitle">
<string>OTB Applications</string>
</property>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>2</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="m_SearchLine"/>
</item>
<item>
<widget class="QTreeWidget" name="m_AlgorithmsTree">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="headerHidden">
<bool>true</bool>
</property>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment