- 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
dbackgroundgroup_zh
Class::DBackgroundGroup
暂无该属性
Detailed Description
DBackgroundGroup 提供了将布局控件改成圆角边框(将布局看成一个整体) Note: 示例代码
Note: QWidget w;
Note: QHBoxLayout* mainlayout = new QHBoxLayout(&w);
Note: mainlayout->addWidget(new QPushButton("btn"));
Note: QHBoxLayout *hlayout = new QHBoxLayout;
Note: DBackgroundGroup *group = new DBackgroundGroup (hlayout,&w);
Note: mainlayout->addWidget(group);
Note: hlayout->addWidget(new QFrame);
Note: hlayout->addWidget(new QFrame);
DBackgroundGroup::D_DECLARE_PRIVATE
int D_DECLARE_PRIVATE(DBackgroundGroup )
DBackgroundGroup::itemMargins
int itemMargins() const
DBackgroundGroup::itemMargins返回控件在布局内的边距 Returns 控件在布局内的边距
DBackgroundGroup::useWidgetBackground
bool useWidgetBackground() const
DBackgroundGroup::useWidgetBackground是否使用 QWidget 背景颜色 Returns See also setUseWidgetBackground()
DBackgroundGroup::setLayout
void setLayout(int *layout)
DBackgroundGroup::setLayout设置布局 layout布局
DBackgroundGroup::setItemSpacing
void setItemSpacing(int spacing)
设置布局内控件间的距离 spacing距离
DBackgroundGroup::setUseWidgetBackground
void setUseWidgetBackground(bool useWidgetBackground)
设置是否使用 QWidget 背景颜色 设置是否使用 QWidget 背景颜色,并发送 useWidgetBackgroundChanged 信号 useWidgetBackground是否使用 QWidget 背景颜色
DBackgroundGroup::paintEvent
void paintEvent(int *event) override
DBackgroundGroup::event
bool event(int *event) override