author | llornkcor <llornkcor> | 2002-06-26 12:36:16 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-26 12:36:16 (UTC) |
commit | 4b0e72bed1ead4e3c7af2209a11f34aa9209653c (patch) (unidiff) | |
tree | 2226ec05b90e27487504f38cb385b4b22816fb33 | |
parent | b72d90431bf1bf3235213612daad275836bcbb9f (diff) | |
download | opie-4b0e72bed1ead4e3c7af2209a11f34aa9209653c.zip opie-4b0e72bed1ead4e3c7af2209a11f34aa9209653c.tar.gz opie-4b0e72bed1ead4e3c7af2209a11f34aa9209653c.tar.bz2 |
fixed font dialog not showing maximized
-rw-r--r-- | core/apps/textedit/fontDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/apps/textedit/fontDialog.cpp b/core/apps/textedit/fontDialog.cpp index 681e8a6..5cdf538 100644 --- a/core/apps/textedit/fontDialog.cpp +++ b/core/apps/textedit/fontDialog.cpp | |||
@@ -61,25 +61,26 @@ FontDialog::FontDialog( QWidget * parent, const char* name , bool modal, WFlags | |||
61 | MultiLineEdit1 = new QMultiLineEdit( this, "MultiLineEdit1" ); | 61 | MultiLineEdit1 = new QMultiLineEdit( this, "MultiLineEdit1" ); |
62 | MultiLineEdit1->setGeometry( QRect( 5, 165, 215, 45 /* 6, 234, 222, 55*/ ) ); | 62 | MultiLineEdit1->setGeometry( QRect( 5, 165, 215, 45 /* 6, 234, 222, 55*/ ) ); |
63 | MultiLineEdit1->setText( tr( "The Quick Brown Fox Jumps Over The Lazy Dog" ) ); | 63 | MultiLineEdit1->setText( tr( "The Quick Brown Fox Jumps Over The Lazy Dog" ) ); |
64 | MultiLineEdit1->setWordWrap(QMultiLineEdit::WidgetWidth); | 64 | MultiLineEdit1->setWordWrap(QMultiLineEdit::WidgetWidth); |
65 | 65 | ||
66 | connect( familyListBox,SIGNAL( highlighted( const QString &)),SLOT( familyListBoxSlot(const QString &) )); | 66 | connect( familyListBox,SIGNAL( highlighted( const QString &)),SLOT( familyListBoxSlot(const QString &) )); |
67 | connect( styleListBox,SIGNAL( highlighted( const QString &)),SLOT( styleListBoxSlot(const QString &) )); | 67 | connect( styleListBox,SIGNAL( highlighted( const QString &)),SLOT( styleListBoxSlot(const QString &) )); |
68 | connect( sizeListBox,SIGNAL( highlighted( const QString &)),SLOT( sizeListBoxSlot(const QString &) )); | 68 | connect( sizeListBox,SIGNAL( highlighted( const QString &)),SLOT( sizeListBoxSlot(const QString &) )); |
69 | 69 | ||
70 | populateLists(); | 70 | populateLists(); |
71 | // MultiLineEdit1 | 71 | // MultiLineEdit1 |
72 | // connect(); | 72 | // connect(); |
73 | 73 | // move(5,15); | |
74 | showMaximized(); | ||
74 | } | 75 | } |
75 | 76 | ||
76 | FontDialog::~FontDialog() | 77 | FontDialog::~FontDialog() |
77 | { | 78 | { |
78 | } | 79 | } |
79 | 80 | ||
80 | void FontDialog::familyListBoxSlot(const QString & text) | 81 | void FontDialog::familyListBoxSlot(const QString & text) |
81 | { | 82 | { |
82 | int styleInt=styleListBox->currentItem(); | 83 | int styleInt=styleListBox->currentItem(); |
83 | int sizeInt=sizeListBox->currentItem(); | 84 | int sizeInt=sizeListBox->currentItem(); |
84 | 85 | ||
85 | styleListBox->clear(); | 86 | styleListBox->clear(); |