|
|
@ -83,9 +83,9 @@ EditProgDlg::EditProgDlg(struct Program &p, QWidget *parent, Qt::WindowFlags f) |
|
|
|
m_dow_btn[i]->setProperty("idx", i); |
|
|
|
set_font(m_dow_btn[i]); |
|
|
|
m_dow_btn[i]->setSizePolicy(*szPolicy); |
|
|
|
m_dow_btn[i]->setChecked(true); |
|
|
|
m_dow_btn[i]->setCheckable(true); |
|
|
|
if (p.DoW & (1 << i)) |
|
|
|
m_dow_btn[i]->setDown(true); |
|
|
|
m_dow_btn[i]->setChecked(true); |
|
|
|
dowLayout->addWidget(m_dow_btn[i], 0, Qt::AlignHCenter); |
|
|
|
} |
|
|
|
|
|
|
|