MainWindow 0 0 1126 795 MainWindow true 0 0 500 500 background-color : white; 510 0 610 710 10 140 590 560 4 0 0 440 150 Set Coordinates 10 30 158 20 X Coordinate, First Point 10 80 157 20 Y Coordinate, First Point 240 30 180 20 X Coordinate, Second Point 240 80 179 20 Y Coordinate, Second Point 10 50 113 28 10 10 10 100 113 28 10 10 240 50 113 28 90 90 240 100 113 28 90 90 450 0 130 150 Continue Shading 20 50 93 26 Forward false 20 100 93 26 Backward 450 0 130 150 Continue Shading 20 50 93 26 Forward 20 100 93 26 Backward 0 0 440 150 Set Coordinates Of Circle Centers 20 30 168 20 X Coordinate, First Center 20 80 167 20 Y Coordinate, First Center 230 30 190 20 X Coordinate, Second Center 230 80 189 20 Y Coordinate, Second Center 20 50 113 28 50 50 20 100 113 28 50 50 230 50 113 28 50 50 230 100 113 28 50 50 0 150 440 100 Set Radius Of Circle 20 30 75 20 First Radius 230 30 97 20 Second Radius 20 50 113 28 10 10 230 50 113 28 30 30 0 0 590 140 Set Coordinates Of Triangle Vertices 10 30 168 20 X Coordinate, First Vertex 10 80 167 20 Y Coordinate, First Vertex 200 30 188 20 X Coordinate, Second Vertex 200 80 187 20 Y Coordinate, Second Vertex 410 30 173 20 X Coordinate, Third Vertex 410 80 173 20 Y Coordinate, Third Vertex 10 50 113 28 50 50 10 100 113 28 20 20 200 50 113 28 20 20 200 100 113 28 70 70 410 50 113 28 80 80 410 100 113 28 70 70 20 0 130 140 First Vertex 10 30 87 20 X Coordinate 10 50 113 28 20 20 10 80 86 20 Y Coordinate 10 100 113 28 60 60 200 0 370 140 First Edge 10 30 118 20 First X Coordinate 210 30 140 20 Second X Coordinate 10 80 117 20 First Y Coordinate 210 80 139 20 Second Y Coordinate 10 50 113 28 10 10 10 100 113 28 50 50 210 50 113 28 30 30 210 100 113 28 30 30 20 140 130 140 Second Vertex 10 30 87 20 X Coordinate 10 80 86 20 Y Coordinate 10 50 113 28 20 20 10 100 113 28 20 20 200 140 370 140 Second Edge 10 30 118 20 First X Coordinate 210 30 140 20 Second X Coordinate 10 80 117 20 First Y Coordinate 210 80 140 20 Second Y Coordinate 10 50 113 28 30 30 10 100 113 28 10 10 210 50 113 28 50 50 210 100 113 28 30 30 20 280 130 140 Third Vertex 10 30 87 20 X Coordinate 10 80 86 20 Y Coordinate 10 50 113 28 60 60 10 100 113 28 20 20 200 280 370 140 Third Edge 10 30 118 20 First X Coordinate 220 30 140 20 Second X Coordinate 10 80 117 20 First Y Coordinate 220 80 140 20 Second Y Coordinate 10 50 113 28 50 50 10 100 113 28 30 30 220 50 113 28 70 70 220 100 113 28 50 50 20 420 130 140 Fourth Vertex 10 30 87 20 X Coordinate 10 80 86 20 Y Coordinate 10 50 113 28 60 60 10 100 113 28 60 60 200 420 370 140 Fourth Edge 10 30 118 20 First X Coordinate 220 30 140 20 Second X Coordinate 10 80 117 20 First Y Coordinate 220 80 140 20 Second Y Coordinate 10 50 113 28 50 50 10 100 113 28 70 70 220 50 113 28 30 30 220 100 113 28 50 50 0 0 590 140 Set Coordinates Of First Curved Edge 10 30 118 20 First X Coordinate 10 80 117 20 First Y Coordinate 140 30 140 20 Second X Coordinate 140 80 139 20 Second Y Coordinate 300 30 125 20 Third X Coordinate 300 80 124 20 Third Y Coordinate 450 30 133 20 Fourth X Coordinate 450 80 128 20 Fourth Y Coorfinate 10 50 113 28 20 20 10 100 113 28 60 60 140 50 113 28 30 30 140 100 113 28 50 50 300 50 113 28 10 10 300 100 113 28 30 30 450 50 113 28 20 20 450 100 113 28 20 20 0 140 590 140 Set Coordinates Of Second Curved Edge 10 30 118 20 First X Coordinate 10 80 117 20 First Y Coordinate 140 30 140 20 Second X Coordinate 140 80 139 20 Second Y Coordinate 300 30 125 20 Third X Coordinate 300 80 124 20 Third Y Coordinate 450 30 133 20 Fourth X Coordinate 450 80 128 20 Fourth Y Coorfinate 10 50 113 28 30 30 10 100 113 28 50 50 140 50 113 28 34 34 140 100 113 28 46 46 300 50 113 28 34 34 300 100 113 28 34 34 450 50 113 28 10 10 450 100 113 28 30 30 0 280 590 140 Set Coordinates Of Third Curved Edge 10 30 118 20 First X Coordinate 10 80 117 20 First Y Coordinate 140 30 140 20 Second X Coordinate 140 80 139 20 Second Y Coordinate 300 30 125 20 Third X Coordinate 300 80 124 20 Third Y Coordinate 450 30 133 20 Fourth X Coordinate 450 80 128 20 Fourth Y Coorfinate 10 50 113 28 70 70 10 100 113 28 50 50 140 50 113 28 46 46 140 100 113 28 46 46 300 50 113 28 46 46 300 100 113 28 34 34 450 50 113 28 30 30 450 100 113 28 50 50 0 420 590 140 Set Coordinates Of Fourth Curved Edge 10 30 118 20 First X Coordinate 10 80 117 20 First Y Coordinate 140 30 140 20 Second X Coordinate 140 80 139 20 Second Y Coordinate 300 30 125 20 Third X Coordinate 300 80 124 20 Third Y Coordinate 450 30 133 20 Fourth X Coordinate 450 80 128 20 Fourth Y Coorfinate 10 50 113 28 60 60 10 100 113 28 60 60 140 50 113 28 50 50 140 100 113 28 50 50 300 50 113 28 70 70 300 100 113 28 30 30 450 50 113 28 60 60 450 100 113 28 20 20 370 40 117 29 Render Gradient 10 10 221 130 2 10 10 201 120 Choose gradient colorspace 20 30 112 26 Rainbow true 20 50 161 26 Black and White 20 70 131 26 Red and Blue 20 90 112 26 Pastel 20 20 171 81 Set colors in angles 10 40 30 20 50 40 30 20 90 40 30 20 130 40 30 20 10 20 201 101 Set alphas and fill color 70 70 30 20 20 30 31 28 0 0 60 30 31 28 150 150 100 30 31 28 150 150 140 30 31 28 255 255 20 70 49 16 Fill color 10 510 490 190 5 20 10 415 20 A linear gradient describes a color change along a straight line Qt::AutoText 20 30 415 20 that is defined by two points. Qt::AutoText 10 10 319 20 Radial gradient describes the color change from 10 30 335 20 the center to the edges, it is defined by two circles, 10 50 281 20 which are defined by the center and radius 0 10 472 20 Triangle gradient describes the color change between the three vertices 0 30 482 20 of a triangle. The color change occurs according to the principle of linear 0 50 467 20 gradient along the perpendiculars from the triangle vertex to the point 0 70 230 20 where the perpendiculars intersect. 10 10 469 20 A parametric gradient differs in that the colors at the corners are set by 10 30 271 20 the initial parameters (value from 0 to 1). 10 50 470 130 Set Parametrs 10 30 135 20 First Vertex Parametr 270 30 157 20 Second Vertex Parametr 10 80 157 20 Third Vertex Parametr 10 50 113 28 0 0 270 50 113 28 0.5 0.5 10 100 113 28 1 1 10 10 461 20 Coons Patch gradient describes the color change on the surface of the 10 30 456 20 Coons Patch on the plane. In mathematics, a Coons patch, is a type of 10 50 418 20 surface patch used in computer graphics to smoothly join other 10 70 117 20 surfaces together. 10 130 162 20 Note on set coordinates: 10 150 459 20 The vertices are counted clockwise. 10 170 457 20 The edges are counted clockwise starting from the edge between the 10 190 152 20 first and second vertex. 10 10 469 20 A parametric gradient differs in that the colors at the corners are set by 10 30 271 20 the initial parameters (value from 0 to 1). 10 50 470 130 Set Parametrs 10 30 135 20 First Vertex Parametr 270 30 157 20 Second Vertex Parametr 10 80 157 20 Third Vertex Parametr 270 80 157 20 Fourth Vertex Parametr 10 50 113 28 0 0 270 50 113 28 0.3 0.3 10 100 113 28 1 1 270 100 113 28 0.6 1 10 10 435 20 Tensor Coons Patch gradient describes the color change as well as 10 30 279 20 Coons Patch gradient, but in tensor space. 10 130 162 20 Note on set coordinates: 10 150 222 20 The curves are counted clockwise. 10 10 469 20 A parametric gradient differs in that the colors at the corners are set by 10 30 271 20 the initial parameters (value from 0 to 1). 10 50 470 130 Set Parametrs 10 30 135 20 First Vertex Parametr 270 30 157 20 Second Vertex Parametr 10 80 157 20 Third Vertex Parametr 270 80 157 20 Fourth Vertex Parametr 10 50 113 28 0 0 270 50 113 28 0.3 0.3 10 100 113 28 1 1 270 100 113 28 0.6 0.6 0 0 1126 21 toolBar TopToolBarArea false Linear Radial Triangle QAction::TextHeuristicRole Triangle Parametric QAction::TextHeuristicRole Coons Patch QAction::TextHeuristicRole Coons Patch Parametric QAction::TextHeuristicRole Tensor Coons Patch QAction::TextHeuristicRole Tensor Coons Patch Parametric QAction::TextHeuristicRole Luminocity Gradient TensorPatchLuminosity QAction::TextHeuristicRole CustomLineEdit QLineEdit
mainwindow.h
CustomLabel QLabel
mainwindow.h
CustomParametrLineEdit QLineEdit
mainwindow.h
CustomColorLabel QLabel
mainwindow.h
onMouseClicked()
CustomAlphaLineEdit QLineEdit
mainwindow.h
on_button_Push()