mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
Added sideTabBarArea property to CAutoHideDockContainer to improve CSS styling options
This commit is contained in:
parent
5b3ad7e5db
commit
9f9d9792aa
@ -47,12 +47,13 @@ class CSideTabBar;
|
||||
class CDockAreaWidget;
|
||||
class CDockingStateReader;
|
||||
|
||||
// Note: This widget must be a QSplitter, inheriting from QWidget and keeping an internal splitter breaks ActiveX widgets
|
||||
// Note: This widget must be a QSplitter, inheriting from QWidget and keeping an
|
||||
// internal splitter breaks ActiveX widgets
|
||||
// likely due to layout issues between this widget and the internal splitter
|
||||
class ADS_EXPORT CAutoHideDockContainer : public QSplitter
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PROPERTY(int sideTabBarArea READ sideTabBarArea)
|
||||
private:
|
||||
AutoHideDockContainerPrivate* d; ///< private data (pimpl)
|
||||
friend struct AutoHideDockContainerPrivate;
|
||||
|
@ -74,6 +74,30 @@ QScrollArea#dockWidgetScrollArea {
|
||||
qproperty-iconSize: 16px;
|
||||
}
|
||||
|
||||
#autoHideTitleLabel {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
/*
|
||||
ads--CAutoHideDockContainer::handle {
|
||||
background: palette(dark);
|
||||
}
|
||||
|
||||
ads--CAutoHideDockContainer::handle:vertical {
|
||||
height: 4px;
|
||||
}
|
||||
|
||||
|
||||
ads--CAutoHideDockContainer::handle:horizontal {
|
||||
width: 4px;
|
||||
}
|
||||
*/
|
||||
|
||||
/*ads--CAutoHideDockContainer[sideTabBarArea="0"]:handle {
|
||||
border: 1px solid palette(dark);
|
||||
background: white;
|
||||
}*/
|
||||
|
||||
#tabCloseButton {
|
||||
margin-top: 2px;
|
||||
background: none;
|
||||
|
Loading…
Reference in New Issue
Block a user