summaryrefslogtreecommitdiff
authorleseb <leseb>2002-04-15 09:01:23 (UTC)
committer leseb <leseb>2002-04-15 09:01:23 (UTC)
commitd126d607fe18c9253330692f9da53bb932941af5 (patch) (unidiff)
treec95bc89c3e39b3bdde1327d70210ffb871a05e99
parent6b54ff5560ca6cedfea7f9cdd353c97a27da7af7 (diff)
downloadopie-d126d607fe18c9253330692f9da53bb932941af5.zip
opie-d126d607fe18c9253330692f9da53bb932941af5.tar.gz
opie-d126d607fe18c9253330692f9da53bb932941af5.tar.bz2
*** empty log message ***
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/importdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/graphics/drawpad/importdialog.cpp b/noncore/graphics/drawpad/importdialog.cpp
index dc78bf3..645111e 100644
--- a/noncore/graphics/drawpad/importdialog.cpp
+++ b/noncore/graphics/drawpad/importdialog.cpp
@@ -23,33 +23,33 @@
23#include <qpushbutton.h> 23#include <qpushbutton.h>
24 24
25ImportDialog::ImportDialog(QWidget* parent, const char* name) 25ImportDialog::ImportDialog(QWidget* parent, const char* name)
26 : QDialog(parent, name, true) 26 : QDialog(parent, name, true)
27{ 27{
28 setCaption(tr("Import")); 28 setCaption(tr("Import"));
29 29
30 m_pFileSelector = new FileSelector("image/*", this, "fileselector"); 30 m_pFileSelector = new FileSelector("image/*", this, "fileselector");
31 connect(m_pFileSelector, SIGNAL(fileSelected(const DocLnk&)), this, SLOT(fileChanged())); 31 connect(m_pFileSelector, SIGNAL(fileSelected(const DocLnk&)), this, SLOT(fileChanged()));
32 m_pFileSelector->setNewVisible(false); 32 m_pFileSelector->setNewVisible(false);
33 m_pFileSelector->setCloseVisible(false); 33 m_pFileSelector->setCloseVisible(false);
34 34
35 m_pPreviewLabel = new QLabel(this); 35 m_pPreviewLabel = new QLabel(this);
36 m_pPreviewLabel->setFrameStyle(QFrame::Panel | QFrame::Sunken); 36 m_pPreviewLabel->setFrameStyle(QFrame::Panel | QFrame::Sunken);
37 m_pPreviewLabel->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); 37 m_pPreviewLabel->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
38 m_pPreviewLabel->setFixedSize(114, 114); 38 m_pPreviewLabel->setFixedSize(114, 114);
39 m_pPreviewLabel->setBackgroundMode(QWidget:: PaletteMid); 39 m_pPreviewLabel->setBackgroundMode(QWidget::PaletteMid);
40 40
41 m_pAutomaticPreviewCheckBox = new QCheckBox(tr("Automatic preview"), this); 41 m_pAutomaticPreviewCheckBox = new QCheckBox(tr("Automatic preview"), this);
42 m_pAutomaticPreviewCheckBox->setChecked(true); 42 m_pAutomaticPreviewCheckBox->setChecked(true);
43 43
44 QPushButton* previewPushButton = new QPushButton(tr("Preview"), this); 44 QPushButton* previewPushButton = new QPushButton(tr("Preview"), this);
45 connect(previewPushButton, SIGNAL(clicked()), this, SLOT(preview())); 45 connect(previewPushButton, SIGNAL(clicked()), this, SLOT(preview()));
46 46
47 QVBoxLayout* mainLayout = new QVBoxLayout(this, 4, 4); 47 QVBoxLayout* mainLayout = new QVBoxLayout(this, 4, 4);
48 QHBoxLayout* previewLayout = new QHBoxLayout(4); 48 QHBoxLayout* previewLayout = new QHBoxLayout(4);
49 QVBoxLayout* previewSecondLayout = new QVBoxLayout(4); 49 QVBoxLayout* previewSecondLayout = new QVBoxLayout(4);
50 50
51 previewSecondLayout->addWidget(m_pAutomaticPreviewCheckBox); 51 previewSecondLayout->addWidget(m_pAutomaticPreviewCheckBox);
52 previewSecondLayout->addWidget(previewPushButton); 52 previewSecondLayout->addWidget(previewPushButton);
53 previewSecondLayout->addStretch(); 53 previewSecondLayout->addStretch();
54 54
55 previewLayout->addWidget(m_pPreviewLabel); 55 previewLayout->addWidget(m_pPreviewLabel);