Mercurial > hg > syntilista
changeset 132:dc9fe580da42
Rename setCommonStyleSheet() to slSetCommonStyleSheet().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 23 Aug 2017 17:02:49 +0300 |
parents | 931bb422a356 |
children | df03ab8b6413 |
files | src/main.cpp |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.cpp Wed Aug 23 16:53:58 2017 +0300 +++ b/src/main.cpp Wed Aug 23 17:02:49 2017 +0300 @@ -186,7 +186,7 @@ } -void setCommonStyleSheet(QWidget *widget) +void slSetCommonStyleSheet(QWidget *widget) { // Clamp scale value if (setScale < 0.5f) @@ -311,7 +311,7 @@ ui->button_LogoImage->setPixmap(logoImage); ui->button_LogoImage->setAlignment(Qt::AlignCenter); - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); // Validator for amount input //ui->edit_Amount->setValidator(new QDoubleValidator(0, 1000, 2, this)); @@ -439,21 +439,21 @@ void SyntilistaMainWindow::changeUIZoomIn() { setScale += 0.1f; - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); } void SyntilistaMainWindow::changeUIZoomOut() { setScale -= 0.1f; - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); } void SyntilistaMainWindow::changeUIZoomReset() { setScale = 1.0f; - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); } @@ -516,7 +516,7 @@ ui->tableview_Latest->verticalHeader()->setVisible(false); ui->tableview_Latest->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch); - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); return; // Ugly } } @@ -528,7 +528,7 @@ ui->label_BalanceValue->setStyleSheet(NULL); ui->label_PersonName->setText("???"); ui->tableview_Latest->setModel(NULL); - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); } @@ -800,7 +800,7 @@ } QMessageBox dlg; - setCommonStyleSheet(&dlg); + slSetCommonStyleSheet(&dlg); dlg.setText(tr("Varmistus")); dlg.setInformativeText( tr("<br>Haluatko varmasti poistaa henkilön:<br>" @@ -1161,7 +1161,7 @@ { ui->setupUi(this); - setCommonStyleSheet(this); + slSetCommonStyleSheet(this); setModal(true); setAttribute(Qt::WA_DeleteOnClose); @@ -1591,7 +1591,7 @@ "</table>" )); -// setCommonStyleSheet(this); +// slSetCommonStyleSheet(this); setModal(true); setAttribute(Qt::WA_DeleteOnClose); show();