author | zecke <zecke> | 2002-10-25 22:44:21 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-25 22:44:21 (UTC) |
commit | e8ec7351bc460984a3202804e23c351b0d5606bd (patch) (unidiff) | |
tree | 0cff4116b01fbda32f317620393b9d1fb8a9528d /core/pim/todo/otaskeditor.cpp | |
parent | b682e9d2276c10a5c26773c6797ba1ac176ea4cf (diff) | |
download | opie-e8ec7351bc460984a3202804e23c351b0d5606bd.zip opie-e8ec7351bc460984a3202804e23c351b0d5606bd.tar.gz opie-e8ec7351bc460984a3202804e23c351b0d5606bd.tar.bz2 |
widget width
Diffstat (limited to 'core/pim/todo/otaskeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/otaskeditor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/todo/otaskeditor.cpp b/core/pim/todo/otaskeditor.cpp index 1a68eb5..8b261de 100644 --- a/core/pim/todo/otaskeditor.cpp +++ b/core/pim/todo/otaskeditor.cpp | |||
@@ -52,24 +52,25 @@ void OTaskEditor::init() { | |||
52 | QVBoxLayout* lay = new QVBoxLayout(this); | 52 | QVBoxLayout* lay = new QVBoxLayout(this); |
53 | setCaption("Task Editor"); | 53 | setCaption("Task Editor"); |
54 | m_tab = new OTabWidget(this); | 54 | m_tab = new OTabWidget(this); |
55 | 55 | ||
56 | /* | 56 | /* |
57 | * Add the Widgets | 57 | * Add the Widgets |
58 | */ | 58 | */ |
59 | m_overView = new TaskEditorOverViewImpl(m_tab ); | 59 | m_overView = new TaskEditorOverViewImpl(m_tab ); |
60 | m_tab->addTab( m_overView, QString::null, tr("Overview") ); | 60 | m_tab->addTab( m_overView, QString::null, tr("Overview") ); |
61 | 61 | ||
62 | m_adv = new TaskEditorAdvanced( m_tab ); | 62 | m_adv = new TaskEditorAdvanced( m_tab ); |
63 | m_line = new QMultiLineEdit(m_adv ); | 63 | m_line = new QMultiLineEdit(m_adv ); |
64 | m_line->setWordWrap( QMultiLineEdit::WidgetWidth ); | ||
64 | QLabel* label = new QLabel(m_adv ); | 65 | QLabel* label = new QLabel(m_adv ); |
65 | label->setText( tr("Description") ); | 66 | label->setText( tr("Description") ); |
66 | ((QGridLayout*) m_adv->layout() )->addWidget( label,3, 0 ); | 67 | ((QGridLayout*) m_adv->layout() )->addWidget( label,3, 0 ); |
67 | ((QGridLayout*) m_adv->layout())->addWidget( m_line,4,0 ); | 68 | ((QGridLayout*) m_adv->layout())->addWidget( m_line,4,0 ); |
68 | m_tab->addTab( m_adv, QString::null, tr("Advanced") ); | 69 | m_tab->addTab( m_adv, QString::null, tr("Advanced") ); |
69 | 70 | ||
70 | m_alarm = new TaskEditorAlarms( m_tab ); | 71 | m_alarm = new TaskEditorAlarms( m_tab ); |
71 | m_tab->addTab( m_alarm, QString::null, tr("Alarms") ); | 72 | m_tab->addTab( m_alarm, QString::null, tr("Alarms") ); |
72 | 73 | ||
73 | m_remind = new TaskEditorAlarms( m_tab ); | 74 | m_remind = new TaskEditorAlarms( m_tab ); |
74 | m_tab->addTab( m_remind, QString::null, tr("Reminders") ); | 75 | m_tab->addTab( m_remind, QString::null, tr("Reminders") ); |
75 | 76 | ||