Browse Source

thermostat: add bigger font for holiday dlg

master
rico rico 5 years ago
parent
commit
fceacd2f28
3 changed files with 11 additions and 0 deletions
  1. +9
    -0
      soft/thermostat/src/holiday_dlg.cpp
  2. +1
    -0
      soft/thermostat/src/mainwindow.cpp
  3. +1
    -0
      soft/thermostat/src/menu_dlg.cpp

+ 9
- 0
soft/thermostat/src/holiday_dlg.cpp View File

@ -36,6 +36,15 @@ HolidayDlg::HolidayDlg(QWidget *parent, Qt::WindowFlags f) :
QPushButton *ok_btn = new QPushButton(tr("Ok"), this);
QPushButton *cancel_btn = new QPushButton(tr("Cancel"), this);
QFont font = next_btn->font();
font.setPointSize(12);
font.setBold(true);
next_btn->setFont(font);
prev_btn->setFont(font);
ok_btn->setFont(font);
cancel_btn->setFont(font);
m_cal.setFont(font);
next_btn->setSizePolicy(*szPolicy);
prev_btn->setSizePolicy(*szPolicy);
ok_btn->setSizePolicy(*szPolicy);


+ 1
- 0
soft/thermostat/src/mainwindow.cpp View File

@ -71,6 +71,7 @@ MainWindow::MainWindow(QWidget *parent) :
QFont font = menu_btn->font();
font.setPointSize(12);
font.setBold(true);
menu_btn->setFont(font);
m_state_btn.setFont(font);


+ 1
- 0
soft/thermostat/src/menu_dlg.cpp View File

@ -50,6 +50,7 @@ MenuDlg::MenuDlg(QWidget *parent, Qt::WindowFlags f) :
QFont font = holiday_btn->font();
font.setPointSize(12);
font.setBold(true);
holiday_btn->setFont(font);
save_cfg_btn->setFont(font);
load_cfg_btn->setFont(font);


Loading…
Cancel
Save