QtCanpool 3.3.0
载入中...
搜索中...
未找到
dockutils.cpp 文件参考
#include "dockutils.h"
#include "dockmanager.h"
#include "docksplitter.h"
#include <QPainter>
#include <QSplitter>
#include <QDebug>

浏览源代码.

命名空间

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
 

函数

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.
 
DockInsertParam QxDock::internal::dockAreaInsertParameters (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
 
void QxDock::internal::hideEmptyParentSplitters (DockSplitter *splitter)
 This function walks the splitter tree upwards to hides all splitters that do not have visible content
 
void QxDock::internal::replaceSplitterWidget (QSplitter *splitter, QWidget *from, QWidget *to)
 Replace the from widget in the given splitter with the To widget
 
bool QxDock::internal::isHorizontalSideBarArea (Qx::DockSideBarArea area)
 
bool QxDock::internal::isSideBarArea (Qx::DockWidgetArea area)
 
Qx::DockSideBarArea QxDock::internal::toSideBarArea (Qx::DockWidgetArea area)
 

变量

const int QxDock::internal::FloatingWidgetDragStartEvent = QEvent::registerEventType()
 
const int QxDock::internal::DockedWidgetDragStartEvent = QEvent::registerEventType()