GH-925 add scroll to bottom button to LogPage

This commit is contained in:
Petr Mrázek
2015-04-29 01:28:58 +02:00
parent f8650e3965
commit 75dfbc61fc
3 changed files with 49 additions and 16 deletions

View File

@ -69,6 +69,11 @@ void LogPage::on_btnClear_clicked()
ui->text->clear();
}
void LogPage::on_btnBottom_clicked()
{
ui->text->verticalScrollBar()->setSliderPosition(ui->text->verticalScrollBar()->maximum());
}
void LogPage::on_trackLogCheckbox_clicked(bool checked)
{
m_write_active = checked;