File: dwarningbutton.zh_CN.dox

package info (click to toggle)
dtkwidget 5.7.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 36,540 kB
  • sloc: cpp: 63,257; ansic: 132; python: 88; sh: 42; makefile: 13
file content (24 lines) | stat: -rw-r--r-- 777 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*!
@~chinese
@file dwarningbutton.h
@ingroup button
@class Dtk::Widget::DWarningButton
@brief 警告按钮控件
@details 
继承于 DPushButton 控件, 主要替换了文字和背景的颜色.
@note 通常在执行一些比较危险的动作时候, 给出的一个提醒标识, 但是并不强制阻止; 如: 某些小程序需要较高的权限才能够运行; 删除文件不可恢复等

@image html ../images/DWarningButton.png

@sa QPushButton

@fn DWarningButton::DWarningButton(QWidget *parent): DPushButton(parent)
@brief DWarningButton 的构造函数
@param[in] parent 父控件

@fn void DWarningButton::initStyleOption(QStyleOptionButton *option) const
@brief 初始化控件风格属性
@param[in] option 用于初始化本控件的具体基础风格属性

*/