Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ else()
qsinglekeysequenceedit.h qsinglekeysequenceedit.cpp
${QM_FILES}


)

add_library(winutils
Expand Down
212 changes: 108 additions & 104 deletions OpenSpeedy_en_US.ts

Large diffs are not rendered by default.

212 changes: 108 additions & 104 deletions OpenSpeedy_zh_CN.ts

Large diffs are not rendered by default.

216 changes: 110 additions & 106 deletions OpenSpeedy_zh_TW.ts

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion aboutdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ AboutDialog::recreate()
{
layout()->invalidate();
layout()->activate();

adjustSize();
}
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ main(int argc, char* argv[])
parser.process(a);

MainWindow w;
w.resize(800, 768);
w.resize(1024, 768);

if (parser.isSet(minimizeOption))
{
Expand Down
10 changes: 10 additions & 0 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,20 @@ MainWindow::on_sliderCtrl_valueChanged(int value)
ui->sliderCtrl->setToolTip(QString(tr("%1倍")).arg(factor, 0, 'f'));
ui->sliderLabel->setText(QString(tr("✖️%1倍")).arg(factor, 0, 'f'));
}

ui->sliderInputSpinBox->setValue(factor);
m_settings->setValue(CONFIG_SLIDERVALUE_KEY, value);
m_settings->sync();
}

void
MainWindow::on_sliderInputSpinBox_editingFinished()
{
double factor = ui->sliderInputSpinBox->value();
ui->sliderInputSpinBox->clearFocus();
ui->sliderCtrl->setValue(sliderValue(factor));
}

void
MainWindow::on_processNameFilter_textChanged(const QString& text)
{
Expand Down
2 changes: 2 additions & 0 deletions mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ class MainWindow

void on_sliderCtrl_valueChanged(int value);

void on_sliderInputSpinBox_editingFinished();

void on_processNameFilter_textChanged(const QString& text);

void iconActivated(QSystemTrayIcon::ActivationReason reason);
Expand Down
Loading