Commit 1fef425c authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE][DOC]

parent 65edc1e3
......@@ -25,6 +25,7 @@
#ifndef WRMBRANCH_H
#define WRMBRANCH_H
#include <algorithm>
#include <list>
#include <string>
#include <vector>
......
......@@ -23,6 +23,7 @@
//---------------------------------------------------------------------------
#include <string>
#include <map>
#include <QtCore/QList>
#include <QtGui/QScrollArea>
......@@ -143,12 +144,21 @@ QWidget* WQtBranchTreeItem::getWidget() const
return m_itemWidget;
}
/**
* Simple comparator class for sorting ROIs in the Roi Manager.
*/
class RoiSort
{
public:
RoiSort( std::map< WROI::RefPtr, int > indexMap ):
/**
* COnstructor.
*
* \param indexMap the map is used to compare each ROI with their Qt index.
*/
explicit RoiSort( std::map< WROI::RefPtr, int > indexMap ):
m_indexMap( indexMap )
{
// nothing else to initialize
}
/**
......
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