|
DtkWidget
DTK Widget module
|
Public 成员函数 | |
| DAnchorsBasePrivate (DAnchorsBase *qq) | |
| const DAnchorInfo * | getInfoByPoint (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 DAnchorsBase * | getWidgetAnchorsBase (const QWidget *w) |
| static void | removeWidgetAnchorsBase (const QWidget *w, const DAnchorsBase *b) |
Public 属性 | |
| DAnchorsBase * | q_ptr |
| QPointer< DEnhancedWidget > | extendWidget |
| DAnchorInfo * | top = new DAnchorInfo(q_ptr, Qt::AnchorTop) |
| DAnchorInfo * | bottom = new DAnchorInfo(q_ptr, Qt::AnchorBottom) |
| DAnchorInfo * | left = new DAnchorInfo(q_ptr, Qt::AnchorLeft) |
| DAnchorInfo * | right = new DAnchorInfo(q_ptr, Qt::AnchorRight) |
| DAnchorInfo * | horizontalCenter = new DAnchorInfo(q_ptr, Qt::AnchorHorizontalCenter) |
| DAnchorInfo * | verticalCenter = new DAnchorInfo(q_ptr, Qt::AnchorVerticalCenter) |
| DEnhancedWidget * | fill = new DEnhancedWidget(NULL, q_ptr) |
| DEnhancedWidget * | centerIn = 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 |