DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
Dtk::Widget::DArrowRectanglePrivate类 参考
类 Dtk::Widget::DArrowRectanglePrivate 继承关系图:

Public 成员函数

 DArrowRectanglePrivate (DArrowRectangle::ArrowDirection direction, DArrowRectangle *q)
 
void init (DArrowRectangle::FloatMode floatMode)
 
virtual void show (int x, int y)
 
void setContent (QWidget *content)
 
void resizeWithContent ()
 
void paintEvent (QPaintEvent *e)
 
void resizeEvent (QResizeEvent *e)
 
QPainterPath getLeftCornerPath ()
 
QPainterPath getRightCornerPath ()
 
QPainterPath getTopCornerPath ()
 
QPainterPath getBottomCornerPath ()
 
const QRect currentScreenRect (const int x, const int y)
 
void verticalMove (int x, int y)
 
void horizontalMove (int x, int y)
 
void updateClipPath ()
 
bool radiusEnabled ()
 

Public 属性

int m_radius = 3
 
int m_arrowHeight = 8
 
int m_arrowWidth = 12
 
int m_margin = 5
 
int m_arrowX = 0
 
int m_arrowY = 0
 
qreal m_shadowBlurRadius = 20
 
qreal m_shadowDistance = 0
 
qreal m_shadowXOffset = 0
 
qreal m_shadowYOffset = 5
 
int m_shadowWidth = 5
 
int m_borderWidth = 1
 
QColor m_borderColor = QColor(0, 0, 0, 255 * 0.1)
 
QColor m_backgroundColor
 
DArrowRectangle::ArrowDirection m_arrowDirection
 
QPoint m_lastPos = QPoint(0, 0)
 
DArrowRectangle::FloatMode floatMode = DArrowRectangle::FloatWindow
 
QPointer< QWidget > m_content
 
DPlatformWindowHandlem_handle = nullptr
 
DBlurEffectWidgetm_blurBackground = nullptr
 
DWindowManagerHelper * m_wmHelper = nullptr
 
bool leftRightRadius = false
 
bool radiusArrowStyleEnable = false
 

该类的文档由以下文件生成: