From 77736831bd44d6ca60ee573133cd72551d312dbc Mon Sep 17 00:00:00 2001 From: drw Date: Fri, 03 Jun 2005 18:31:12 +0000 Subject: Add config option to use smaller font for checkbook transaction tab - patch courtesy of hrw --- (limited to 'noncore/apps/checkbook/configuration.cpp') diff --git a/noncore/apps/checkbook/configuration.cpp b/noncore/apps/checkbook/configuration.cpp index 872d9b2..929c7c0 100644 --- a/noncore/apps/checkbook/configuration.cpp +++ b/noncore/apps/checkbook/configuration.cpp @@ -146,6 +146,11 @@ QWidget *Configuration::initSettings(Cfg &cfg) savePayees->setChecked( cfg.getSavePayees() ); layout->addMultiCellWidget( savePayees, 5, 5, 0, 1 ); + smallFontCB = new QCheckBox( tr( "Use smaller font for list" ), container ); + QWhatsThis::add( smallFontCB, tr( "Click here to select smaller font for transactions." ) ); + smallFontCB->setChecked( cfg.getUseSmallFont() ); + layout->addMultiCellWidget( smallFontCB, 6, 6, 0, 1 ); + return(control); } @@ -154,6 +159,7 @@ void Configuration::saveConfig(Cfg &cfg) { // Settings cfg.setCurrencySymbol( symbolEdit->text() ); + cfg.setUseSmallFont( smallFontCB->isChecked() ); cfg.setShowLocks( lockCB->isChecked() ); cfg.setShowBalances( balCB->isChecked() ); cfg.setOpenLastBook( openLastBookCB->isChecked() ); -- cgit v0.9.0.2