summaryrefslogtreecommitdiff
path: root/inputmethods/handwriting/qimpensetup.cpp
authorhash <hash>2002-09-29 18:47:40 (UTC)
committer hash <hash>2002-09-29 18:47:40 (UTC)
commitef6ab2eb7794f5c5b9faad1ed650424e39b8d011 (patch) (side-by-side diff)
tree90a03f5f49a4fbc576ce60aa5aee0448c711da2f /inputmethods/handwriting/qimpensetup.cpp
parent0d4b54af104dadbff57804e5e6f8ac309aa36fc4 (diff)
downloadopie-ef6ab2eb7794f5c5b9faad1ed650424e39b8d011.zip
opie-ef6ab2eb7794f5c5b9faad1ed650424e39b8d011.tar.gz
opie-ef6ab2eb7794f5c5b9faad1ed650424e39b8d011.tar.bz2
enabled profile selection which was already in there\!
Diffstat (limited to 'inputmethods/handwriting/qimpensetup.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/handwriting/qimpensetup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/inputmethods/handwriting/qimpensetup.cpp b/inputmethods/handwriting/qimpensetup.cpp
index a6ae3a8..2c06fbc 100644
--- a/inputmethods/handwriting/qimpensetup.cpp
+++ b/inputmethods/handwriting/qimpensetup.cpp
@@ -72,49 +72,49 @@ static const char * const right_xpm[] = {
" . ",
" .. ",
" ... ",
" .... ",
" ..... ",
" ...... ",
" ..... ",
" .... ",
" ... ",
" .. ",
" . ",
" ",
" "};
QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent,
const char *name, bool modal, int WFlags )
: QDialog( parent, name, modal, WFlags ), profileCombo(0), profile(p)
{
setCaption( tr("Setup Handwriting Input") );
QVBoxLayout *vb = new QVBoxLayout( this );
-#if 0
+#if 1
profileList.setAutoDelete( true );
QHBoxLayout *hb = new QHBoxLayout( vb );
hb->setMargin( 6 );
QLabel *l = new QLabel( tr("Character Profile:"), this );
hb->addWidget( l );
profileCombo = new QComboBox( this );
connect( profileCombo, SIGNAL(activated(const QString &)),
this, SLOT(selectProfile(const QString &)) );
hb->addWidget( profileCombo );
loadProfiles();
#else
profileList.append( profile );
#endif
QTabWidget *tw = new QTabWidget( this );
vb->addWidget( tw );
pref = new QIMPenPrefBase( this );
tw->addTab( pref, tr("Preferences") );
pref->inputStyle->setExclusive( TRUE );
style = profile->style() == QIMPenProfile::ToggleCases ? 1 : 0;
pref->inputStyle->setButton( style );