- 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
dguiapplicationhelper_zh
Class::DGuiApplicationHelper
暂无该属性
Detailed Description
~chinese ~chinese
DGuiApplicationHelper 应用程序的 GUI ,如主题、调色板等
DGuiApplicationHelper::D_DECLARE_PRIVATE
int D_DECLARE_PRIVATE(DGuiApplicationHelper )
typedef DGuiApplicationHelper::HelperCreator
DGuiApplicationHelper::registerInstanceCreator
void registerInstanceCreator(DGuiApplicationHelper::HelperCreator creator) ~chinese
DGuiApplicationHelper::registerInstanceCreator创建 DGuiApplicationHelper 对象 ~chinese creator 函数指针 ~chinese Note: 一定要先调用此函数,再使用
DGuiApplicationHelper::instance
DGuiApplicationHelper * instance() ~chinese
DGuiApplicationHelper::instance返回 DGuiApplicationHelper 对象 ~chinese Returns DGuiApplicationHelper 对象
DGuiApplicationHelper::~DGuiApplicationHelper
~DGuiApplicationHelper()
DGuiApplicationHelper::adjustColor
int adjustColor(const int &, int , int , int , int , int , int , int ) ~chinese
DGuiApplicationHelper::adjustColor 调整颜色 ~chinese Note: 取值范围均为 -100 ~ 100 ,当三原色参数为-100时,颜色为黑色,参数为100时,颜色为白色. ~chinese 以透明度( alphaFloat )为例,当参数为负数时基础色的 alphaFloat 值减少,现象偏向透明, 参数为正数alphaFloat 值增加,现象偏不透明 ~chinese base基础色 ~chinese hueFloat 色调 ~chinese saturationFloat 饱和度 ~chinese lightnessFloat 亮度 ~chinese redFloat 红色 ~chinese greenFloat 绿色 ~chinese blueFloat 蓝色 ~chinese alphaFloat Alpha通道(透明度) ~chinese Returns 经过调整的颜色
DGuiApplicationHelper::blendColor
int blendColor(const int &, const int &) ~chinese
DGuiApplicationHelper::blendColor 将两种颜色混合,合成新的颜色 ~chinese substrate底层颜色 ~chinese superstratum上层颜色 ~chinese Returns 混合颜色
DGuiApplicationHelper::standardPalette
DPalette standardPalette(int type) ~chinese
DGuiApplicationHelper::standardPalett 根据主题获取标准调色板 ~chinese type 主题枚举值 ~chinese Returns 调色板
DGuiApplicationHelper::generatePaletteColor
void generatePaletteColor(DPalette &base, int role, int type) ~chinese
DGuiApplicationHelper::generatePaletteColor 获取调色板颜色 ~chinese base调色板 ~chinese sa roleQPalette::ColorRole() ~chinese type主题枚举值
DGuiApplicationHelper::generatePaletteColor
void generatePaletteColor(DPalette &base, DPalette::ColorType role, int type) ~chinese
DGuiApplicationHelper::generatePaletteColor 获取调色板颜色 ~chinese base调色板 ~chinese role背景颜色 ~chinese type主题枚举值
DGuiApplicationHelper::generatePalette
void generatePalette(DPalette &base, int type) ~chinese
DGuiApplicationHelper::generatePalette 根据主题的枚举值获取调色板数据 ~chinese base调色板 ~chinese type主题的枚举值
DGuiApplicationHelper::fetchPalette
DPalette fetchPalette(const int *theme) ~chinese
DGuiApplicationHelper::fetchPalette取出主题的调色板 ~chinese theme主题信息 ~chinese Returns 调色板信息
DGuiApplicationHelper::setUseInactiveColorGroup
void setUseInactiveColorGroup(bool on) ~chinese
DGuiApplicationHelper::setUseInactiveColorGroup设置是否将调色板的颜色改为半透明模式 ~chinese 一般用在主窗口背景为透明、模糊的程序中 ~chinese on 是否开启
DGuiApplicationHelper::setColorCompositingEnabled
void setColorCompositingEnabled(bool on) ~chinese
DGuiApplicationHelper::setColorCompositingEnabled设置是否开启混合颜色 ~chinese on 是否开启
DGuiApplicationHelper::isXWindowPlatform
bool isXWindowPlatform()
DGuiApplicationHelper::systemTheme
int * systemTheme() const ~chinese
DGuiApplicationHelper::systemTheme返回系统主题 ~chinese Returns 系统主题
DGuiApplicationHelper::applicationTheme
int * applicationTheme() const ~chinese
DGuiApplicationHelper::applicationTheme返回应用主题对象 ~chinese Returns 应用主题
DGuiApplicationHelper::windowTheme
int * windowTheme(int *) const ~chinese
DGuiApplicationHelper::windowTheme返回 QWindow 主题对象 ~chinese windowQWindow 对象 ~chinese Returns QWindow主题
DGuiApplicationHelper::applicationPalette
DPalette applicationPalette() const ~chinese
DGuiApplicationHelper::applicationPalette返回应用程序调色板 ~chinese Returns 应用程序调色板
DGuiApplicationHelper::setApplicationPalette
void setApplicationPalette(const DPalette &palette) ~chinese
DGuiApplicationHelper::setApplicationPalette设置应用程序调色板 ~chinese palette调色板
DGuiApplicationHelper::windowPalette
DPalette windowPalette(int *window) const ~chinese
DGuiApplicationHelper::windowPalette ~chinese window ~chinese Returns 调色板
DGuiApplicationHelper::toColorType
int toColorType(const int &) ~chinese
DGuiApplicationHelper::toColorType获取颜色的明亮度,将其转换为主题类型的枚举值。 ~chinese 返回调色板背景颜色 ~chinese palette调色板 ~chinese Returns 主题类型的枚举值
DGuiApplicationHelper::themeType
int themeType() const ~chinese
DGuiApplicationHelper::themeType主题类型 ~chinese Dpalette::ColorType 针对某一个控件 ~chinese DGuiApplicationHelper::ColorType 针对整个程序 ~chinese Returns 主题类型的枚举值
DGuiApplicationHelper::paletteType
int paletteType() const ~chinese
DGuiApplicationHelper::paletteType ~chinese Returns 主题类型的枚举值 See also setPaletteType()
DGuiApplicationHelper::setSingleInstance
bool setSingleInstance(const int &key, DGuiApplicationHelper::SingleScope singleScope) ~chinese
DGuiApplicationHelper::setSingleInstance 设置 DGuiApplicationHelper 实例 ~chinese key 实例关键字 ~chinese singleScope 实例使用范围 ~chinese Returns 设置是否成功 ~chinese Note: 此处所用到DGuiApplicationHelperPrivate::waitTime默认值为3000ms,可通过 ~chinese
Note: DGuiApplicationHelper::setSingleInstanceInterval设置
DGuiApplicationHelper::setSingleInstanceInterval
void setSingleInstanceInterval(int interval) ~chinese
DGuiApplicationHelper::setSingelInstanceInterval设置从QLocalServer获取消息的等待时间, ~chinese
用于在重新创建 DGuiApplicationHelper 单例时,检测 DGuiApplicationHelper 单例是否存在且有响应 ~chinese interval等待时间,如 interval 为 -1 则没有超时一直等待,默认和 QLocalSocket 一致 3000ms ~chinese Note: 需要在 DGuiApplicationHelper::setSingleInstance 之前调用否则无效。
DGuiApplicationHelper::setPaletteType
void setPaletteType(int paletteType) ~chinese
设置调色板类型 ~chinese paletteType主题类型的枚举值
DGuiApplicationHelper::paletteTypeChanged
void paletteTypeChanged(int paletteType)
DGuiApplicationHelper::newProcessInstance
void newProcessInstance(int pid, const int &arguments)
DGuiApplicationHelper::DGuiApplicationHelper
DGuiApplicationHelper()
DGuiApplicationHelper::initialize
void initialize()
DGuiApplicationHelper::D_PRIVATE_SLOT
int D_PRIVATE_SLOT(void (bool) )