Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit e4ea01c9 authored by Frédéric Larue's avatar Frédéric Larue
Browse files

Appearance customization.

parent 888622d0
......@@ -43,6 +43,7 @@ int UILaunch( int argc, char **argv )
QApplication::setAttribute( Qt::AA_ShareOpenGLContexts, true );
QApplication a( argc, argv );
#if 1
QPalette palette = a.palette();
a.setStyleSheet(
......@@ -53,7 +54,7 @@ int UILaunch( int argc, char **argv )
"QGroupBox {"
"color: rgb(200,230,255);"
"border: 2px solid rgb(200,230,255);"
"border: 2px solid rgb(192,220,255);"
"border-radius: 5px;"
"margin-top: 0.5em;"
"padding: 4 2 2 2;"
......@@ -63,32 +64,32 @@ int UILaunch( int argc, char **argv )
"subcontrol-origin: margin;"
"left: 20px;"
"padding: 0 2 0 3;"
"font:"
"}"
"QSpinBox {"
"QSpinBox, QDoubleSpinBox, QComboBox {"
"color: rgb(200,230,255);"
"background-color: rgb(48,48,64);"
"border: 1px solid rgb(96,96,128);"
"border-radius: 3px;"
"}"
"QDoubleSpinBox {"
"color: rgb(200,230,255);"
"background-color: rgb(48,48,64);"
"background-color: rgb(48,48,64);"//qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(64,64,96), stop: 1 rgb(48,48,64));"
"border: 1px solid rgb(96,96,128);"
"border-radius: 3px;"
"}"
"QComboBox {"
"color: rgb(200,230,255);"
"background-color: rgb(48,48,64);"
"}"
"QLineEdit {"
"color: rgb(200,230,255);"
"background-color: rgb(48,48,64);"
"}"
//"QCheckBox::indicator:unchecked {"
//"background-color: rgb(48,48,64);"
//"border: 1px solid rgb(96,96,128);"
//"border-radius: 3px;"
//"}"
//"QCheckBox::indicator:checked {"
//"image: url(:/images/checkbox_checked_hover.png);"
//"background-color: rgb(48,48,64);"
//"border: 1px solid rgb(96,96,128);"
//"border-radius: 3px;"
//"}"
);
for( int i=0; i<QPalette::NColorGroups; ++i )
......@@ -104,7 +105,7 @@ int UILaunch( int argc, char **argv )
//palette.setColor( (QPalette::ColorGroup)i, QPalette::Shadow, QColor(220,220,255) );
palette.setColor( (QPalette::ColorGroup)i, QPalette::Base , QColor( 48, 48, 64) );
//palette.setColor( (QPalette::ColorGroup)i, QPalette::ButtonText , QColor(220,220,255) );
palette.setColor( (QPalette::ColorGroup)i, QPalette::ButtonText , QColor(220,230,255) );
//palette.setColor( (QPalette::ColorGroup)i, QPalette::Button , QColor( 48, 48, 64) );
//palette.setColor( (QPalette::ColorGroup)i, QPalette::Mid , QColor( 255, 48, 64) );
//palette.setColor( (QPalette::ColorGroup)i, QPalette::Dark , QColor( 0, 255, 64) );
......@@ -112,6 +113,7 @@ int UILaunch( int argc, char **argv )
}
a.setPalette( palette );
#endif
UIMainWindow *mainWin = new UIMainWindowT(); // Use default GUI main window.
mainWin->onInitializingApp();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment