summaryrefslogtreecommitdiff
authorleseb <leseb>2002-04-15 09:01:23 (UTC)
committer leseb <leseb>2002-04-15 09:01:23 (UTC)
commitd126d607fe18c9253330692f9da53bb932941af5 (patch) (side-by-side diff)
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 @@
#include <qpushbutton.h>
ImportDialog::ImportDialog(QWidget* parent, const char* name)
: QDialog(parent, name, true)
{
setCaption(tr("Import"));
m_pFileSelector = new FileSelector("image/*", this, "fileselector");
connect(m_pFileSelector, SIGNAL(fileSelected(const DocLnk&)), this, SLOT(fileChanged()));
m_pFileSelector->setNewVisible(false);
m_pFileSelector->setCloseVisible(false);
m_pPreviewLabel = new QLabel(this);
m_pPreviewLabel->setFrameStyle(QFrame::Panel | QFrame::Sunken);
m_pPreviewLabel->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
m_pPreviewLabel->setFixedSize(114, 114);
- m_pPreviewLabel->setBackgroundMode(QWidget:: PaletteMid);
+ m_pPreviewLabel->setBackgroundMode(QWidget::PaletteMid);
m_pAutomaticPreviewCheckBox = new QCheckBox(tr("Automatic preview"), this);
m_pAutomaticPreviewCheckBox->setChecked(true);
QPushButton* previewPushButton = new QPushButton(tr("Preview"), this);
connect(previewPushButton, SIGNAL(clicked()), this, SLOT(preview()));
QVBoxLayout* mainLayout = new QVBoxLayout(this, 4, 4);
QHBoxLayout* previewLayout = new QHBoxLayout(4);
QVBoxLayout* previewSecondLayout = new QVBoxLayout(4);
previewSecondLayout->addWidget(m_pAutomaticPreviewCheckBox);
previewSecondLayout->addWidget(previewPushButton);
previewSecondLayout->addStretch();
previewLayout->addWidget(m_pPreviewLabel);