Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/colorsmudge/kis_overlay_mode_option.h
Context not available. | |||||
19 | #define _KIS_OVERLAYMODE_OPTION_H_ | 19 | #define _KIS_OVERLAYMODE_OPTION_H_ | ||
---|---|---|---|---|---|
20 | 20 | | |||
21 | #include <QLabel> | 21 | #include <QLabel> | ||
22 | 22 | #include <QLayout> | |||
23 | #include <kis_paintop_option.h> | 23 | #include <kis_paintop_option.h> | ||
24 | 24 | | |||
25 | #include <brushengine/kis_paintop_lod_limitations.h> | 25 | #include <brushengine/kis_paintop_lod_limitations.h> | ||
Context not available. | |||||
57 | { | 57 | { | ||
58 | public: | 58 | public: | ||
59 | KisOverlayModeOptionWidget() { | 59 | KisOverlayModeOptionWidget() { | ||
60 | | ||||
61 | QWidget* mainWidget = new QWidget(); | ||||
62 | | ||||
60 | QLabel* label = new QLabel( | 63 | QLabel* label = new QLabel( | ||
61 | i18n("Paints on the current layer\n\ | 64 | i18n("Paints on the current layer but uses all layers that are currently visible for smudge input.") | ||
62 | but uses all layers that are currently visible for smudge input\n\ | 65 | ); | ||
63 | NOTE: This mode is only able to work correctly with a fully opaque background") | 66 | label->setWordWrap(true); | ||
64 | ); | 67 | | ||
68 | QLabel* label2 = new QLabel( | ||||
69 | i18n("NOTE: This mode is only able to work correctly with a fully opaque background") | ||||
70 | ); | ||||
71 | label2->setWordWrap(true); | ||||
72 | | ||||
73 | QVBoxLayout* verticalLayout = new QVBoxLayout(); | ||||
74 | verticalLayout->addWidget(label); | ||||
75 | verticalLayout->addWidget(label2); | ||||
76 | | ||||
77 | verticalLayout->addStretch(1); // pushes things to the top | ||||
65 | 78 | | |||
66 | label->setAlignment(Qt::AlignVCenter | Qt::AlignHCenter); | 79 | mainWidget->setLayout(verticalLayout); | ||
67 | setConfigurationPage(label); | 80 | setConfigurationPage(mainWidget); | ||
68 | } | 81 | } | ||
69 | }; | 82 | }; | ||
70 | 83 | | |||
Context not available. |