初步重构

This commit is contained in:
2026-07-23 17:06:07 +08:00
parent 4d4b7f5599
commit 4530cd3fbe
15 changed files with 187 additions and 187 deletions
+2 -2
View File
@@ -9,7 +9,7 @@
FrequentShower::FrequentShower(QWidget *parent) : QWidget(parent) {
setObjectName("设置频率值控件");
setFrequent(BackEnd::instance()->YsGetFreq());
set_frequent(BackEnd::instance()->YsGetFreq());
}
void FrequentShower::paintEvent(QPaintEvent *event) {
@@ -85,7 +85,7 @@ void FrequentShower::change(int num) {
}
}
void FrequentShower::setFrequent(quint64 frequent) {
void FrequentShower::set_frequent(quint64 frequent) {
QString strNumber = QString::number(frequent, 10);
int padding = 11 - strNumber.length();
if (padding > 0) {