mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-31 18:37:30 +01:00
Removed blau, will introduce lighter skin.
This commit is contained in:
parent
1be0ccf2e1
commit
d0d4f9827f
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<skin version="0.11">
|
||||
<skin version="0.12">
|
||||
<name>vergilius</name>
|
||||
<author>
|
||||
<name>Martin Rotter</name>
|
||||
|
@ -132,7 +132,7 @@ void WebBrowser::initializeLayout() {
|
||||
m_loadingProgress->setFixedHeight(15);
|
||||
m_loadingProgress->setMinimum(0);
|
||||
m_loadingProgress->setMaximum(100);
|
||||
m_loadingProgress->setVisible(true);
|
||||
m_loadingProgress->setAttribute(Qt::WA_TranslucentBackground);
|
||||
|
||||
m_loadingLayout = new QHBoxLayout();
|
||||
m_loadingLayout->setMargin(0);
|
||||
@ -145,18 +145,27 @@ void WebBrowser::initializeLayout() {
|
||||
m_layout->addWidget(m_loadingProgress);
|
||||
m_layout->setMargin(0);
|
||||
m_layout->setSpacing(0);
|
||||
|
||||
m_loadingProgress->hide();
|
||||
}
|
||||
|
||||
void WebBrowser::onLoadingStarted() {
|
||||
|
||||
m_loadingProgress->setValue(0);
|
||||
m_loadingProgress->show();
|
||||
}
|
||||
|
||||
void WebBrowser::onLoadingProgress(int progress) {
|
||||
m_txtLocation->setProgress(progress);
|
||||
m_loadingProgress->setValue(progress);
|
||||
|
||||
m_lblProgress->setText(tr(" %1 kB / %2 kB").
|
||||
arg(m_webView->page()->bytesReceived() / 1000).
|
||||
arg(m_webView->page()->totalBytes() / 1000));
|
||||
}
|
||||
|
||||
void WebBrowser::onLoadingFinished(bool success) {
|
||||
m_txtLocation->clearProgress();
|
||||
m_loadingProgress->hide();
|
||||
}
|
||||
|
||||
void WebBrowser::createConnections() {
|
||||
|
Loading…
Reference in New Issue
Block a user