当前位置: 首页>>代码示例>>C++>>正文


C++ KisFilterConfiguration::setProperty方法代码示例

本文整理汇总了C++中KisFilterConfiguration::setProperty方法的典型用法代码示例。如果您正苦于以下问题:C++ KisFilterConfiguration::setProperty方法的具体用法?C++ KisFilterConfiguration::setProperty怎么用?C++ KisFilterConfiguration::setProperty使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在KisFilterConfiguration的用法示例。


在下文中一共展示了KisFilterConfiguration::setProperty方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: factoryConfiguration

KisFilterConfiguration* KisFilterColorToAlpha::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration("colortoalpha", 1);
    config->setProperty("targetcolor", QColor(255, 255, 255));
    config->setProperty("threshold", 0);
    return config;
}
开发者ID:KDE,项目名称:calligra-history,代码行数:7,代码来源:kis_color_to_alpha.cpp

示例2: factoryConfiguration

KisFilterConfiguration* KisCubismFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration(id().id(), 1);
    config->setProperty("tileSize", 10);
    config->setProperty("tileSaturation", 10);
    return config;
}
开发者ID:KDE,项目名称:calligra-history,代码行数:7,代码来源:kis_cubism_filter.cpp

示例3: factoryConfiguration

KisFilterConfiguration* KisOilPaintFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration("oilpaint", 1);
    config->setProperty("brushSize", 1);
    config->setProperty("smooth", 30);
    return config;
}
开发者ID:crayonink,项目名称:calligra-2,代码行数:7,代码来源:kis_oilpaint_filter.cpp

示例4: factoryConfiguration

KisFilterConfiguration* KisPixelizeFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration("pixelize", 1);
    config->setProperty("pixelWidth", 10);
    config->setProperty("pixelHeight", 10);
    return config;
}
开发者ID:abhishekmurthy,项目名称:Calligra,代码行数:7,代码来源:kis_pixelize_filter.cpp

示例5: configuration

KisPropertiesConfiguration* KisWdgColorToAlpha::configuration() const
{
    KisFilterConfiguration* config = new KisFilterConfiguration("colortoalpha", 1);
    config->setProperty("targetcolor", widget()->colorSelector->color());
    config->setProperty("threshold", widget()->intThreshold->value());
    return config;
}
开发者ID:KDE,项目名称:calligra-history,代码行数:7,代码来源:kis_wdg_color_to_alpha.cpp

示例6: factoryConfiguration

KisFilterConfiguration* KisMotionBlurFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration(id().id(), 1);
    config->setProperty("blurAngle", 0);
    config->setProperty("blurLength", 5);

    return config;
}
开发者ID:abhishekmurthy,项目名称:Calligra,代码行数:8,代码来源:kis_motion_blur_filter.cpp

示例7: factoryConfiguration

KisFilterConfiguration* KisRainDropsFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration("raindrops", 1);
    config->setProperty("dropsize", 80);
    config->setProperty("number", 80);
    config->setProperty("fishEyes", 30);
    return config;
}
开发者ID:KDE,项目名称:calligra-history,代码行数:8,代码来源:kis_raindrops_filter.cpp

示例8: factoryConfiguration

KisFilterConfiguration* KisUnsharpFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration(id().id(), 1);
    config->setProperty("halfSize", 5);
    config->setProperty("amount", 0.5);
    config->setProperty("threshold", 10);
    return config;
}
开发者ID:abhishekmurthy,项目名称:Calligra,代码行数:8,代码来源:kis_unsharp_filter.cpp

示例9: factoryConfiguration

KisFilterConfiguration* KisGaussianBlurFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration(id().id(), 1);
    config->setProperty("horizRadius", 5);
    config->setProperty("vertRadius", 5);
    config->setProperty("lockAspect", true);

    return config;
}
开发者ID:abhishekmurthy,项目名称:Calligra,代码行数:9,代码来源:kis_gaussian_blur_filter.cpp

示例10: configuration

KisPropertiesConfiguration* KisWdgUnsharp::configuration() const
{
    KisFilterConfiguration* config = new KisFilterConfiguration("unsharp", 1);
    config->setProperty("halfSize", widget()->doubleHalfSize->value());
    config->setProperty("amount", widget()->doubleAmount->value());
    config->setProperty("threshold", widget()->intThreshold->value());
    config->setProperty("lightnessOnly", widget()->chkLightnessOnly->isChecked());
    return config;
}
开发者ID:,项目名称:,代码行数:9,代码来源:

示例11: factoryConfiguration

KisFilterConfiguration* KisLensBlurFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration(id().id(), 1);
    config->setProperty("irisShape", "Pentagon (5)");
    config->setProperty("irisRadius", 5);
    config->setProperty("irisRotation", 0);

    return config;
}
开发者ID:abhishekmurthy,项目名称:Calligra,代码行数:9,代码来源:kis_lens_blur_filter.cpp

示例12: KisFilterConfiguration

KisPropertiesConfiguration * KisHSVConfigWidget::configuration() const
{
    KisFilterConfiguration* c = new KisFilterConfiguration(KisHSVAdjustmentFilter::id().id(), 0);
    c->setProperty("h", m_page->hue->value());
    c->setProperty("s", m_page->saturation->value());
    c->setProperty("v", m_page->value->value());
    c->setProperty("type", m_page->cmbType->currentIndex());
    c->setProperty("colorize", m_page->chkColorize->isChecked());
    return c;
}
开发者ID:abhishekmurthy,项目名称:Calligra,代码行数:10,代码来源:kis_hsv_adjustment_filter.cpp

示例13: factoryConfiguration

KisFilterConfiguration* KisHSVAdjustmentFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration(id().id(), 1);
    config->setProperty("h", 0);
    config->setProperty("s", 0);
    config->setProperty("v", 0);
    config->setProperty("type", 1);
    config->setProperty("colorize", false);
    return config;
}
开发者ID:abhishekmurthy,项目名称:Calligra,代码行数:10,代码来源:kis_hsv_adjustment_filter.cpp

示例14: factoryConfiguration

KisFilterConfiguration* KisBlurFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration(id().id(), 1);
    config->setProperty("halfWidth", 5);
    config->setProperty("halfHeight", 5);
    config->setProperty("rotate", 0);
    config->setProperty("strength", 0);
    config->setProperty("shape", 0);
    return config;
}
开发者ID:crayonink,项目名称:calligra-2,代码行数:10,代码来源:kis_blur_filter.cpp

示例15: factoryConfiguration

KisFilterConfiguration* KisRainDropsFilter::factoryConfiguration(const KisPaintDeviceSP) const
{
    KisFilterConfiguration* config = new KisFilterConfiguration("raindrops", 2);
    config->setProperty("dropsize", 80);
    config->setProperty("number", 80);
    config->setProperty("fishEyes", 30);
    config->setProperty("seed", QTime::currentTime().msec());


    return config;
}
开发者ID:IGLOU-EU,项目名称:krita,代码行数:11,代码来源:kis_raindrops_filter.cpp


注:本文中的KisFilterConfiguration::setProperty方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。