Skip to content

Commit

Permalink
updates by avi
Browse files Browse the repository at this point in the history
  • Loading branch information
avi-iz committed Jan 11, 2016
1 parent 8f507a0 commit 5043b27
Show file tree
Hide file tree
Showing 6 changed files with 89 additions and 346 deletions.
14 changes: 5 additions & 9 deletions Mobile/mobileapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,12 @@ void MobileApp::adjustFontSize()
if (nightMode) nStyleSheet = "color: #7faf70; background-color:black;";

QString styleSheet("*{font-size: " +QString::number(fontSize) +"pt;" + nStyleSheet +"}");
styleSheet += "QLabel#intro_label{font-size: " + QString::number(smallFont) + "pt;}";
styleSheet += "QLabel#intro_label{font-size: " + QString::number(smallFont) + "pt;" ;
styleSheet += "background: transparent; border: none;}";

ui->stackedWidget->setStyleSheet(styleSheet);

ui->dispalyMenu->setStyleSheet(" background-color: rgba(249, 211, 176, 10%);");
// ui->dispalyMenu->setStyleSheet(" background-color: rgba(249, 211, 176, 10%);");
// qDebug() <<" styleSheet: " << styleSheet;

}
Expand Down Expand Up @@ -517,16 +518,11 @@ void MobileApp::reloadBooklist(){

//IZAR
//when going to 'books in search' page, reset the page
void MobileApp::resetSearchBookTree(){

// QTime time;
// time.start();
void MobileApp::resetSearchBookTree()
{
ui->SearchTreeWidget->clear();
// booksInSearch.BuildFromFolder(BOOKPATH);
booksInSearch = BookList(bookList);
booksInSearch.displayInTree(ui->SearchTreeWidget, true, true);
// qDebug() << "load time: "<< time.elapsed();

}


Expand Down
Loading

0 comments on commit 5043b27

Please sign in to comment.