Changeset View
Changeset View
Standalone View
Standalone View
app/configdialog.cpp
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 47 | { | |||
---|---|---|---|---|---|
63 | pageItem->setIcon(QIcon::fromTheme("gwenview")); | 63 | pageItem->setIcon(QIcon::fromTheme("gwenview")); | ||
64 | connect(mGeneralConfigPage.kcfg_ViewBackgroundValue, SIGNAL(valueChanged(int)), SLOT(updateViewBackgroundFrame())); | 64 | connect(mGeneralConfigPage.kcfg_ViewBackgroundValue, SIGNAL(valueChanged(int)), SLOT(updateViewBackgroundFrame())); | ||
65 | 65 | | |||
66 | // Image View | 66 | // Image View | ||
67 | widget = setupPage(mImageViewConfigPage); | 67 | widget = setupPage(mImageViewConfigPage); | ||
68 | 68 | | |||
69 | mAlphaBackgroundModeGroup = new InvisibleButtonGroup(widget); | 69 | mAlphaBackgroundModeGroup = new InvisibleButtonGroup(widget); | ||
70 | mAlphaBackgroundModeGroup->setObjectName(QLatin1String("kcfg_AlphaBackgroundMode")); | 70 | mAlphaBackgroundModeGroup->setObjectName(QLatin1String("kcfg_AlphaBackgroundMode")); | ||
71 | mAlphaBackgroundModeGroup->addButton(mImageViewConfigPage.checkBoardRadioButton, int(RasterImageView::AlphaBackgroundCheckBoard)); | 71 | mAlphaBackgroundModeGroup->addButton(mImageViewConfigPage.checkBoardRadioButton, int(AbstractImageView::AlphaBackgroundCheckBoard)); | ||
72 | mAlphaBackgroundModeGroup->addButton(mImageViewConfigPage.solidColorRadioButton, int(RasterImageView::AlphaBackgroundSolid)); | 72 | mAlphaBackgroundModeGroup->addButton(mImageViewConfigPage.solidColorRadioButton, int(AbstractImageView::AlphaBackgroundSolid)); | ||
73 | 73 | | |||
74 | mWheelBehaviorGroup = new InvisibleButtonGroup(widget); | 74 | mWheelBehaviorGroup = new InvisibleButtonGroup(widget); | ||
75 | mWheelBehaviorGroup->setObjectName(QLatin1String("kcfg_MouseWheelBehavior")); | 75 | mWheelBehaviorGroup->setObjectName(QLatin1String("kcfg_MouseWheelBehavior")); | ||
76 | mWheelBehaviorGroup->addButton(mImageViewConfigPage.mouseWheelScrollRadioButton, int(MouseWheelBehavior::Scroll)); | 76 | mWheelBehaviorGroup->addButton(mImageViewConfigPage.mouseWheelScrollRadioButton, int(MouseWheelBehavior::Scroll)); | ||
77 | mWheelBehaviorGroup->addButton(mImageViewConfigPage.mouseWheelBrowseRadioButton, int(MouseWheelBehavior::Browse)); | 77 | mWheelBehaviorGroup->addButton(mImageViewConfigPage.mouseWheelBrowseRadioButton, int(MouseWheelBehavior::Browse)); | ||
78 | 78 | | |||
79 | mAnimationMethodGroup = new InvisibleButtonGroup(widget); | 79 | mAnimationMethodGroup = new InvisibleButtonGroup(widget); | ||
80 | mAnimationMethodGroup->setObjectName(QLatin1String("kcfg_AnimationMethod")); | 80 | mAnimationMethodGroup->setObjectName(QLatin1String("kcfg_AnimationMethod")); | ||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |