|
|
|
@ -1373,10 +1373,10 @@ void XinePart::initActions()
|
|
|
|
|
KStdAction::zoomIn(TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomIn()), actionCollection(), "zoom_in");
|
|
|
|
|
KStdAction::zoomOut(TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOut()), actionCollection(), "zoom_out");
|
|
|
|
|
KStdAction::fitToPage(TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOff()), actionCollection(), "zoom_off");
|
|
|
|
|
new KAction(i18n("Zoom InQt::Horizontal"), NULL, CTRL|Key_H, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomInX()), actionCollection(), "zoom_in_x");
|
|
|
|
|
new KAction(i18n("Zoom OutQt::Horizontal"), NULL, CTRL|SHIFT|Key_H, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOutX()), actionCollection(), "zoom_out_x");
|
|
|
|
|
new KAction(i18n("Zoom InQt::Vertical"), NULL, CTRL|Key_V, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomInY()), actionCollection(), "zoom_in_y");
|
|
|
|
|
new KAction(i18n("Zoom OutQt::Vertical"), NULL, CTRL|SHIFT|Key_V, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOutY()), actionCollection(), "zoom_out_y");
|
|
|
|
|
new KAction(i18n("Zoom In Horizontal"), NULL, CTRL|Key_H, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomInX()), actionCollection(), "zoom_in_x");
|
|
|
|
|
new KAction(i18n("Zoom Out Horizontal"), NULL, CTRL|SHIFT|Key_H, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOutX()), actionCollection(), "zoom_out_x");
|
|
|
|
|
new KAction(i18n("Zoom In Vertical"), NULL, CTRL|Key_V, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomInY()), actionCollection(), "zoom_in_y");
|
|
|
|
|
new KAction(i18n("Zoom Out Vertical"), NULL, CTRL|SHIFT|Key_V, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOutY()), actionCollection(), "zoom_out_y");
|
|
|
|
|
new KAction(i18n("Deinterlace &Quality"), "blend", CTRL|Key_I, TQT_TQOBJECT(this), TQT_SLOT(slotDeinterlaceQuality()), actionCollection(), "video_deinterlace_quality");
|
|
|
|
|
new KAction(i18n("&Video Settings"), "configure", Key_V, TQT_TQOBJECT(this), TQT_SLOT(slotPictureSettings()), actionCollection(), "video_picture");
|
|
|
|
|
new KAction(i18n("&Equalizer"), NULL, Key_E, TQT_TQOBJECT(this), TQT_SLOT(slotEqualizer()), actionCollection(), "equalizer");
|
|
|
|
@ -1423,7 +1423,7 @@ void XinePart::initActions()
|
|
|
|
|
connect(m_xine, TQT_SIGNAL(signalSyncVolume()), TQT_TQOBJECT(this), TQT_SLOT(slotSyncVolume()));
|
|
|
|
|
new KWidgetAction(m_volume, i18n("Volume"), 0, 0, 0, actionCollection(), "audio_volume");
|
|
|
|
|
|
|
|
|
|
m_position = new PositionSlider(Qt::Horizontal);
|
|
|
|
|
m_position = new PositionSlider(Horizontal);
|
|
|
|
|
TQToolTip::add
|
|
|
|
|
(m_position, i18n("Position"));
|
|
|
|
|
m_position->setRange(0, 65535);
|
|
|
|
@ -2061,7 +2061,7 @@ void XinePart::zoomOff()
|
|
|
|
|
/********** volume slider ****************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VolumeSlider::VolumeSlider() : TQSlider(Qt::Horizontal, 0)
|
|
|
|
|
VolumeSlider::VolumeSlider() : TQSlider(Horizontal, 0)
|
|
|
|
|
{
|
|
|
|
|
installEventFilter(this);
|
|
|
|
|
}
|
|
|
|
@ -2092,8 +2092,8 @@ void VolumeSlider::wheelEvent(TQWheelEvent* e)
|
|
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
|
|
int range = maxValue() - minValue();
|
|
|
|
|
int pos = (orientation() ==Qt::Horizontal) ? e->pos().x() : e->pos().y();
|
|
|
|
|
int maxpos = (orientation() ==Qt::Horizontal) ? width() : height();
|
|
|
|
|
int pos = (orientation() == Horizontal) ? e->pos().x() : e->pos().y();
|
|
|
|
|
int maxpos = (orientation() == Horizontal) ? width() : height();
|
|
|
|
|
int value = pos * range / maxpos + minValue();
|
|
|
|
|
|
|
|
|
|
if (TQApplication::reverseLayout())
|
|
|
|
|