DtkWidget 5.6.0.2
DTK Widget module
Public 成员函数 | 所有成员列表
Dtk::Widget::DHBoxWidget类 参考

The DHBoxWidget class is DBoxWidget with DBoxWidget::direction set to QBoxLayout::LeftToRight. 更多...

类 Dtk::Widget::DHBoxWidget 继承关系图:
Inheritance graph
[图例]
Dtk::Widget::DHBoxWidget 的协作图:
Collaboration graph
[图例]

Public 成员函数

 DHBoxWidget (QWidget *parent=0)
 DHBoxWidget的构造函数 更多...
 
- Public 成员函数 继承自 Dtk::Widget::DBoxWidget
 DBoxWidget (QBoxLayout::Direction direction, QWidget *parent=0)
 DBoxWidget的构造函数. 更多...
 
QBoxLayout::Direction direction () const
 
QBoxLayout * layout () const
 这个属性会返回当前使用的布局对象 更多...
 
void addWidget (QWidget *widget)
 调用QBoxLayout的addWidget方法将QWidget添加到布局中 更多...
 
QSize sizeHint () const Q_DECL_OVERRIDE
 DBoxWidget::sizeHint reimplemented from QWidget::sizeHint(). 更多...
 

额外继承的成员函数

- Public 槽 继承自 Dtk::Widget::DBoxWidget
void setDirection (QBoxLayout::Direction direction)
 设置QBoxLayout当前的方向 更多...
 
- 信号 继承自 Dtk::Widget::DBoxWidget
void sizeChanged (QSize size)
 
void directionChanged (QBoxLayout::Direction direction)
 
- Protected 成员函数 继承自 Dtk::Widget::DBoxWidget
virtual void updateSize (const QSize &size)
 当方向是QBoxLayout::TopToBottom或者QBoxLayout::BottomToTop时, 固定高度将使用传入的高度,并设置最小宽度为传入的宽度。 否则将使用传入的宽度当做固定宽度,高度为最小高度。 size
 
bool event (QEvent *ee) Q_DECL_OVERRIDE
 
- 属性 继承自 Dtk::Widget::DBoxWidget
QBoxLayout::Direction direction
 This property holds the direction of the internal QBoxLayout. 更多...
 

详细描述

The DHBoxWidget class is DBoxWidget with DBoxWidget::direction set to QBoxLayout::LeftToRight.

\inmodule dtkwidget

是设置成水平方向的DBoxWidget

构造及析构函数说明

◆ DHBoxWidget()

Dtk::Widget::DHBoxWidget::DHBoxWidget ( QWidget *  parent = 0)
explicit

DHBoxWidget的构造函数

DHBoxWidget::DHBoxWidget constructs an instance of DHBoxWidget.

parent is passed to DBoxWidget constructor.


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