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

Public 成员函数

 DAnchorsBasePrivate (DAnchorsBase *qq)
 
const DAnchorInfogetInfoByPoint (const Qt::AnchorPoint &p) const
 
bool checkInfo (const DAnchorInfo *info1, const DAnchorInfo *info2) const
 
bool isBindable (const DAnchorInfo *info) const
 
qreal getValueByInfo (const DAnchorInfo *info)
 
void setValueByInfo (qreal value, const DAnchorInfo *info)
 
qreal getTargetValueByInfo (const DAnchorInfo *info)
 
const DAnchorsRect getWidgetRect (const QWidget *w) const
 
int horizontalAnchorCount () const
 
int verticalAnchorCount () const
 

静态 Public 成员函数

static void setWidgetAnchorsBase (const QWidget *w, DAnchorsBase *b)
 
static DAnchorsBasegetWidgetAnchorsBase (const QWidget *w)
 
static void removeWidgetAnchorsBase (const QWidget *w, const DAnchorsBase *b)
 

Public 属性

DAnchorsBaseq_ptr
 
QPointer< DEnhancedWidgetextendWidget
 
DAnchorInfotop = new DAnchorInfo(q_ptr, Qt::AnchorTop)
 
DAnchorInfobottom = new DAnchorInfo(q_ptr, Qt::AnchorBottom)
 
DAnchorInfoleft = new DAnchorInfo(q_ptr, Qt::AnchorLeft)
 
DAnchorInforight = new DAnchorInfo(q_ptr, Qt::AnchorRight)
 
DAnchorInfohorizontalCenter = new DAnchorInfo(q_ptr, Qt::AnchorHorizontalCenter)
 
DAnchorInfoverticalCenter = new DAnchorInfo(q_ptr, Qt::AnchorVerticalCenter)
 
DEnhancedWidgetfill = new DEnhancedWidget(NULL, q_ptr)
 
DEnhancedWidgetcenterIn = new DEnhancedWidget(NULL, q_ptr)
 
int margins = 0
 
int topMargin = 0
 
int bottomMargin = 0
 
int leftMargin = 0
 
int rightMargin = 0
 
int horizontalCenterOffset = 0
 
int verticalCenterOffset = 0
 
bool alignWhenCentered = false
 
DAnchorsBase::AnchorError errorCode = DAnchorsBase::NoError
 
QString errorString
 

静态 Public 属性

static QMap< const QWidget *, DAnchorsBase * > widgetMap
 

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