+/*
+ * Topresultdialog
+ *
+ * @author Olavi Pulkkinen <olavi.pulkkinena@fudeco.com>
+ * @author Toni Jussila <toni.jussila@fudeco.com>
+ * @copyright (c) 2010 Speed Freak team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ */
+
#include <QDebug>
#include "topresultdialog.h"
#include "ui_topresultdialog.h"
//Set the amount of requested top results here, untill there is user input
setLimitNr(10);
+
+ //Button settings
+ ui->buttonTopRefresh->setAutoFillBackground(true);
+ ui->buttonTopRefresh->setStyleSheet("background-color: rgb(0, 0, 0); color: rgb(255, 255, 255)");
}
TopResultDialog::~TopResultDialog()
void TopResultDialog::on_buttonTopRefresh_clicked()
{
+ ui->labelTopList->clear();
+ ui->comboBoxTopCategory->clear();
emit refreshCategoryList();
}
void TopResultDialog::on_comboBoxTopCategory_currentIndexChanged(int index)
{
+ ui->labelTopList->clear();
recentCategoryIndex = index;
emit refreshTopList(index);
}