author | groucho <groucho> | 2003-05-07 09:01:39 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-05-07 09:01:39 (UTC) |
commit | 118d03d815a7615b9c53363218a7ac45b3f4c514 (patch) (side-by-side diff) | |
tree | 356953e2413cddcec0f35bd47bb6439767da7051 /noncore/apps/opie-reader/CAnnoEdit.h | |
parent | 00894537decf01c5a5cdc565b2740b5e67a2e90f (diff) | |
download | opie-118d03d815a7615b9c53363218a7ac45b3f4c514.zip opie-118d03d815a7615b9c53363218a7ac45b3f4c514.tar.gz opie-118d03d815a7615b9c53363218a7ac45b3f4c514.tar.bz2 |
Incorporated TimWs current source tree and make it compile
Diffstat (limited to 'noncore/apps/opie-reader/CAnnoEdit.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/CAnnoEdit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/CAnnoEdit.h b/noncore/apps/opie-reader/CAnnoEdit.h index 3cc9f78..f320061 100644 --- a/noncore/apps/opie-reader/CAnnoEdit.h +++ b/noncore/apps/opie-reader/CAnnoEdit.h @@ -29,12 +29,13 @@ class CAnnoEdit : public QWidget CAnnoEdit(QWidget *parent=0, const char *name=0, WFlags f = 0) : QWidget(parent, name, f) { QVBoxLayout* grid = new QVBoxLayout(this); m_name = new QLineEdit(this, "Name"); m_anno = new QMultiLineEdit(this, "Annotation"); + m_anno->setWordWrap(QMultiLineEdit::WidgetWidth); QPushButton* exitButton = new QPushButton("Okay", this); connect(exitButton, SIGNAL( released() ), this, SLOT( slotOkay() ) ); QPushButton* cancelButton = new QPushButton("Cancel", this); connect(cancelButton, SIGNAL( released() ), this, SLOT( slotCancel() ) ); QLabel *l = new QLabel("Text",this); grid->addWidget(l); |