mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
Removed unneeded functions
This commit is contained in:
parent
a4ef161f4f
commit
5b60e39ed3
@ -397,7 +397,6 @@ void CDockAreaWidget::insertDockWidget(int index, CDockWidget* DockWidget,
|
|||||||
bool Activate)
|
bool Activate)
|
||||||
{
|
{
|
||||||
d->ContentsLayout->insertWidget(index, DockWidget);
|
d->ContentsLayout->insertWidget(index, DockWidget);
|
||||||
DockWidget->tabWidget()->setDockAreaWidget(this);
|
|
||||||
auto TabWidget = DockWidget->tabWidget();
|
auto TabWidget = DockWidget->tabWidget();
|
||||||
// Inserting the tab will change the current index which in turn will
|
// Inserting the tab will change the current index which in turn will
|
||||||
// make the tab widget visible in the slot
|
// make the tab widget visible in the slot
|
||||||
|
@ -464,20 +464,6 @@ CDockWidget* CDockWidgetTab::dockWidget() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
void CDockWidgetTab::setDockAreaWidget(CDockAreaWidget* DockArea)
|
|
||||||
{
|
|
||||||
d->DockArea = DockArea;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
CDockAreaWidget* CDockWidgetTab::dockAreaWidget() const
|
|
||||||
{
|
|
||||||
return d->DockArea;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
void CDockWidgetTab::setIcon(const QIcon& Icon)
|
void CDockWidgetTab::setIcon(const QIcon& Icon)
|
||||||
{
|
{
|
||||||
|
@ -99,19 +99,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
CDockWidget* dockWidget() const;
|
CDockWidget* dockWidget() const;
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the dock area widget the dockWidget returned by dockWidget()
|
|
||||||
* function belongs to.
|
|
||||||
*/
|
|
||||||
void setDockAreaWidget(CDockAreaWidget* DockArea);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the dock area widget this title bar belongs to.
|
|
||||||
* \return This function returns 0 if the dock widget that owns this title
|
|
||||||
* bar widget has not been added to any dock area yet.
|
|
||||||
*/
|
|
||||||
CDockAreaWidget* dockAreaWidget() const;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the icon to show in title bar
|
* Sets the icon to show in title bar
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user