DAWorkbench 0.0.1
DAWorkbench API
载入中...
搜索中...
未找到
DA::DAFontEditPannelWidget类 参考
类 DA::DAFontEditPannelWidget 继承关系图:

信号

void currentFontChanged (const QFont &f)
 当前字体改变发射的信号
 
void currentFontColorChanged (const QColor &c)
 当前字体颜色改变发射的信号
 

Public 成员函数

 DAFontEditPannelWidget (QWidget *parent=nullptr)
 
QColor getCurrentFontColor () const
 设置当前字体颜色
 
void setCurrentFontColor (const QColor &c)
 获取当前字体颜色
 
void setCurrentFont (const QFont &f)
 设置当前字体
 
QFont getCurrentFont ()
 获取当前字体
 
void setFontWeight (int w)
 设置字体大小
 
int getFontWeight () const
 获取字体大小
 

成员函数说明

◆ currentFontChanged

void DA::DAFontEditPannelWidget::currentFontChanged ( const QFont &  f)
signal

当前字体改变发射的信号

参数
font

◆ currentFontColorChanged

void DA::DAFontEditPannelWidget::currentFontColorChanged ( const QColor &  c)
signal

当前字体颜色改变发射的信号

参数
c

◆ getCurrentFont()

QFont DA::DAFontEditPannelWidget::getCurrentFont ( )

获取当前字体

返回

◆ getCurrentFontColor()

QColor DA::DAFontEditPannelWidget::getCurrentFontColor ( ) const

设置当前字体颜色

返回

◆ getFontWeight()

int DA::DAFontEditPannelWidget::getFontWeight ( ) const

获取字体大小

返回

◆ setCurrentFont()

void DA::DAFontEditPannelWidget::setCurrentFont ( const QFont &  f)

设置当前字体

注解
此函数不发射信号
参数
f

◆ setCurrentFontColor()

void DA::DAFontEditPannelWidget::setCurrentFontColor ( const QColor &  c)

获取当前字体颜色

参数
c

◆ setFontWeight()

void DA::DAFontEditPannelWidget::setFontWeight ( int  w)

设置字体大小

参数
w

该类的文档由以下文件生成: