2026年6月22日 :大量更新
This commit is contained in:
+5
-4
@@ -12,10 +12,6 @@ FontSetWidget::FontSetWidget(QWidget *parent) :
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
if (sysPara == nullptr) {
|
||||
sysPara = SysPara::ins();
|
||||
}
|
||||
|
||||
lineSpaceEdit = ui->lineSpaceEdit;
|
||||
lineSpaceMinusBtn = ui->lineSpaceMinusBtn;
|
||||
lineSpacePlusBtn = ui->lineSpacePlusBtn;
|
||||
@@ -68,6 +64,11 @@ void FontSetWidget::bindTxTEdit(QTextEdit* textEdit){
|
||||
m_textEdit = textEdit;
|
||||
}
|
||||
|
||||
void FontSetWidget::bindSysPara(SysPara *sysPara)
|
||||
{
|
||||
this->sysPara = sysPara;
|
||||
}
|
||||
|
||||
void FontSetWidget::on_buttonSelectFont_pressed(){
|
||||
|
||||
// int fontSize;
|
||||
|
||||
Reference in New Issue
Block a user