QtCanpool 3.3.0
载入中...
搜索中...
未找到
dockutils.h 文件参考
#include "qxdock_global.h"
#include <QStyle>
#include <QAbstractButton>
#include <QMouseEvent>

浏览源代码.

类

class  QxDock::internal::DockInsertParam
 

命名空间

namespace  QxDock
 Copyleft (C) 2024 maminjie canpo.nosp@m.ol@1.nosp@m.63.co.nosp@m.m SPDX-License-Identifier: MulanPSL-2.0
 
namespace  QxDock::internal
 

宏定义

#define QX_DOCK_PRINT(s)
 Copyleft (C) 2024 maminjie canpo.nosp@m.ol@1.nosp@m.63.co.nosp@m.m SPDX-License-Identifier: MulanPSL-2.0
 
#define QXDOCK_SET_BGCOLOR(w)
 

枚举

enum  QxDock::internal::RepolishChildOptions { QxDock::internal::RepolishIgnoreChildren , QxDock::internal::RepolishDirectChildren , QxDock::internal::RepolishChildrenRecursively }
 

函数

template<class T >
void QxDock::internal::setFlag (T &flags, typename T::enum_type flag, bool on=true)
 
template<class QObjectPtr >
void QxDock::internal::setToolTip (QObjectPtr obj, const QString &tip)
 
template<class T >
T QxDock::internal::findParent (const QWidget *w)
 Searches for the parent widget of the given type.
 
QPoint QxDock::internal::globalPositionOf (QMouseEvent *e)
 
QPixmap QxDock::internal::createTransparentPixmap (const QPixmap &source, qreal opacity)
 Creates a semi transparent pixmap from the given pixmap Source.
 
void QxDock::internal::setButtonIcon (QAbstractButton *b, QStyle::StandardPixmap pixmap, Qx::DockIcon iconId)
 Helper function to set the icon of a certain button.
 
void QxDock::internal::replaceSplitterWidget (QSplitter *splitter, QWidget *from, QWidget *to)
 Replace the from widget in the given splitter with the To widget
 
void QxDock::internal::hideEmptyParentSplitters (DockSplitter *splitter)
 This function walks the splitter tree upwards to hides all splitters that do not have visible content
 
DockInsertParam QxDock::internal::dockAreaInsertParameters (Qx::DockWidgetArea area)
 
Qx::DockSideBarArea QxDock::internal::toSideBarArea (Qx::DockWidgetArea area)
 
bool QxDock::internal::isHorizontalSideBarArea (Qx::DockSideBarArea area)
 
bool QxDock::internal::isSideBarArea (Qx::DockWidgetArea area)
 
void QxDock::internal::repolishStyle (QWidget *w, RepolishChildOptions options)
 Calls unpolish() / polish for the style of the given widget to update stylesheet if a property changes
 

宏定义说明

◆ QX_DOCK_PRINT

#define QX_DOCK_PRINT (   s)

Copyleft (C) 2024 maminjie canpo.nosp@m.ol@1.nosp@m.63.co.nosp@m.m SPDX-License-Identifier: MulanPSL-2.0

在文件 dockutils.h 第 24 行定义.

◆ QXDOCK_SET_BGCOLOR

#define QXDOCK_SET_BGCOLOR (   w)

在文件 dockutils.h 第 172 行定义.