OTB  6.7.0
Orfeo Toolbox
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
mvd::ApplicationsToolBox Class Reference

#include <mvdApplicationsToolBox.h>

+ Inheritance diagram for mvd::ApplicationsToolBox:
+ Collaboration diagram for mvd::ApplicationsToolBox:

Public Slots

void OnAlgorithmTreeDoubleClick (QTreeWidgetItem *item, int column)
 
void OnAvailableApplicationsTagsChanged (const ApplicationsTagContainer &appsTags)
 
void OnSearchBoxChanged (const QString &search)
 

Signals

void ApplicationToLaunchSelected (const QString &)
 

Public Member Functions

 ApplicationsToolBox (QWidget *p=NULL, Qt::WindowFlags flags=0)
 
 ~ApplicationsToolBox () override
 

Private Member Functions

void FillTreeUsingTags ()
 
bool IsSearchTextMatchAnyAlgorithm (const QString &tagName, const QString &search)
 
void LaunchApplication (const QString &appName)
 

Private Attributes

ApplicationsTagContainer m_AppTags
 
QString m_SearchText
 
Ui::ApplicationsToolBox * m_UI
 

Detailed Description

Widget template skeleton to copy-paste when adding a new widget class.

Definition at line 84 of file mvdApplicationsToolBox.h.

Constructor & Destructor Documentation

mvd::ApplicationsToolBox::ApplicationsToolBox ( QWidget *  p = NULL,
Qt::WindowFlags  flags = 0 
)

Constructor.

mvd::ApplicationsToolBox::~ApplicationsToolBox ( )
override

Destructor.

Member Function Documentation

void mvd::ApplicationsToolBox::ApplicationToLaunchSelected ( const QString &  )
signal
void mvd::ApplicationsToolBox::FillTreeUsingTags ( )
private

fill the widget tree using the tags map

bool mvd::ApplicationsToolBox::IsSearchTextMatchAnyAlgorithm ( const QString &  tagName,
const QString &  search 
)
private

Helper method to check if searchText matches any of the algorithms string contained in the map.

void mvd::ApplicationsToolBox::LaunchApplication ( const QString &  appName)
private

Launch the appName algorithm.

void mvd::ApplicationsToolBox::OnAlgorithmTreeDoubleClick ( QTreeWidgetItem *  item,
int  column 
)
slot
void mvd::ApplicationsToolBox::OnAvailableApplicationsTagsChanged ( const ApplicationsTagContainer appsTags)
slot
void mvd::ApplicationsToolBox::OnSearchBoxChanged ( const QString &  search)
slot

Member Data Documentation

ApplicationsTagContainer mvd::ApplicationsToolBox::m_AppTags
private

map storing applications and its tags

Definition at line 167 of file mvdApplicationsToolBox.h.

QString mvd::ApplicationsToolBox::m_SearchText
private

text to search in the widget tree

Definition at line 172 of file mvdApplicationsToolBox.h.

Ui::ApplicationsToolBox* mvd::ApplicationsToolBox::m_UI
private

uic generated.

Definition at line 162 of file mvdApplicationsToolBox.h.


The documentation for this class was generated from the following file: