63 d(new
Private(filterManager, view))
83 if (node->inherits(
"KisMask")) {
89 KGuiItem::assign(
d->
uiFilterDialog.buttonBox->button(QDialogButtonBox::Ok), KStandardGuiItem::ok());
90 KGuiItem::assign(
d->
uiFilterDialog.buttonBox->button(QDialogButtonBox::Cancel), KStandardGuiItem::cancel());
101 KConfigGroup group( KSharedConfig::openConfig(),
"filterdialog");
102 d->
uiFilterDialog.checkBoxPreview->setChecked(group.readEntry(
"showPreview",
true));
108 if (d->currentFilter) {
109 d->uiFilterDialog.pushButtonCreateMaskEffect->setEnabled(!state && d->currentFilter->supportsAdjustmentLayers());
113 d->uiFilterDialog.chkFilterSelectedFrames->setToolTip(i18n(
"In addition to filtering the currently visible frame, \nfilter all other keyframe selected in the Animation Timeline docker."));
115 restoreGeometry(
KisConfig(
true).readEntry(
"filterdialog/geometry", QByteArray()));
116 connect(&d->updateCompressor, SIGNAL(timeout()),
this, SLOT(updatePreview()));