- 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
dstyle_zh
Class::DStyle
暂无该属性
Detailed Description
DStyle 提供了一个修改风格的类 See also QCommonStyle()* *
- UnknownCommand DStyle::PixelMetric DStyle::PM_FocusBorderWidth * 控件焦点状态的边框宽度 * * UnknownCommand DStyle::PixelMetric DStyle::PM_FocusBorderSpacing * 控件内容和border之间的间隔 * * UnknownCommand DStyle::PixelMetric DStyle::PM_FrameRadius * 控件的圆角大小 * * UnknownCommand DStyle::PixelMetric DStyle::PM_ShadowRadius * 控件阴影效果的半径 * * UnknownCommand DStyle::PixelMetric DStyle::PM_ShadowHOffset * 阴影在水平方向的偏移 * * UnknownCommand DStyle::PixelMetric DStyle::PM_ShadowVOffset * 阴影在竖直方向的偏移 * * UnknownCommand DStyle::PixelMetric DStyle::PM_FrameMargins * 控件的margins区域,控件内容 = 控件大小 - FrameMargins * * UnknownCommand DStyle::PixelMetric DStyle::PM_IconButtonIconSize * 控件大小 * * UnknownCommand DStyle::PixelMetric DStyle::PM_TopLevelWindowRadius * 窗口的圆角大小 * * UnknownCommand DStyle::PixelMetric DStyle::PM_SwitchButtonHandleWidth * 控件开关的宽度 * * UnknownCommand DStyle::PixelMetric DStyle::PM_SwithcButtonHandleHeight * 控件开关的高度 * * UnknownCommand DStyle::PixelMetric DStyle::PM_FloatingWidgetRadius * (基类)的圆角半径:控件内容-Radius < 控件内容 < 控件显示大小 * * UnknownCommand DStyle::PixelMetric DStyle::PM_FloatingWidgetShadowRadius * (基类)的阴影Radius区域:控件内容 < 控件内容+阴影margins < 控件内容+阴影margins+阴影Radius = 控件显示大小 * * UnknownCommand DStyle::PixelMetric DStyle::PM_FloatingWidgetShadowMargins * (基类)阴影的宽度 = 控件显示大小 - 阴影Radius - 控件内容 * * UnknownCommand DStyle::PixelMetric DStyle::PM_FloatingWidgetShadowHOffset * (基类)的阴影水平偏移 * * UnknownCommand DStyle::PixelMetric DStyle::PM_ContentsMargins * (基类)内容的边距(一般只用于左右边距) * * UnknownCommand DStyle::PixelMetric DStyle::PM_ContentsSpacing * 内容的间距(可用于列表项中每一项的距离) * * UnknownCommand DStyle::PixelMetric DStyle::PM_ButtonMinimizedSize * 按钮控件的最小大小
See also DStyle::PixelMetricQStyle::PixelMetric* *
- UnknownCommand DStyle::StyleState DStyle::SS_NormalState * 正常状态 * * UnknownCommand DStyle::StyleState DStyle::SS_HoverState * 悬停状态 * * UnknownCommand DStyle::StyleState DStyle::SS_PressState * 按下状态 * *UnknownCommand DStyle::StyleState DStyle::SS_StateCustomBase * 自定义子元素的基值 * * UnknownCommand DStyle::StyleState DStyle::StyleState_Mask * 状态掩码 * * UnknownCommand DStyle::StyleState DStyle::SS_CheckedFlag * 选定标志 * * UnknownCommand DStyle::StyleState DStyle::SS_SelectedFlag * 选中状态 * * * UnknownCommand DStyle::StyleState DStyle::SS_FocusFlag * 焦点状态 * * UnknownCommand DStyle::StyleState DStyle::SS_FlagCustomBase * 自定义子元素的基值
See also DStyle::StyleState记录控件状态的值
DStyle::Q_DECLARE_FLAGS
int Q_DECLARE_FLAGS(int , DStyle::StyleState )
DStyle::adjustColor
int adjustColor(const int &, qint8 , qint8 , qint8 , qint8 , qint8 , qint8 , qint8 )
DStyle::adjustColor调整颜色 See also DGuiApplicationHelper::adjustColor()
DStyle::blendColor
int blendColor(const int &, const int &)
DStyle::blendColor混合颜色 See also DGuiApplicationHelper::blendColor()
DStyle::toIconModeState
int toIconModeState(const int *)
DStyle::toIconModeState 根据option中的QStyle::State返回图标应有 的模式和状态
DStyle::setTooltipTextFormat
void setTooltipTextFormat(int format)
DStyle::setTooltipTextFormat 设置 tooltip 文本格式 See also Qt::TextFormat
DStyle::tooltipTextFormat
int tooltipTextFormat()
DStyle::tooltipTextFormat 获取 tooltip 文本格式 See also Qt::TextFormat
DStyle::getState
DStyle::StyleState getState(const int *option)
DStyle::setFocusRectVisible
void setFocusRectVisible(int *widget, bool visible)
DStyle::setFrameRadius
void setFrameRadius(int *widget, int radius)
DStyle::DStyle
DStyle()
DStyle::drawPrimitive
void drawPrimitive(const int *style, int pe, const int *opt, int *p, const int *w)
DStyle::drawPrimitive QStyle::drawPrimitive()
DStyle::drawControl
void drawControl(const int *style, DStyle::ControlElement ce, const int *opt, int *p, const int *w)
DStyle::drawControl See also QStyle::drawControl()
DStyle::pixelMetric
int pixelMetric(const int *style, DStyle::PixelMetric m, const int *opt, const int *widget)
DStyle::pixelMetric See also QStyle::pixelMetric()
DStyle::subElementRect
int subElementRect(const int *, DStyle::SubElement , const int *, const int *)
DStyle::subElementRect See also QStyle::subElementRect()
DStyle::sizeFromContents
int sizeFromContents(const int *, DStyle::ContentsType , const int *, const int &, const int *)
DStyle::sizeFromContents See also QStyle::sizeFromContents()
DStyle::standardIcon
int standardIcon(const int *, int , const int *, const int *)
DStyle::standardIcon See also QStyle::standardIcon()
DStyle::drawPrimitive
void drawPrimitive(int pe, const int *opt, int *p, const int *w) const
DStyle::drawPrimitive See also QStyle::drawPrimitive()
DStyle::drawControl
void drawControl(DStyle::ControlElement ce, const int *opt, int *p, const int *w) const
DStyle::pixelMetric
int pixelMetric(DStyle::PixelMetric m, const int *opt, const int *widget) const
DStyle::subElementRect
int subElementRect(DStyle::SubElement , const int *, const int *) const
DStyle::sizeFromContents
int sizeFromContents(DStyle::ContentsType , const int *, const int &, const int *) const
DStyle::standardIcon
int standardIcon(int , const int *, const int *) const
DStyle::standardIcon sa QStyle::standardIcon()
DStyle::drawControl
void drawControl(int ce, const int *opt, int *p, const int *w) const override
DStyle::drawControl See also QStyle::drawControl()
DStyle::pixelMetric
int pixelMetric(int m, const int *opt, const int *widget) const override
DStyle::pixelMetric See also QStyle::pixelMetric()
DStyle::styleHint
int styleHint(int sh, const int *opt, const int *w, int *shret) const override
DStyle::styleHint See also QStyle::styleHint()
DStyle::subElementRect
int subElementRect(int , const int *, const int *) const override
DStyle::subElementRect See also QStyle::subElementRect()
DStyle::sizeFromContents
int sizeFromContents(int , const int *, const int &, const int *) const override
DStyle::sizeFromContents See also QStyle::sizeFromContents()
DStyle::standardPalette
int standardPalette() const override
DStyle::standardPalette 获取标准调色板 Returns 调色板
DStyle::generatedIconPixmap
int generatedIconPixmap(int , const int &, const int *) const override
DStyle::generatedBrush
int generatedBrush(const int *, const int &, int , int ) const
DStyle::generatedBrush获取一个加工后的画刷 sa option QStyleOption base 画刷 sa cg QPalette::ColorGroup sa type DPalette::ColorType Returns 加工后的画刷
DStyle::generatedBrush
int generatedBrush(DStyle::StyleState , const int *, const int &, int , int ) const
DStyle::generatedBrush获取一个加工后的画刷 sa state DStyle::StyleState sa option QStyleOption base 画刷 sa cg QPalette::ColorGroup sa type DPalette::ColorType Returns 加工后的画刷
DStyle::generatedBrush
int generatedBrush(int , const int &, int , int , const int *) const
DStyle::generatedBrush获取一个加工后的画刷 sa flags DStyle::StateFlags base画刷**sa cg QPalette::ColorGroup sa type DPalette::ColorType sa option QStyleOption() Returns 加工后的画刷