File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -440,6 +440,7 @@ CDockManager::~CDockManager()
440
440
void CDockManager::registerFloatingWidget (CFloatingDockContainer* FloatingWidget)
441
441
{
442
442
d->FloatingWidgets .append (FloatingWidget);
443
+ emit floatingWidgetCreated (FloatingWidget);
443
444
ADS_PRINT (" d->FloatingWidgets.count() " << d->FloatingWidgets .count ());
444
445
}
445
446
Original file line number Diff line number Diff line change @@ -450,10 +450,17 @@ public slots:
450
450
451
451
/* *
452
452
* This signal is emitted if the dock manager finished opening a
453
- * perspective
453
+ * perspective.
454
454
*/
455
455
void perspectiveOpened (const QString& PerspectiveName);
456
456
457
+ /* *
458
+ * This signal is emitted, if a new floating widget has been created.
459
+ * An application can use this signal to e.g. subscribe to events of
460
+ * the newly created window.
461
+ */
462
+ void floatingWidgetCreated (CFloatingDockContainer* FloatingWidget);
463
+
457
464
/* *
458
465
* This signal is emitted, if a new DockArea has been created.
459
466
* An application can use this signal to set custom icons or custom
You can’t perform that action at this time.
0 commit comments