Changeset f5f85ce


Ignore:
Timestamp:
01/13/14 07:38:45 (10 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
f5e0713
Parents:
82baccc
Message:

Change color scheme for command output (white on black). With this colors command output looks more generic (like text console) and has visual difference from the other UI elements

Location:
src-qt4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/EasyPBI/mainGUI.cpp

    rc6b6d5e rf5f85ce  
    8686      SetupDefaults(); //load program defaults 
    8787      refreshGUI("all"); //make items visible/invisible as necessary 
     88 
     89      //Change output palette (white on black) 
     90      QPalette palette = ui->text_build_log->palette(); 
     91      palette.setColor(QPalette::Base, Qt::black); 
     92      palette.setColor(QPalette::Text, Qt::white); 
     93      ui->text_build_log->setPalette(palette); 
    8894       
    8995      //Connect "option changed" signals to the respective slot 
  • src-qt4/pc-pkgmanager/mainWin.cpp

    r9809371 rf5f85ce  
    7474 
    7575  initMetaWidget(); 
     76 
     77  //Change output palette (white on black) 
     78  QPalette palette = textDisplayOut->palette(); 
     79  palette.setColor(QPalette::Base, Qt::black); 
     80  palette.setColor(QPalette::Text, Qt::white); 
     81  textDisplayOut->setPalette(palette); 
    7682} 
    7783 
Note: See TracChangeset for help on using the changeset viewer.