MainWindow 0 0 1126 795 MainWindow true 0 0 500 500 510 0 610 710 10 140 590 560 3 0 0 440 150 Set Coordinates 10 30 158 20 X Coordinate, First Point 10 50 113 28 10 10 10 80 157 20 Y Coordinate, First Point 10 100 113 28 10 10 240 30 180 20 X Coordinate, Second Point 240 50 113 28 90 90 240 80 179 20 Y Coordinate, Second Point 240 100 113 28 90 90 450 0 130 150 Continue Shading 20 50 93 26 Forward 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 50 113 28 50 50 20 80 167 20 Y Coordinate, First Center 20 100 113 28 50 50 230 30 190 20 X Coordinate, Second Center 230 50 113 28 50 50 230 80 189 20 Y Coordinate, Second Center 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 50 113 28 50 50 10 80 167 20 Y Coordinate, First Vertex 10 100 113 28 20 20 200 30 188 20 X Coordinate, Second Vertex 200 50 113 28 20 20 200 80 187 20 Y Coordinate, Second Vertex 200 100 113 28 70 70 410 30 173 20 X Coordinate, Third Vertex 410 50 113 28 80 80 410 80 173 20 Y Coordinate, Third Vertex 410 100 113 28 70 70 0 0 590 140 Set Coordinates Of Square Vertices 10 30 118 20 First X Coordinate 10 50 113 28 20 20 10 80 117 20 First Y Coordinate 10 100 113 28 60 60 140 30 140 20 Second X Coordinate 140 50 113 28 20 20 140 80 139 20 Second Y Coordinate 140 100 113 28 20 20 300 30 125 20 Third X Coordinate 300 50 113 28 60 60 300 80 124 20 Third Y Coordinate 300 100 113 28 20 20 450 30 133 20 Fourth X Coordinate 450 50 113 28 60 60 450 80 128 20 Fourth Y Coorfinate 450 100 113 28 60 60 0 140 590 320 Set Curvature Coordinates Of Square Edges 10 30 280 140 First Edge 10 30 118 20 First X Coordinate 10 50 113 28 10 10 140 30 140 20 Second X Coordinate 140 50 113 28 30 30 10 80 117 20 First Y Coordinate 10 100 113 28 50 50 140 80 139 20 Second Y Coordinate 140 100 113 28 30 30 300 30 280 140 Second Edge 10 30 118 20 First X Coordinate 10 50 113 28 30 30 140 30 140 20 Second X Coordinate 140 50 113 28 50 50 10 80 117 20 First Y Coordinate 10 100 113 28 10 10 140 80 140 20 Second Y Coordinate 140 100 113 28 30 30 10 170 280 140 Third Edge 10 30 118 20 First X Coordinate 10 50 113 28 50 50 140 30 140 20 Second X Coordinate 140 50 113 28 70 70 10 80 117 20 First Y Coordinate 10 100 113 28 30 30 140 80 140 20 Second Y Coordinate 140 100 113 28 50 50 300 170 280 140 Fourth Edge 10 30 118 20 First X Coordinate 10 50 113 28 50 50 140 30 140 20 Second X Coordinate 140 50 113 28 30 30 10 80 117 20 First Y Coordinate 10 100 113 28 70 70 140 80 140 20 Second Y Coordinate 140 100 113 28 50 50 0 0 590 140 Set Coordinates Of First Curved Edge 10 30 118 20 First X Coordinate 10 50 113 28 20 20 10 80 117 20 First Y Coordinate 10 100 113 28 60 60 140 30 140 20 Second X Coordinate 140 50 113 28 30 30 140 80 139 20 Second Y Coordinate 140 100 113 28 50 50 300 30 125 20 Third X Coordinate 300 50 113 28 10 10 300 80 124 20 Third Y Coordinate 300 100 113 28 30 30 450 30 133 20 Fourth X Coordinate 450 50 113 28 20 20 450 80 128 20 Fourth Y Coorfinate 450 100 113 28 20 20 0 140 590 140 Set Coordinates Of Second Curved Edge 10 30 118 20 First X Coordinate 10 50 113 28 30 30 10 80 117 20 First Y Coordinate 10 100 113 28 50 50 140 30 140 20 Second X Coordinate 140 50 113 28 34 34 140 80 139 20 Second Y Coordinate 140 100 113 28 46 46 300 30 125 20 Third X Coordinate 300 50 113 28 34 34 300 80 124 20 Third Y Coordinate 300 100 113 28 34 34 450 30 133 20 Fourth X Coordinate 450 50 113 28 10 10 450 80 128 20 Fourth Y Coorfinate 450 100 113 28 30 30 0 280 590 140 Set Coordinates Of Third Curved Edge 10 30 118 20 First X Coordinate 10 50 113 28 70 70 10 80 117 20 First Y Coordinate 10 100 113 28 50 50 140 30 140 20 Second X Coordinate 140 50 113 28 46 46 140 80 139 20 Second Y Coordinate 140 100 113 28 46 46 300 30 125 20 Third X Coordinate 300 50 113 28 46 46 300 80 124 20 Third Y Coordinate 300 100 113 28 34 34 450 30 133 20 Fourth X Coordinate 450 50 113 28 30 30 450 80 128 20 Fourth Y Coorfinate 450 100 113 28 50 50 0 420 590 140 Set Coordinates Of Fourth Curved Edge 10 30 118 20 First X Coordinate 10 50 113 28 60 60 10 80 117 20 First Y Coordinate 10 100 113 28 60 60 140 30 140 20 Second X Coordinate 140 50 113 28 50 50 140 80 139 20 Second Y Coordinate 140 100 113 28 50 50 300 30 125 20 Third X Coordinate 300 50 113 28 70 70 300 80 124 20 Third Y Coordinate 300 100 113 28 30 30 450 30 133 20 Fourth X Coordinate 450 50 113 28 60 60 450 80 128 20 Fourth Y Coorfinate 450 100 113 28 20 20 370 40 117 29 Render Gradient 390 100 80 29 set from 300 80 288 20 Set the coordinates from the label and click 10 10 221 130 1 10 10 201 120 Choose gradient colorspace 20 30 112 26 Rainbow 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 510 490 190 3 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 10 50 113 28 0 0 270 30 157 20 Second Vertex Parametr 270 50 113 28 0.5 0.5 10 80 157 20 Third Vertex Parametr 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 10 50 113 28 0 0 270 30 157 20 Second Vertex Parametr 270 50 113 28 0.3 0.3 10 80 157 20 Third Vertex Parametr 10 100 113 28 0.6 0.6 270 80 157 20 Fourth Vertex Parametr 270 100 113 28 1 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 10 50 113 28 0 0 270 30 157 20 Second Vertex Parametr 270 50 113 28 0.3 0.3 10 80 157 20 Third Vertex Parametr 10 100 113 28 0.6 0.6 270 80 157 20 Fourth Vertex Parametr 270 100 113 28 1 1 0 0 1126 25 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 CustomLineEdit QLineEdit
mainwindow.h
CustomLabel QLabel
mainwindow.h
CustomParametrLineEdit QLineEdit
mainwindow.h
CustomColorLabel QLabel
mainwindow.h
onMouseClicked()
on_button_Push()