mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-23 15:44:44 +00:00
Use Plastique style.
This commit is contained in:
parent
7a2c89b7fe
commit
d611d99cd3
1 changed files with 6 additions and 2 deletions
|
|
@ -23,6 +23,11 @@ from PyQt4.QtGui import QApplication, QStyleFactory
|
|||
from linkcheck.gui import LinkCheckerMain
|
||||
from linkcheck import configuration
|
||||
|
||||
## Look and feel with stylesheets
|
||||
# In Cleanlooks the progress bar text is outside the bar.
|
||||
# Use Plastique instead.
|
||||
#Style = "Cleanlooks"
|
||||
Style = "Plastique"
|
||||
|
||||
def main (argv=None):
|
||||
if argv is None:
|
||||
|
|
@ -31,8 +36,7 @@ def main (argv=None):
|
|||
app.setApplicationName(configuration.AppName)
|
||||
app.setApplicationVersion(configuration.Version)
|
||||
app.setOrganizationName(configuration.Author)
|
||||
## Look and feel changed to CleanLooks
|
||||
QApplication.setStyle(QStyleFactory.create("Cleanlooks"))
|
||||
QApplication.setStyle(QStyleFactory.create(Style))
|
||||
QApplication.setPalette(QApplication.style().standardPalette())
|
||||
if app.argc() > 1:
|
||||
url = app.argv()[1]
|
||||
|
|
|
|||
Loading…
Reference in a new issue