|
|
@ -311,7 +311,7 @@ ImageView::ImageView(TQWidget* parent,Document* document, TDEActionCollection* a
|
|
|
|
d->mContrast = 100;
|
|
|
|
d->mContrast = 100;
|
|
|
|
d->mBCGDialog = 0;
|
|
|
|
d->mBCGDialog = 0;
|
|
|
|
|
|
|
|
|
|
|
|
viewport()->setFocusPolicy(TQ_WheelFocus);
|
|
|
|
viewport()->setFocusPolicy(TQWidget::WheelFocus);
|
|
|
|
setFrameStyle(NoFrame);
|
|
|
|
setFrameStyle(NoFrame);
|
|
|
|
setAcceptDrops( true );
|
|
|
|
setAcceptDrops( true );
|
|
|
|
viewport()->setAcceptDrops( true );
|
|
|
|
viewport()->setAcceptDrops( true );
|
|
|
@ -348,7 +348,7 @@ ImageView::ImageView(TQWidget* parent,Document* document, TDEActionCollection* a
|
|
|
|
|
|
|
|
|
|
|
|
d->mZoomCombo=new TQComboBox(true);
|
|
|
|
d->mZoomCombo=new TQComboBox(true);
|
|
|
|
// Avoid stealing focus
|
|
|
|
// Avoid stealing focus
|
|
|
|
d->mZoomCombo->setFocusPolicy(TQ_ClickFocus);
|
|
|
|
d->mZoomCombo->setFocusPolicy(TQWidget::ClickFocus);
|
|
|
|
connect(d->mZoomCombo, TQT_SIGNAL(activated(int)),
|
|
|
|
connect(d->mZoomCombo, TQT_SIGNAL(activated(int)),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotSelectZoom()) );
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotSelectZoom()) );
|
|
|
|
|
|
|
|
|
|
|
|