QTfrontend/frameTeam.cpp
changeset 2377 f3fab2b09e0c
parent 1784 dfe9bafb4590
child 2948 3f21a9dc93d0
equal deleted inserted replaced
2376:ece7b87f1334 2377:f3fab2b09e0c
    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);