projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cd2b5f
)
Make view windows non-closeable
author
Soeren Apel
<soeren@apelpie.net>
Tue, 16 Aug 2016 18:46:56 +0000
(20:46 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Tue, 16 Aug 2016 18:46:56 +0000
(20:46 +0200)
pv/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index ca2abae9779c3b1dbe2ad6e501b0334db82829c1..efd5a0d1e994bc08a3ae537ee83c39ba9be0aaac 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-243,6
+243,9
@@
shared_ptr<pv::view::View> MainWindow::add_view(const QString &title,
addDockWidget(Qt::TopDockWidgetArea, dock.get());
view_docks_[dock] = v;
+ dock->setFeatures(QDockWidget::DockWidgetMovable |
+ QDockWidget::DockWidgetFloatable);
+
if (type == view::TraceView) {
connect(&session, SIGNAL(trigger_event(util::Timestamp)), v.get(),
SLOT(trigger_event(util::Timestamp)));