equal
deleted
inserted
replaced
29 { |
29 { |
30 QPalette newPalette = palette(); |
30 QPalette newPalette = palette(); |
31 newPalette.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00)); |
31 newPalette.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00)); |
32 setPalette(newPalette); |
32 setPalette(newPalette); |
33 setAutoFillBackground(true); |
33 setAutoFillBackground(true); |
34 |
34 |
35 mainLayout.setSpacing(1); |
35 mainLayout.setSpacing(1); |
36 mainLayout.setContentsMargins(4, 4, 4, 4); |
36 mainLayout.setContentsMargins(4, 4, 4, 4); |
37 |
37 |
38 availableColors.push_back(*color1); |
38 availableColors.push_back(*color1); |
39 availableColors.push_back(*color2); |
39 availableColors.push_back(*color2); |
40 availableColors.push_back(*color3); |
40 availableColors.push_back(*color3); |
41 availableColors.push_back(*color4); |
41 availableColors.push_back(*color4); |
42 availableColors.push_back(*color5); |
42 availableColors.push_back(*color5); |