summaryrefslogtreecommitdiff
authorandyq <andyq>2002-10-10 11:53:44 (UTC)
committer andyq <andyq>2002-10-10 11:53:44 (UTC)
commit4ecb48197df25b84ce0d1e6ec95e78c2fa6d0699 (patch) (side-by-side diff)
treee32369cb3acfb3e79f60d4c9f94adeaaaa3a4123
parentcb2b407e2f58a73447d706de7c374bf275a96992 (diff)
downloadopie-4ecb48197df25b84ce0d1e6ec95e78c2fa6d0699.zip
opie-4ecb48197df25b84ce0d1e6ec95e78c2fa6d0699.tar.gz
opie-4ecb48197df25b84ce0d1e6ec95e78c2fa6d0699.tar.bz2
Made output text box text slightly smalled so more output can be displayed
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/installdlgimpl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp
index 31be213..d4f751c 100644
--- a/noncore/settings/aqpkg/installdlgimpl.cpp
+++ b/noncore/settings/aqpkg/installdlgimpl.cpp
@@ -31,48 +31,52 @@
#include "destination.h"
#include "installdlgimpl.h"
#include "global.h"
InstallDlgImpl::InstallDlgImpl( vector<QString> &packageList, DataManager *dataManager, QWidget * parent, const char* name, bool modal, WFlags fl )
: InstallDlg( parent, name, modal, fl )
{
dataMgr = dataManager;
vector<Destination>::iterator dit;
QString defaultDest = "root";
#ifdef QWS
Config cfg( "aqpkg" );
cfg.setGroup( "settings" );
defaultDest = cfg.readEntry( "dest", "root" );
// Grab flags - Turn MAKE_LINKS on by default (if no flags found)
flags = cfg.readNumEntry( "installFlags", MAKE_LINKS );
#else
flags = 0;
#endif
// Output text is read only
output->setReadOnly( true );
+ QFont f( "helvetica" );
+ f.setPointSize( 10 );
+ output->setFont( f );
+
// setup destination data
int defIndex = 0;
int i;
for ( i = 0 , dit = dataMgr->getDestinationList().begin() ; dit != dataMgr->getDestinationList().end() ; ++dit, ++i )
{
destination->insertItem( dit->getDestinationName() );
if ( dit->getDestinationName() == defaultDest )
defIndex = i;
}
destination->setCurrentItem( defIndex );
vector<QString>::iterator it;
// setup package data
QString remove = "Remove\n";
QString install = "\nInstall\n";
QString upgrade = "\nUpgrade\n";
for ( it = packageList.begin() ; it != packageList.end() ; ++it )
{
QString name = *it;
if ( name.startsWith( "I" ) )
{
installList.push_back( name.mid(1) );