mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-12 16:20:25 +08:00
Refactoring: renamed CDockWidgetSideTab to CAutoHideTab and CSideTabBar top CAutoHideSideBar
This commit is contained in:
parent
782af9a1fc
commit
075ef6187f
@ -227,7 +227,7 @@ void CAutoHideDockContainer::updateSize()
|
|||||||
auto dockContainerParent = parentContainer();
|
auto dockContainerParent = parentContainer();
|
||||||
auto rect = dockContainerParent->contentRect();
|
auto rect = dockContainerParent->contentRect();
|
||||||
|
|
||||||
switch (sideTabBarArea())
|
switch (sideBarLocation())
|
||||||
{
|
{
|
||||||
case SideBarLocation::Top:
|
case SideBarLocation::Top:
|
||||||
resize(rect.width(), qMin(rect.height(), d->Size.height() - ResizeMargin));
|
resize(rect.width(), qMin(rect.height(), d->Size.height() - ResizeMargin));
|
||||||
@ -271,18 +271,23 @@ CAutoHideDockContainer::~CAutoHideDockContainer()
|
|||||||
parentContainer()->removeAutoHideWidget(this);
|
parentContainer()->removeAutoHideWidget(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (d->SideTab)
|
||||||
|
{
|
||||||
|
delete d->SideTab;
|
||||||
|
}
|
||||||
|
|
||||||
delete d;
|
delete d;
|
||||||
}
|
}
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
CAutoHideSideBar* CAutoHideDockContainer::sideTabBar() const
|
CAutoHideSideBar* CAutoHideDockContainer::sideBar() const
|
||||||
{
|
{
|
||||||
return parentContainer()->sideTabBar(d->SideTabBarArea);
|
return parentContainer()->sideTabBar(d->SideTabBarArea);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
CAutoHideTab* CAutoHideDockContainer::sideTab() const
|
CAutoHideTab* CAutoHideDockContainer::autoHideTab() const
|
||||||
{
|
{
|
||||||
return d->SideTab;
|
return d->SideTab;
|
||||||
}
|
}
|
||||||
@ -327,7 +332,7 @@ void CAutoHideDockContainer::addDockWidget(CDockWidget* DockWidget)
|
|||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
SideBarLocation CAutoHideDockContainer::sideTabBarArea() const
|
SideBarLocation CAutoHideDockContainer::sideBarLocation() const
|
||||||
{
|
{
|
||||||
return d->SideTabBarArea;
|
return d->SideTabBarArea;
|
||||||
}
|
}
|
||||||
@ -356,9 +361,10 @@ void CAutoHideDockContainer::cleanupAndDelete()
|
|||||||
const auto dockWidget = d->DockWidget;
|
const auto dockWidget = d->DockWidget;
|
||||||
if (dockWidget)
|
if (dockWidget)
|
||||||
{
|
{
|
||||||
|
|
||||||
auto SideTab = d->SideTab;
|
auto SideTab = d->SideTab;
|
||||||
SideTab->removeFromSideBar();
|
SideTab->removeFromSideBar();
|
||||||
SideTab->setParent(dockWidget);
|
SideTab->setParent(nullptr);
|
||||||
SideTab->hide();
|
SideTab->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ struct SideTabBarPrivate;
|
|||||||
class ADS_EXPORT CAutoHideDockContainer : public QFrame
|
class ADS_EXPORT CAutoHideDockContainer : public QFrame
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PROPERTY(int sideTabBarArea READ sideTabBarArea)
|
Q_PROPERTY(int sideBarLocation READ sideBarLocation)
|
||||||
private:
|
private:
|
||||||
AutoHideDockContainerPrivate* d; ///< private data (pimpl)
|
AutoHideDockContainerPrivate* d; ///< private data (pimpl)
|
||||||
friend struct AutoHideDockContainerPrivate;
|
friend struct AutoHideDockContainerPrivate;
|
||||||
@ -63,6 +63,10 @@ private:
|
|||||||
protected:
|
protected:
|
||||||
bool eventFilter(QObject* watched, QEvent* event) override;
|
bool eventFilter(QObject* watched, QEvent* event) override;
|
||||||
void resizeEvent(QResizeEvent* event) override;
|
void resizeEvent(QResizeEvent* event) override;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Updates the size considering the size limits and the resize margins
|
||||||
|
*/
|
||||||
void updateSize();
|
void updateSize();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -92,12 +96,12 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Get's the side tab bar
|
* Get's the side tab bar
|
||||||
*/
|
*/
|
||||||
CAutoHideSideBar* sideTabBar() const;
|
CAutoHideSideBar* sideBar() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the side tab
|
* Returns the side tab
|
||||||
*/
|
*/
|
||||||
CAutoHideTab* sideTab() const;
|
CAutoHideTab* autoHideTab() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get's the dock widget in this dock container
|
* Get's the dock widget in this dock container
|
||||||
@ -112,7 +116,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Returns the side tab bar area of this Auto Hide dock container
|
* Returns the side tab bar area of this Auto Hide dock container
|
||||||
*/
|
*/
|
||||||
SideBarLocation sideTabBarArea() const;
|
SideBarLocation sideBarLocation() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the dock area widget of this Auto Hide dock container
|
* Returns the dock area widget of this Auto Hide dock container
|
||||||
|
@ -128,11 +128,10 @@ CAutoHideSideBar::~CAutoHideSideBar()
|
|||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
void CAutoHideSideBar::insertSideTab(int Index, CAutoHideTab* SideTab)
|
void CAutoHideSideBar::insertTab(int Index, CAutoHideTab* SideTab)
|
||||||
{
|
{
|
||||||
SideTab->installEventFilter(this);
|
SideTab->installEventFilter(this);
|
||||||
SideTab->setSideBar(this);
|
SideTab->setSideBar(this);
|
||||||
SideTab->updateOrientationForArea(d->SideTabArea);
|
|
||||||
d->TabsLayout->insertWidget(Index, SideTab);
|
d->TabsLayout->insertWidget(Index, SideTab);
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
@ -143,22 +142,14 @@ CAutoHideDockContainer* CAutoHideSideBar::insertDockWidget(int Index, CDockWidge
|
|||||||
{
|
{
|
||||||
auto AutoHideContainer = new CAutoHideDockContainer(DockWidget, d->SideTabArea, d->ContainerWidget);
|
auto AutoHideContainer = new CAutoHideDockContainer(DockWidget, d->SideTabArea, d->ContainerWidget);
|
||||||
DockWidget->dockManager()->dockFocusController()->clearDockWidgetFocus(DockWidget);
|
DockWidget->dockManager()->dockFocusController()->clearDockWidgetFocus(DockWidget);
|
||||||
auto Tab = AutoHideContainer->sideTab();
|
auto Tab = AutoHideContainer->autoHideTab();
|
||||||
insertSideTab(Index, Tab);
|
insertTab(Index, Tab);
|
||||||
return AutoHideContainer;
|
return AutoHideContainer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
void CAutoHideSideBar::removeDockWidget(CDockWidget* DockWidget)
|
void CAutoHideSideBar::removeTab(CAutoHideTab* SideTab)
|
||||||
{
|
|
||||||
Q_UNUSED(DockWidget);
|
|
||||||
// TODO implement
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
void CAutoHideSideBar::removeSideTab(CAutoHideTab* SideTab)
|
|
||||||
{
|
{
|
||||||
SideTab->removeEventFilter(this);
|
SideTab->removeEventFilter(this);
|
||||||
d->TabsLayout->removeWidget(SideTab);
|
d->TabsLayout->removeWidget(SideTab);
|
||||||
@ -226,19 +217,6 @@ bool CAutoHideSideBar::eventFilter(QObject *watched, QEvent *event)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
void CAutoHideSideBar::paintEvent(QPaintEvent* event)
|
|
||||||
{
|
|
||||||
Q_UNUSED(event)
|
|
||||||
|
|
||||||
QStyleOption option;
|
|
||||||
option.initFrom(this);
|
|
||||||
QPainter painter(this);
|
|
||||||
style()->drawPrimitive(QStyle::PE_Widget, &option, &painter, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
Qt::Orientation CAutoHideSideBar::orientation() const
|
Qt::Orientation CAutoHideSideBar::orientation() const
|
||||||
{
|
{
|
||||||
@ -261,7 +239,7 @@ int CAutoHideSideBar::tabCount() const
|
|||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
SideBarLocation CAutoHideSideBar::sideBarArea() const
|
SideBarLocation CAutoHideSideBar::sideBarLocation() const
|
||||||
{
|
{
|
||||||
return d->SideTabArea;
|
return d->SideTabArea;
|
||||||
}
|
}
|
||||||
@ -276,7 +254,7 @@ void CAutoHideSideBar::saveState(QXmlStreamWriter& s) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
s.writeStartElement("SideBar");
|
s.writeStartElement("SideBar");
|
||||||
s.writeAttribute("Area", QString::number(sideBarArea()));
|
s.writeAttribute("Area", QString::number(sideBarLocation()));
|
||||||
s.writeAttribute("Tabs", QString::number(tabCount()));
|
s.writeAttribute("Tabs", QString::number(tabCount()));
|
||||||
|
|
||||||
for (auto i = 0; i < tabCount(); ++i)
|
for (auto i = 0; i < tabCount(); ++i)
|
||||||
|
@ -54,7 +54,7 @@ class CDockingStateReader;
|
|||||||
class ADS_EXPORT CAutoHideSideBar : public QFrame
|
class ADS_EXPORT CAutoHideSideBar : public QFrame
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PROPERTY(int sideBarArea READ sideBarArea)
|
Q_PROPERTY(int sideBarLocation READ sideBarLocation)
|
||||||
Q_PROPERTY(Qt::Orientation orientation READ orientation)
|
Q_PROPERTY(Qt::Orientation orientation READ orientation)
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -64,7 +64,6 @@ private:
|
|||||||
friend DockContainerWidgetPrivate;
|
friend DockContainerWidgetPrivate;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void paintEvent(QPaintEvent* event) override;
|
|
||||||
virtual bool event(QEvent* e) override;
|
virtual bool event(QEvent* e) override;
|
||||||
virtual bool eventFilter(QObject *watched, QEvent *event) override;
|
virtual bool eventFilter(QObject *watched, QEvent *event) override;
|
||||||
|
|
||||||
@ -73,6 +72,12 @@ protected:
|
|||||||
*/
|
*/
|
||||||
void saveState(QXmlStreamWriter& Stream) const;
|
void saveState(QXmlStreamWriter& Stream) const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Inserts the given dock widget tab at the given position.
|
||||||
|
* An Index value of -1 appends the side tab at the end.
|
||||||
|
*/
|
||||||
|
void insertTab(int Index, CAutoHideTab* SideTab);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using Super = QFrame;
|
using Super = QFrame;
|
||||||
|
|
||||||
@ -86,26 +91,18 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual ~CAutoHideSideBar();
|
virtual ~CAutoHideSideBar();
|
||||||
|
|
||||||
/**
|
|
||||||
* Inserts the given dock widget tab at the given position.
|
|
||||||
*/
|
|
||||||
void insertSideTab(int Index, CAutoHideTab* SideTab);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes the given DockWidgetSideTab from the tabbar
|
* Removes the given DockWidgetSideTab from the tabbar
|
||||||
*/
|
*/
|
||||||
void removeSideTab(CAutoHideTab* SideTab);
|
void removeTab(CAutoHideTab* SideTab);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Insert dock widget
|
* Insert dock widget into the side bar.
|
||||||
|
* The function creates the auto hide dock container, inserts the
|
||||||
|
* auto hide tab
|
||||||
*/
|
*/
|
||||||
CAutoHideDockContainer* insertDockWidget(int Index, CDockWidget* DockWidget);
|
CAutoHideDockContainer* insertDockWidget(int Index, CDockWidget* DockWidget);
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove dock widget from sidebar
|
|
||||||
*/
|
|
||||||
void removeDockWidget(CDockWidget* DockWidget);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns orientation of side tab.
|
* Returns orientation of side tab.
|
||||||
*/
|
*/
|
||||||
@ -124,7 +121,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Getter for side tab bar area property
|
* Getter for side tab bar area property
|
||||||
*/
|
*/
|
||||||
SideBarLocation sideBarArea() const;
|
SideBarLocation sideBarLocation() const;
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void sideTabAutoHideToggleRequested();
|
void sideTabAutoHideToggleRequested();
|
||||||
|
@ -53,6 +53,12 @@ struct AutoHideTabPrivate
|
|||||||
* Private data constructor
|
* Private data constructor
|
||||||
*/
|
*/
|
||||||
AutoHideTabPrivate(CAutoHideTab* _public);
|
AutoHideTabPrivate(CAutoHideTab* _public);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update the orientation, visibility and spacing based on the area of
|
||||||
|
* the side bar
|
||||||
|
*/
|
||||||
|
void updateOrientation();
|
||||||
}; // struct DockWidgetTabPrivate
|
}; // struct DockWidgetTabPrivate
|
||||||
|
|
||||||
|
|
||||||
@ -64,10 +70,53 @@ AutoHideTabPrivate::AutoHideTabPrivate(CAutoHideTab* _public) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//============================================================================
|
||||||
|
void AutoHideTabPrivate::updateOrientation()
|
||||||
|
{
|
||||||
|
auto area = SideBar->sideBarLocation();
|
||||||
|
_this->setOrientation((area == Bottom || area == Top) ? Qt::Horizontal : Qt::Vertical);
|
||||||
|
|
||||||
|
if (_this->icon().isNull())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool IconOnly = false;
|
||||||
|
switch (area)
|
||||||
|
{
|
||||||
|
case SideBarLocation::Left:
|
||||||
|
IconOnly = CDockManager::testConfigFlag(CDockManager::LeftSideBarIconOnly);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case SideBarLocation::Right:
|
||||||
|
IconOnly = CDockManager::testConfigFlag(CDockManager::RightSideBarIconOnly);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case SideBarLocation::Top:
|
||||||
|
IconOnly = CDockManager::testConfigFlag(CDockManager::BottomSideBarIconOnly);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case SideBarLocation::Bottom:
|
||||||
|
IconOnly = CDockManager::testConfigFlag(CDockManager::TopSideBarIconOnly);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (IconOnly)
|
||||||
|
{
|
||||||
|
_this->setText("");
|
||||||
|
_this->setOrientation(Qt::Horizontal);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
void CAutoHideTab::setSideBar(CAutoHideSideBar* SideTabBar)
|
void CAutoHideTab::setSideBar(CAutoHideSideBar* SideTabBar)
|
||||||
{
|
{
|
||||||
d->SideBar = SideTabBar;
|
d->SideBar = SideTabBar;
|
||||||
|
if (d->SideBar)
|
||||||
|
{
|
||||||
|
d->updateOrientation();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -78,7 +127,7 @@ void CAutoHideTab::removeFromSideBar()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
d->SideBar->removeSideTab(this);
|
d->SideBar->removeTab(this);
|
||||||
setSideBar(nullptr);
|
setSideBar(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,11 +158,11 @@ void CAutoHideTab::updateStyle()
|
|||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
SideBarLocation CAutoHideTab::sideTabBarArea() const
|
SideBarLocation CAutoHideTab::sideBarLocation() const
|
||||||
{
|
{
|
||||||
if (d->SideBar)
|
if (d->SideBar)
|
||||||
{
|
{
|
||||||
return d->SideBar->sideBarArea();
|
return d->SideBar->sideBarLocation();
|
||||||
}
|
}
|
||||||
|
|
||||||
return Left;
|
return Left;
|
||||||
@ -137,44 +186,6 @@ Qt::Orientation CAutoHideTab::orientation() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
void CAutoHideTab::updateOrientationForArea(SideBarLocation area)
|
|
||||||
{
|
|
||||||
setOrientation((area == Bottom || area == Top) ? Qt::Horizontal : Qt::Vertical);
|
|
||||||
|
|
||||||
if (icon().isNull())
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IconOnly = false;
|
|
||||||
switch (area)
|
|
||||||
{
|
|
||||||
case SideBarLocation::Left:
|
|
||||||
IconOnly = CDockManager::testConfigFlag(CDockManager::LeftSideBarIconOnly);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case SideBarLocation::Right:
|
|
||||||
IconOnly = CDockManager::testConfigFlag(CDockManager::RightSideBarIconOnly);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case SideBarLocation::Top:
|
|
||||||
IconOnly = CDockManager::testConfigFlag(CDockManager::BottomSideBarIconOnly);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case SideBarLocation::Bottom:
|
|
||||||
IconOnly = CDockManager::testConfigFlag(CDockManager::TopSideBarIconOnly);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (IconOnly)
|
|
||||||
{
|
|
||||||
setText("");
|
|
||||||
setOrientation(Qt::Horizontal);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
bool CAutoHideTab::isActiveTab() const
|
bool CAutoHideTab::isActiveTab() const
|
||||||
{
|
{
|
||||||
|
@ -50,7 +50,7 @@ class ADS_EXPORT CAutoHideTab : public CPushButton
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
Q_PROPERTY(int sideTabBarArea READ sideTabBarArea)
|
Q_PROPERTY(int sideBarLocation READ sideBarLocation)
|
||||||
Q_PROPERTY(Qt::Orientation orientation READ orientation)
|
Q_PROPERTY(Qt::Orientation orientation READ orientation)
|
||||||
Q_PROPERTY(bool activeTab READ isActiveTab)
|
Q_PROPERTY(bool activeTab READ isActiveTab)
|
||||||
|
|
||||||
@ -91,7 +91,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Getter for side tab bar area property
|
* Getter for side tab bar area property
|
||||||
*/
|
*/
|
||||||
SideBarLocation sideTabBarArea() const;
|
SideBarLocation sideBarLocation() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set orientation vertical or horizontal
|
* Set orientation vertical or horizontal
|
||||||
@ -104,12 +104,8 @@ public:
|
|||||||
Qt::Orientation orientation() const;
|
Qt::Orientation orientation() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update the orientation, visibility and spacing based on the area and the config
|
* Returns true, if this is the active tab. The tab is active if the auto
|
||||||
*/
|
* hide widget is visible
|
||||||
void updateOrientationForArea(SideBarLocation area);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns true, if this is the active tab. The tab is active if the auto hide widget is visible
|
|
||||||
*/
|
*/
|
||||||
bool isActiveTab() const;
|
bool isActiveTab() const;
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ set(ads_SRCS
|
|||||||
FloatingDragPreview.cpp
|
FloatingDragPreview.cpp
|
||||||
IconProvider.cpp
|
IconProvider.cpp
|
||||||
DockComponentsFactory.cpp
|
DockComponentsFactory.cpp
|
||||||
SideTabBar.cpp
|
AutoHideSideBar.cpp
|
||||||
DockWidgetSideTab.cpp
|
AutoHideTab.cpp
|
||||||
AutoHideDockContainer.cpp
|
AutoHideDockContainer.cpp
|
||||||
PushButton.cpp
|
PushButton.cpp
|
||||||
ResizeHandle.cpp
|
ResizeHandle.cpp
|
||||||
@ -53,8 +53,8 @@ set(ads_HEADERS
|
|||||||
FloatingDragPreview.h
|
FloatingDragPreview.h
|
||||||
IconProvider.h
|
IconProvider.h
|
||||||
DockComponentsFactory.h
|
DockComponentsFactory.h
|
||||||
SideTabBar.h
|
AutoHideSideBar.h
|
||||||
DockWidgetSideTab.h
|
AutoHideTab.h
|
||||||
AutoHideDockContainer.h
|
AutoHideDockContainer.h
|
||||||
PushButton.h
|
PushButton.h
|
||||||
ResizeHandle.h
|
ResizeHandle.h
|
||||||
|
@ -1714,7 +1714,7 @@ void CDockContainerWidget::dropFloatingWidget(CFloatingDockContainer* FloatingWi
|
|||||||
auto autoHideWidgets = FloatingWidget->dockContainer()->autoHideWidgets();
|
auto autoHideWidgets = FloatingWidget->dockContainer()->autoHideWidgets();
|
||||||
for (const auto autohideWidget : autoHideWidgets)
|
for (const auto autohideWidget : autoHideWidgets)
|
||||||
{
|
{
|
||||||
createAndSetupAutoHideContainer(autohideWidget->sideTabBarArea(), autohideWidget->dockWidget(), autohideWidget->dockWidget()->autoHideInsertOrder());
|
createAndSetupAutoHideContainer(autohideWidget->sideBarLocation(), autohideWidget->dockWidget(), autohideWidget->dockWidget()->autoHideInsertOrder());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DockArea)
|
if (DockArea)
|
||||||
|
@ -142,66 +142,66 @@ ads--CAutoHideTab {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"],
|
ads--CAutoHideTab[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"] {
|
ads--CAutoHideTab[sideBarLocation="2"] {
|
||||||
border-top: 5px solid rgba(0, 0, 0, 48);
|
border-top: 5px solid rgba(0, 0, 0, 48);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"],
|
ads--CAutoHideTab[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"] {
|
ads--CAutoHideTab[sideBarLocation="3"] {
|
||||||
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="0"],
|
ads--CAutoHideTab:hover[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="2"] {
|
ads--CAutoHideTab:hover[sideBarLocation="2"] {
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="1"],
|
ads--CAutoHideTab:hover[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="3"] {
|
ads--CAutoHideTab:hover[sideBarLocation="3"] {
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="0"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"][activeTab="true"] {
|
ads--CAutoHideTab[sideBarLocation="2"][activeTab="true"] {
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="1"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"][activeTab="true"] {
|
ads--CAutoHideTab[sideBarLocation="3"][activeTab="true"] {
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* CAutoHideBar
|
* CAutoHideSideBar
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
ads--CAutoHideBar{
|
ads--CAutoHideSideBar{
|
||||||
background: palette(window);
|
background: palette(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="0"] {
|
ads--CAutoHideSideBar[sideBarLocation="0"] {
|
||||||
border-bottom: 1px solid palette(dark);
|
border-bottom: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="1"] {
|
ads--CAutoHideSideBar[sideBarLocation="1"] {
|
||||||
border-right: 1px solid palette(dark);
|
border-right: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="2"] {
|
ads--CAutoHideSideBar[sideBarLocation="2"] {
|
||||||
border-left: 1px solid palette(dark);
|
border-left: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="3"] {
|
ads--CAutoHideSideBar[sideBarLocation="3"] {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -278,19 +278,19 @@ ads--CResizeHandle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="0"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="0"] ads--CResizeHandle {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="1"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="1"] ads--CResizeHandle {
|
||||||
border-left: 1px solid palette(dark);
|
border-left: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="2"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="2"] ads--CResizeHandle {
|
||||||
border-right: 1px solid palette(dark);
|
border-right: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="3"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="3"] ads--CResizeHandle {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -176,64 +176,64 @@ ads--CAutoHideTab {
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"],
|
ads--CAutoHideTab[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"] {
|
ads--CAutoHideTab[sideBarLocation="3"] {
|
||||||
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"],
|
ads--CAutoHideTab[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"] {
|
ads--CAutoHideTab[sideBarLocation="2"] {
|
||||||
border-top: 5px solid rgba(0, 0, 0, 48);
|
border-top: 5px solid rgba(0, 0, 0, 48);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="0"],
|
ads--CAutoHideTab:hover[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="2"] {
|
ads--CAutoHideTab:hover[sideBarLocation="2"] {
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="1"],
|
ads--CAutoHideTab:hover[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="3"] {
|
ads--CAutoHideTab:hover[sideBarLocation="3"] {
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="0"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"][activeTab="true"] {
|
ads--CAutoHideTab[sideBarLocation="2"][activeTab="true"] {
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="1"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"][activeTab="true"] {
|
ads--CAutoHideTab[sideBarLocation="3"][activeTab="true"] {
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* CAutoHideBar
|
* CAutoHideSideBar
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
ads--CAutoHideBar{
|
ads--CAutoHideSideBar{
|
||||||
background: palette(window);
|
background: palette(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="0"] {
|
ads--CAutoHideSideBar[sideBarLocation="0"] {
|
||||||
border-bottom: 1px solid palette(dark);
|
border-bottom: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="1"] {
|
ads--CAutoHideSideBar[sideBarLocation="1"] {
|
||||||
border-right: 1px solid palette(dark);
|
border-right: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="2"] {
|
ads--CAutoHideSideBar[sideBarLocation="2"] {
|
||||||
border-left: 1px solid palette(dark);
|
border-left: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="3"] {
|
ads--CAutoHideSideBar[sideBarLocation="3"] {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -310,19 +310,19 @@ ads--CResizeHandle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="0"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="0"] ads--CResizeHandle {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="1"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="1"] ads--CResizeHandle {
|
||||||
border-left: 1px solid palette(dark);
|
border-left: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="2"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="2"] ads--CResizeHandle {
|
||||||
border-right: 1px solid palette(dark);
|
border-right: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="3"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="3"] ads--CResizeHandle {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -182,16 +182,16 @@ ads--CAutoHideTab {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"],
|
ads--CAutoHideTab[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"] {
|
ads--CAutoHideTab[sideBarLocation="2"] {
|
||||||
border-top: 5px solid rgba(0, 0, 0, 48);
|
border-top: 5px solid rgba(0, 0, 0, 48);
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
min-height: 20;
|
min-height: 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"],
|
ads--CAutoHideTab[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"] {
|
ads--CAutoHideTab[sideBarLocation="3"] {
|
||||||
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
min-height: 20;
|
min-height: 20;
|
||||||
@ -199,52 +199,52 @@ ads--CAutoHideTab[sideTabBarArea="3"] {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="0"],
|
ads--CAutoHideTab:hover[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="2"] {
|
ads--CAutoHideTab:hover[sideBarLocation="2"] {
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="1"],
|
ads--CAutoHideTab:hover[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="3"] {
|
ads--CAutoHideTab:hover[sideBarLocation="3"] {
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="0"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"][activeTab="true"] {
|
ads--CAutoHideTab[sideBarLocation="2"][activeTab="true"] {
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="1"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"][activeTab="true"] {
|
ads--CAutoHideTab[sideBarLocation="3"][activeTab="true"] {
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* CAutoHideBar
|
* CAutoHideSideBar
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
ads--CAutoHideBar{
|
ads--CAutoHideSideBar{
|
||||||
background: palette(window);
|
background: palette(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="0"] {
|
ads--CAutoHideSideBar[sideBarLocation="0"] {
|
||||||
border-bottom: 1px solid palette(dark);
|
border-bottom: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="1"] {
|
ads--CAutoHideSideBar[sideBarLocation="1"] {
|
||||||
border-right: 1px solid palette(dark);
|
border-right: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="2"] {
|
ads--CAutoHideSideBar[sideBarLocation="2"] {
|
||||||
border-left: 1px solid palette(dark);
|
border-left: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="3"] {
|
ads--CAutoHideSideBar[sideBarLocation="3"] {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -321,19 +321,19 @@ ads--CResizeHandle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="0"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="0"] ads--CResizeHandle {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="1"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="1"] ads--CResizeHandle {
|
||||||
border-left: 1px solid palette(dark);
|
border-left: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="2"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="2"] ads--CResizeHandle {
|
||||||
border-right: 1px solid palette(dark);
|
border-right: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="3"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="3"] ads--CResizeHandle {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -252,64 +252,64 @@ ads--CAutoHideTab {
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"],
|
ads--CAutoHideTab[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"] {
|
ads--CAutoHideTab[sideBarLocation="3"] {
|
||||||
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"],
|
ads--CAutoHideTab[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"] {
|
ads--CAutoHideTab[sideBarLocation="2"] {
|
||||||
border-top: 5px solid rgba(0, 0, 0, 48);
|
border-top: 5px solid rgba(0, 0, 0, 48);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="0"],
|
ads--CAutoHideTab:hover[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="2"] {
|
ads--CAutoHideTab:hover[sideBarLocation="2"] {
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="1"],
|
ads--CAutoHideTab:hover[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="3"] {
|
ads--CAutoHideTab:hover[sideBarLocation="3"] {
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="0"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"][activeTab="true"] {
|
ads--CAutoHideTab[sideBarLocation="2"][activeTab="true"] {
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="1"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"][activeTab="true"] {
|
ads--CAutoHideTab[sideBarLocation="3"][activeTab="true"] {
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* CAutoHideBar
|
* CAutoHideSideBar
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
ads--CAutoHideBar{
|
ads--CAutoHideSideBar{
|
||||||
background: palette(window);
|
background: palette(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="0"] {
|
ads--CAutoHideSideBar[sideBarLocation="0"] {
|
||||||
border-bottom: 1px solid palette(dark);
|
border-bottom: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="1"] {
|
ads--CAutoHideSideBar[sideBarLocation="1"] {
|
||||||
border-right: 1px solid palette(dark);
|
border-right: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="2"] {
|
ads--CAutoHideSideBar[sideBarLocation="2"] {
|
||||||
border-left: 1px solid palette(dark);
|
border-left: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideBar[sideTabBarArea="3"] {
|
ads--CAutoHideSideBar[sideBarLocation="3"] {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -386,19 +386,19 @@ ads--CResizeHandle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="0"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="0"] ads--CResizeHandle {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="1"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="1"] ads--CResizeHandle {
|
||||||
border-left: 1px solid palette(dark);
|
border-left: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="2"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="2"] ads--CResizeHandle {
|
||||||
border-right: 1px solid palette(dark);
|
border-right: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideDockContainer[sideTabBarArea="3"] ads--CResizeHandle {
|
ads--CAutoHideDockContainer[sideBarLocation="3"] ads--CResizeHandle {
|
||||||
border-top: 1px solid palette(dark);
|
border-top: 1px solid palette(dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -164,8 +164,8 @@ ads--CAutoHideTab
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"],
|
ads--CAutoHideTab[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"]
|
ads--CAutoHideTab[sideBarLocation="2"]
|
||||||
{
|
{
|
||||||
border-top: 5px solid rgba(0, 0, 0, 48);
|
border-top: 5px solid rgba(0, 0, 0, 48);
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
@ -173,8 +173,8 @@ ads--CAutoHideTab[sideTabBarArea="2"]
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"],
|
ads--CAutoHideTab[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"]
|
ads--CAutoHideTab[sideBarLocation="3"]
|
||||||
{
|
{
|
||||||
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
border-bottom: 5px solid rgba(0, 0, 0, 48);
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
@ -183,30 +183,30 @@ ads--CAutoHideTab[sideTabBarArea="3"]
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="0"],
|
ads--CAutoHideTab:hover[sideBarLocation="0"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="2"]
|
ads--CAutoHideTab:hover[sideBarLocation="2"]
|
||||||
{
|
{
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="1"],
|
ads--CAutoHideTab:hover[sideBarLocation="1"],
|
||||||
ads--CAutoHideTab:hover[sideTabBarArea="3"]
|
ads--CAutoHideTab:hover[sideBarLocation="3"]
|
||||||
{
|
{
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
color: palette(highlight);
|
color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="0"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="0"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="2"][activeTab="true"]
|
ads--CAutoHideTab[sideBarLocation="2"][activeTab="true"]
|
||||||
{
|
{
|
||||||
border-top: 5px solid palette(highlight);
|
border-top: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ads--CAutoHideTab[sideTabBarArea="1"][activeTab="true"],
|
ads--CAutoHideTab[sideBarLocation="1"][activeTab="true"],
|
||||||
ads--CAutoHideTab[sideTabBarArea="3"][activeTab="true"]
|
ads--CAutoHideTab[sideBarLocation="3"][activeTab="true"]
|
||||||
{
|
{
|
||||||
border-bottom: 5px solid palette(highlight);
|
border-bottom: 5px solid palette(highlight);
|
||||||
}
|
}
|
||||||
@ -227,7 +227,7 @@ ads--CAutoHideDockContainer::handle:horizontal {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*ads--CAutoHideDockContainer[sideTabBarArea="0"]:handle {
|
/*ads--CAutoHideDockContainer[sideBarLocation="0"]:handle {
|
||||||
border: 1px solid palette(dark);
|
border: 1px solid palette(dark);
|
||||||
background: white;
|
background: white;
|
||||||
}*/
|
}*/
|
||||||
|
Loading…
Reference in New Issue
Block a user