mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-08 08:30:59 +00:00
Show URLs in status bar.
This commit is contained in:
parent
76f57dc4ad
commit
8d36bf4e3d
1 changed files with 6 additions and 0 deletions
|
|
@ -183,6 +183,8 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
|
|||
self.error_signal.connect(self.internal_error)
|
||||
self.options.editor.saved.connect(self.read_config)
|
||||
self.log_status_signal.connect(self.log_status)
|
||||
self.prop_url.linkHovered.connect(self.hover_link)
|
||||
self.prop_parenturl.linkHovered.connect(self.hover_link)
|
||||
|
||||
def init_shortcuts (self):
|
||||
"""Configure application shortcuts."""
|
||||
|
|
@ -562,6 +564,10 @@ Version 2 or later.
|
|||
msg = msg[:27]+u"..."
|
||||
self.label_status.setText(msg)
|
||||
|
||||
def hover_link (self, link):
|
||||
"""Show given link in status bar."""
|
||||
self.statusBar.showMessage(link)
|
||||
|
||||
def log_status (self, checked, in_progress, queued, duration):
|
||||
"""Update number of checked, active and queued URLs."""
|
||||
self.label_checked.setText(u"%d" % checked)
|
||||
|
|
|
|||
Loading…
Reference in a new issue