Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
1fef425c
Commit
1fef425c
authored
Apr 05, 2013
by
Sebastian Eichelbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[STYLE][DOC]
parent
65edc1e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
src/core/kernel/WRMBranch.h
src/core/kernel/WRMBranch.h
+1
-0
src/qt4gui/controlPanel/WQtBranchTreeItem.cpp
src/qt4gui/controlPanel/WQtBranchTreeItem.cpp
+11
-1
No files found.
src/core/kernel/WRMBranch.h
View file @
1fef425c
...
...
@@ -25,6 +25,7 @@
#ifndef WRMBRANCH_H
#define WRMBRANCH_H
#include <algorithm>
#include <list>
#include <string>
#include <vector>
...
...
src/qt4gui/controlPanel/WQtBranchTreeItem.cpp
View file @
1fef425c
...
...
@@ -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
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment