|
|
|
@ -66,7 +66,7 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode,
|
|
|
|
|
sizesLayout->setSizePolicy(sizePolicy);
|
|
|
|
|
|
|
|
|
|
// create 'Icon Size' group including slider and preview
|
|
|
|
|
TQGroupBox* iconSizeGroup = new TQGroupBox(2, Qt::Vertical, i18n("Icon Size"), sizesLayout);
|
|
|
|
|
TQGroupBox* iconSizeGroup = new TQGroupBox(2, TQt::Vertical, i18n("Icon Size"), sizesLayout);
|
|
|
|
|
iconSizeGroup->setSizePolicy(sizePolicy);
|
|
|
|
|
iconSizeGroup->setMargin(margin);
|
|
|
|
|
|
|
|
|
@ -75,7 +75,7 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode,
|
|
|
|
|
TQHBox* iconSizeVBox = new TQHBox(iconSizeGroup);
|
|
|
|
|
iconSizeVBox->setSpacing(spacing);
|
|
|
|
|
new TQLabel(i18n("Small"), iconSizeVBox);
|
|
|
|
|
m_iconSizeSlider = new TQSlider(0, 5, 1, 0, Qt::Horizontal, iconSizeVBox);
|
|
|
|
|
m_iconSizeSlider = new TQSlider(0, 5, 1, 0, TQt::Horizontal, iconSizeVBox);
|
|
|
|
|
m_iconSizeSlider->setValue(sliderValue(settings->iconSize()));
|
|
|
|
|
m_iconSizeSlider->setTickmarks(TQSlider::Below);
|
|
|
|
|
connect(m_iconSizeSlider, TQT_SIGNAL(valueChanged(int)),
|
|
|
|
@ -90,14 +90,14 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode,
|
|
|
|
|
|
|
|
|
|
if (m_mode == DolphinIconsView::Previews) {
|
|
|
|
|
// create 'Preview Size' group including slider and preview
|
|
|
|
|
TQGroupBox* previewSizeGroup = new TQGroupBox(2, Qt::Vertical, i18n("Preview Size"), sizesLayout);
|
|
|
|
|
TQGroupBox* previewSizeGroup = new TQGroupBox(2, TQt::Vertical, i18n("Preview Size"), sizesLayout);
|
|
|
|
|
previewSizeGroup->setSizePolicy(sizePolicy);
|
|
|
|
|
previewSizeGroup->setMargin(margin);
|
|
|
|
|
|
|
|
|
|
TQHBox* previewSizeVBox = new TQHBox(previewSizeGroup);
|
|
|
|
|
previewSizeVBox->setSpacing(spacing);
|
|
|
|
|
new TQLabel(i18n("Small"), previewSizeVBox);
|
|
|
|
|
m_previewSizeSlider = new TQSlider(0, 5, 1, 0, Qt::Horizontal, previewSizeVBox);
|
|
|
|
|
m_previewSizeSlider = new TQSlider(0, 5, 1, 0, TQt::Horizontal, previewSizeVBox);
|
|
|
|
|
m_previewSizeSlider->setValue(sliderValue(settings->previewSize()));
|
|
|
|
|
m_previewSizeSlider->setTickmarks(TQSlider::Below);
|
|
|
|
|
connect(m_previewSizeSlider, TQT_SIGNAL(valueChanged(int)),
|
|
|
|
@ -112,7 +112,7 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode,
|
|
|
|
|
slotPreviewSizeChanged(m_previewSizeSlider->value());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TQGroupBox* textGroup = new TQGroupBox(2, Qt::Horizontal, i18n("Text"), this);
|
|
|
|
|
TQGroupBox* textGroup = new TQGroupBox(2, TQt::Horizontal, i18n("Text"), this);
|
|
|
|
|
textGroup->setSizePolicy(sizePolicy);
|
|
|
|
|
textGroup->setMargin(margin);
|
|
|
|
|
|
|
|
|
@ -134,7 +134,7 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode,
|
|
|
|
|
m_textWidthBox->insertItem(i18n("Medium"));
|
|
|
|
|
m_textWidthBox->insertItem(i18n("Large"));
|
|
|
|
|
|
|
|
|
|
TQGroupBox* gridGroup = new TQGroupBox(2, Qt::Horizontal, i18n("Grid"), this);
|
|
|
|
|
TQGroupBox* gridGroup = new TQGroupBox(2, TQt::Horizontal, i18n("Grid"), this);
|
|
|
|
|
gridGroup->setSizePolicy(sizePolicy);
|
|
|
|
|
gridGroup->setMargin(margin);
|
|
|
|
|
|
|
|
|
|