summaryrefslogtreecommitdiff
authorzecke <zecke>2004-05-18 20:08:54 (UTC)
committer zecke <zecke>2004-05-18 20:08:54 (UTC)
commiteb5a5432d79083fdfefb7b9b0c0907abe8807a52 (patch) (unidiff)
tree5dcf20990b122339f63948d3975d1c25b71f8b81
parent8383a8c157825bc1a4c8a13aae7bd66874fe9094 (diff)
downloadopie-eb5a5432d79083fdfefb7b9b0c0907abe8807a52.zip
opie-eb5a5432d79083fdfefb7b9b0c0907abe8807a52.tar.gz
opie-eb5a5432d79083fdfefb7b9b0c0907abe8807a52.tar.bz2
Fix the layout of the KeyConfig Dialog.
The label with 'Default: %1' is now added as MultiCellWidget and now larger keys don't make the 'configure key' button go out of display dimnesion
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/okeyconfigwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/opieui/okeyconfigwidget.cpp b/libopie2/opieui/okeyconfigwidget.cpp
index 1991381..56f4746 100644
--- a/libopie2/opieui/okeyconfigwidget.cpp
+++ b/libopie2/opieui/okeyconfigwidget.cpp
@@ -171,28 +171,28 @@ void OKeyConfigWidget::initUi() {
171 gr->insert( rad, 11 ); 171 gr->insert( rad, 11 );
172 gridLay->addWidget( rad, 1, 1 ); 172 gridLay->addWidget( rad, 1, 1 );
173 m_def = rad; 173 m_def = rad;
174 174
175 rad = new QRadioButton( tr("C&ustom"), box ); 175 rad = new QRadioButton( tr("C&ustom"), box );
176 connect( rad, SIGNAL(clicked()), 176 connect( rad, SIGNAL(clicked()),
177 this, SLOT(slotCustomKey()) ); 177 this, SLOT(slotCustomKey()) );
178 gr->insert( rad, 12 ); 178 gr->insert( rad, 12 );
179 gridLay->addWidget( rad, 1, 2 ); 179 gridLay->addWidget( rad, 1, 2 );
180 m_cus = rad; 180 m_cus = rad;
181 181
182 m_btn = new QPushButton( tr("Configure Key"), box ); 182 m_btn = new QPushButton( tr("Configure Key"), box );
183 gridLay->addWidget( m_btn, 1, 4 ); 183 gridLay->addWidget( m_btn, 1, 3 );
184 184
185 m_lbl= new QLabel( tr( "Default: " ), box ); 185 m_lbl= new QLabel( tr( "Default: " ), box );
186 gridLay->addWidget( m_lbl, 2, 0 ); 186 gridLay->addMultiCellWidget( m_lbl, 2, 2, 0, 3 );
187 187
188 connect(m_btn, SIGNAL(clicked()), 188 connect(m_btn, SIGNAL(clicked()),
189 this, SLOT(slotConfigure())); 189 this, SLOT(slotConfigure()));
190 190
191 m_box = box; 191 m_box = box;
192} 192}
193 193
194/** 194/**
195 * Set the ChangeMode. 195 * Set the ChangeMode.
196 * You need to call this function prior to load 196 * You need to call this function prior to load
197 * If you call this function past load the behaviour is undefined 197 * If you call this function past load the behaviour is undefined
198 * But caling load again is safe 198 * But caling load again is safe