Changeset View
Changeset View
Standalone View
Standalone View
libs/widgets/kis_palette_view.cpp
Context not available. | |||||
30 | #include <KConfigGroup> | 30 | #include <KConfigGroup> | ||
---|---|---|---|---|---|
31 | #include <KSharedConfig> | 31 | #include <KSharedConfig> | ||
32 | #include <KLocalizedString> | 32 | #include <KLocalizedString> | ||
33 | | ||||
33 | #include <kis_icon_utils.h> | 34 | #include <kis_icon_utils.h> | ||
35 | | ||||
36 | #include <KisKineticScroller.h> | ||||
37 | | ||||
34 | #include <KoDialog.h> | 38 | #include <KoDialog.h> | ||
35 | #include <KoColorDisplayRendererInterface.h> | 39 | #include <KoColorDisplayRendererInterface.h> | ||
36 | 40 | | |||
Context not available. | |||||
81 | connect(horizontalHeader(), SIGNAL(sectionResized(int,int,int)), | 85 | connect(horizontalHeader(), SIGNAL(sectionResized(int,int,int)), | ||
82 | SLOT(slotHorizontalHeaderResized(int,int,int))); | 86 | SLOT(slotHorizontalHeaderResized(int,int,int))); | ||
83 | setAutoFillBackground(true); | 87 | setAutoFillBackground(true); | ||
88 | | ||||
89 | QScroller *scroller = KisKineticScroller::createPreconfiguredScroller(this); | ||||
90 | if (scroller) { | ||||
91 | connect(scroller, SIGNAL(stateChanged(QScroller::State)), | ||||
92 | this, SLOT(slotScrollerStateChanged(QScroller::State))); | ||||
93 | } | ||||
84 | } | 94 | } | ||
85 | 95 | | |||
86 | KisPaletteView::~KisPaletteView() | 96 | KisPaletteView::~KisPaletteView() | ||
Context not available. |