76
76
SetupSlideShow::SetupSlideShow(QWidget* parent)
77
: QWidget(parent), d(new SetupSlideShowPriv)
77
: QScrollArea(parent), d(new SetupSlideShowPriv)
79
QVBoxLayout *layout = new QVBoxLayout(this);
81
d->delayInput = new KIntNumInput(5, this);
79
QWidget *panel = new QWidget(viewport());
80
panel->setAutoFillBackground(false);
82
setWidgetResizable(true);
83
viewport()->setAutoFillBackground(false);
85
QVBoxLayout *layout = new QVBoxLayout(panel);
87
d->delayInput = new KIntNumInput(5, panel);
82
88
d->delayInput->setRange(1, 3600, 1);
83
89
d->delayInput->setSliderEnabled(true);
84
90
d->delayInput->setLabel(i18n("&Delay between images:"), Qt::AlignLeft | Qt::AlignTop);
85
91
d->delayInput->setWhatsThis(i18n("The delay, in seconds, between images."));
87
d->startWithCurrent = new QCheckBox(i18n("Start with current image"), this);
93
d->startWithCurrent = new QCheckBox(i18n("Start with current image"), panel);
88
94
d->startWithCurrent->setWhatsThis( i18n("If this option is enabled, the Slideshow will be started "
89
95
"with the current image selected in the images list."));
91
d->loopMode = new QCheckBox(i18n("Slideshow runs in a loop"), this);
97
d->loopMode = new QCheckBox(i18n("Slideshow runs in a loop"), panel);
92
98
d->loopMode->setWhatsThis( i18n("Run the slideshow in a loop."));
94
d->showName = new QCheckBox(i18n("Show image file name"), this);
100
d->showName = new QCheckBox(i18n("Show image file name"), panel);
95
101
d->showName->setWhatsThis( i18n("Show the image file name at the bottom of the screen."));
97
d->showDate = new QCheckBox(i18n("Show image creation date"), this);
103
d->showDate = new QCheckBox(i18n("Show image creation date"), panel);
98
104
d->showDate->setWhatsThis( i18n("Show the image creation time/date at the bottom of the screen."));
100
d->showApertureFocal = new QCheckBox(i18n("Show camera aperture and focal length"), this);
106
d->showApertureFocal = new QCheckBox(i18n("Show camera aperture and focal length"), panel);
101
107
d->showApertureFocal->setWhatsThis( i18n("Show the camera aperture and focal length at the bottom of the screen."));
103
d->showExpoSensitivity = new QCheckBox(i18n("Show camera exposure and sensitivity"), this);
109
d->showExpoSensitivity = new QCheckBox(i18n("Show camera exposure and sensitivity"), panel);
104
110
d->showExpoSensitivity->setWhatsThis( i18n("Show the camera exposure and sensitivity at the bottom of the screen."));
106
d->showMakeModel = new QCheckBox(i18n("Show camera make and model"), this);
112
d->showMakeModel = new QCheckBox(i18n("Show camera make and model"), panel);
107
113
d->showMakeModel->setWhatsThis( i18n("Show the camera make and model at the bottom of the screen."));
109
d->showComment = new QCheckBox(i18n("Show image caption"), this);
115
d->showComment = new QCheckBox(i18n("Show image caption"), panel);
110
116
d->showComment->setWhatsThis( i18n("Show the image caption at the bottom of the screen."));
112
d->showRating = new QCheckBox(i18n("Show image rating"), this);
118
d->showRating = new QCheckBox(i18n("Show image rating"), panel);
113
119
d->showRating->setWhatsThis( i18n("Show the digiKam image rating at the bottom of the screen."));
115
121
// Only digiKam support this feature, showFoto do not support digiKam database information.