Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
8748d8eb
Commit
8748d8eb
authored
Dec 02, 2010
by
schurade
Browse files
[DOC&STYLE] doggie style
parent
ad23a446
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
src/gui/qt4/controlPanel/WQtControlPanel.h
src/gui/qt4/controlPanel/WQtControlPanel.h
+3
-0
src/gui/qt4/controlPanel/WQtTreeWidget.cpp
src/gui/qt4/controlPanel/WQtTreeWidget.cpp
+0
-1
src/gui/qt4/controlPanel/WQtTreeWidget.h
src/gui/qt4/controlPanel/WQtTreeWidget.h
+5
-2
No files found.
src/gui/qt4/controlPanel/WQtControlPanel.h
View file @
8748d8eb
...
...
@@ -319,6 +319,9 @@ private slots:
*/
void
deleteModuleTreeItem
();
/**
* function to notify the roi manager of any drag&drop action in the roi tree
*/
void
handleDragDrop
();
};
...
...
src/gui/qt4/controlPanel/WQtTreeWidget.cpp
View file @
8748d8eb
...
...
@@ -52,6 +52,5 @@ void WQtTreeWidget::deleteItem( QTreeWidgetItem* item )
void
WQtTreeWidget
::
dropEvent
(
QDropEvent
*
event
)
{
emit
dragDrop
();
return
QTreeWidget
::
dropEvent
(
event
);
}
src/gui/qt4/controlPanel/WQtTreeWidget.h
View file @
8748d8eb
...
...
@@ -52,6 +52,10 @@ public:
*/
void
deleteItem
(
QTreeWidgetItem
*
item
);
/**
* handles the drop event for a tree item
* \param event
*/
virtual
void
dropEvent
(
QDropEvent
*
event
);
public
slots
:
...
...
@@ -61,8 +65,7 @@ protected:
private:
signals:
void
dragDrop
();
void
dragDrop
();
//!< signal to notify higher ups of the drag&drop action
};
#endif // WQTTREEWIDGET_H
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