mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-24 13:32:06 +08:00
Continued implementation
This commit is contained in:
parent
a3e979a8ad
commit
45390506dd
@ -1466,7 +1466,7 @@ void CDockContainerWidget::dropFloatingWidget(CFloatingDockContainer* FloatingWi
|
|||||||
std::cout << "SingleDockWidget dropped" << std::endl;
|
std::cout << "SingleDockWidget dropped" << std::endl;
|
||||||
d->DockManager->emitWidgetDroppedSignals(SingleDroppedDockWidget);
|
d->DockManager->emitWidgetDroppedSignals(SingleDroppedDockWidget);
|
||||||
}
|
}
|
||||||
d->DockManager->endFloatingWidgetDrop(FloatingWidget);
|
d->DockManager->notifyFloatingWidgetDrop(FloatingWidget);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1101,7 +1101,7 @@ void CDockManager::emitWidgetDroppedSignals(QWidget* DroppedWidget)
|
|||||||
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
void CDockManager::endFloatingWidgetDrop(CFloatingDockContainer* FloatingWidget)
|
void CDockManager::notifyFloatingWidgetDrop(CFloatingDockContainer* FloatingWidget)
|
||||||
{
|
{
|
||||||
if (!FloatingWidget)
|
if (!FloatingWidget)
|
||||||
{
|
{
|
||||||
@ -1122,6 +1122,21 @@ void CDockManager::endFloatingWidgetDrop(CFloatingDockContainer* FloatingWidget)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//===========================================================================
|
||||||
|
void CDockManager::notifyDockWidgetRelocation(CDockWidget* DockWidget, CDockContainerWidget* ContainerOld)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//===========================================================================
|
||||||
|
void CDockManager::notifyDockAreaRelocation(CDockAreaWidget* DockArea, CDockContainerWidget* ContainerOld)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
} // namespace ads
|
} // namespace ads
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@ -134,7 +134,19 @@ protected:
|
|||||||
* When this function is called, all dock widgets of the FloatingWidget
|
* When this function is called, all dock widgets of the FloatingWidget
|
||||||
* are already inserted into its new position
|
* are already inserted into its new position
|
||||||
*/
|
*/
|
||||||
void endFloatingWidgetDrop(CFloatingDockContainer* FloatingWidget);
|
void notifyFloatingWidgetDrop(CFloatingDockContainer* FloatingWidget);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is called, if the given DockWidget has been relocated from
|
||||||
|
* the old container ContainerOld to the new container DockWidget->dockContainer()
|
||||||
|
*/
|
||||||
|
void notifyDockWidgetRelocation(CDockWidget* DockWidget, CDockContainerWidget* ContainerOld);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is called, if the given DockAreahas been relocated from
|
||||||
|
* the old container ContainerOld to the new container DockArea->dockContainer()
|
||||||
|
*/
|
||||||
|
void notifyDockAreaRelocation(CDockAreaWidget* DockArea, CDockContainerWidget* ContainerOld);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show the floating widgets that has been created floating
|
* Show the floating widgets that has been created floating
|
||||||
|
Loading…
Reference in New Issue
Block a user