Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/widgets/kmymoneyreportconfigtabimpl.cpp
Context not available. | |||||
72 | ui->buttonGroup1->setId(ui->m_checkCategory, 7); | 72 | ui->buttonGroup1->setId(ui->m_checkCategory, 7); | ||
---|---|---|---|---|---|
73 | ui->buttonGroup1->setId(ui->m_checkAction, 8); | 73 | ui->buttonGroup1->setId(ui->m_checkAction, 8); | ||
74 | ui->buttonGroup1->setId(ui->m_checkBalance, 9); | 74 | ui->buttonGroup1->setId(ui->m_checkBalance, 9); | ||
75 | connect(ui->m_checkHideTransactions, SIGNAL(toggled(bool)), this, SLOT(slotHideTransactionsChanged(bool))); | ||||
76 | } | ||||
77 | | ||||
78 | void kMyMoneyReportConfigTab3Decl::slotHideTransactionsChanged(bool checked) | ||||
79 | { | ||||
80 | if (checked) // toggle m_checkHideSplitDetails only if it's mandatory | ||||
81 | ui->m_checkHideSplitDetails->setChecked(checked); | ||||
82 | ui->m_checkHideSplitDetails->setEnabled(!checked); // hiding transactions without hiding splits isn't allowed | ||||
75 | } | 83 | } | ||
76 | 84 | | |||
77 | kMyMoneyReportConfigTab3Decl::~kMyMoneyReportConfigTab3Decl() | 85 | kMyMoneyReportConfigTab3Decl::~kMyMoneyReportConfigTab3Decl() | ||
Context not available. |