DtkWidget
DTK Widget module
|
Public 成员函数 | |
void | registerWidget (QWidget *w) |
DWaterMarkHelper::registerWidget widget | |
WaterMarkData | data () const |
get the current setting | |
void | setData (const WaterMarkData &data) |
set the current setting data | |
静态 Public 成员函数 | |
static DWaterMarkHelper * | instance () |
DWaterMarkHelper::instance The singleton object of DWaterMarkHelper is instantiated at the first call using the Q _ GLOBAL _ STATIC definition. | |
Protected 成员函数 | |
DWaterMarkHelper (QObject *parent=nullptr) | |
WaterMarkData DWaterMarkHelper::data | ( | ) | const |
get the current setting
当前设置的水印信息
|
static |
DWaterMarkHelper::instance The singleton object of DWaterMarkHelper is instantiated at the first call using the Q _ GLOBAL _ STATIC definition.
DWaterMarkHelper 的单例对象,使用 Q_GLOBAL_STATIC 定义,在第一次调用时实例化。
void DWaterMarkHelper::registerWidget | ( | QWidget * | widget | ) |
void DWaterMarkHelper::setData | ( | const WaterMarkData & | data | ) |
set the current setting data
设置当前水印信息
[in] | data | 需要设置的水印信息 |