- qtgui
- qtdbus
- qtwidgets
- qtcore
- dtkcore
- qsettingbackend_zh
- dobject_zh
- abstractappender_zh
- abstractstringappender_zh
- dfilewatcher_zh
- outputdebugappender_zh
- dsettingsbackend_zh
- drecentmanager_zh
- ddesktopentry_zh
- consoleappender_zh
- gsettingsbackend_zh
- dsettingsgroup_zh
- dlogmanager_zh
- fileappender_zh
- dsettings_zh
- dfilesystemwatcher_zh
- dfilewatchermanager_zh
- dbasefilewatcher_zh
- dtkgui
- dtkwidget
- dviewitemaction_zh
- dstandarditem_zh
- dfiledialog_zh
- dclipeffectwidget_zh
- danchors_zh
- dgraphicsclipeffect_zh
- dstyle_zh
- dcoloredprogressbar_zh
- dbuttonboxbutton_zh
- dlabel_zh
- dtiplabel_zh
- darrowlinedrawer_zh
- daboutdialog_zh
- dsettingswidgetfactory_zh
- dsearchcombobox_zh
- dcrumbedit_zh
- dcommandlinkbutton_zh
- dsettingsdialog_zh
- dwindowoptionbutton_zh
- dspinner_zh
- dsimplelistview_zh
- dwaterprogress_zh
- dmainwindow_zh
- dhidpihelper_zh
- dslider_zh
- dpasswordedit_zh
- danchorinfo_zh
- dmpriscontrol_zh
- darrowbutton_zh
- dbackgroundgroup_zh
- dcircleprogress_zh
- dwarningbutton_zh
- dwindowclosebutton_zh
- dvideowidget_zh
- dfilechooseredit_zh
- dblureffectwidget_zh
- darrowrectangle_zh
- dsearchedit_zh
- dfloatingmessage_zh
- dswitchlineexpand_zh
- dtabbar_zh
- dlineedit_zh
- danchorsbase_zh
- dstylediconengine_zh
- dwindowmaxbutton_zh
- dpageindicator_zh
- dsuggestbutton_zh
- dapplicationsettings_zh
- dtooltip_zh
- dwindowminbutton_zh
- ddrawer_zh
- dtitlebar_zh
- dsimplelistitem_zh
- dpicturesequenceview_zh
ddrawer_zh
Class::DDrawer
暂无该属性
Detailed Description
一个美观的可展开的控件 * * 使用 DDrawer 类可以创建一个可展开的带有展开动画效果的控件,这个控件包含上下两部分,上面的控件为标题控件,这个控件会始终显示,下面的控件为内容控件,默认为不会显示,调用 DDrawer::setExpand 设置内容控件的可见性。使用 DDrawer::setHeader 和 DDrawer::setContent 设置分别设置标题控件和内容控件。 * *
See also DHeaderLine
DDrawer::D_DECLARE_PRIVATE
int D_DECLARE_PRIVATE(DDrawer )
DDrawer::~DDrawer
~DDrawer()
DDrawer::setHeader
void setHeader(int *header)
设置标题控件 标题控件会始终显示在布局里 header 标题控件
DDrawer::setContent
void setContent(int *content, int alignment)
设置内容控件 内容控件默认是隐藏的,调用 DDrawer::setExpand 设置其可见性 content 内容控件 alignment 内容控件在布局中的对齐方式
DDrawer::getContent
int * getContent() const
DDrawer::setHeaderHeight
void setHeaderHeight(int height)
设置标题控件的高度 ~chinese height 指定的高度
DDrawer::setExpand
void setExpand(bool value)
设置内容控件的可见性 ~chinese value 为 true 则内容控件可见,反之则反
DDrawer::expand
bool expand() const
获取当前内容控件的可见性 ~chinese Returns 当前内容控件的可见性
DDrawer::setAnimationDuration
void setAnimationDuration(int duration)
设置内容控件的可见性改变时动画的时间 ~chinese duration 指定动画时间
DDrawer::setAnimationEasingCurve
void setAnimationEasingCurve(int curve)
设置内容控件的可见性改变时动画的样式 ~chinese curve 指定动画样式
DDrawer::setSeparatorVisible
void setSeparatorVisible(bool arg)
设置是否允许标题控件与内容控件之间的分割线 ~chinese arg 为 ture 则显示分割线,反之则反
DDrawer::setExpandedSeparatorVisible
void setExpandedSeparatorVisible(bool arg)
设置是否允许内容控件下的分割线 ~chinese arg 为 ture 则显示分割线,反之则反
DDrawer::sizeChanged
void sizeChanged(int s)
DDrawer::DDrawer
DDrawer(DDrawerPrivate &dd, int *parent)
DDrawer::resizeEvent
void resizeEvent(int *e) override