mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-17 11:01:06 +00:00
Added missing python function docs.
This commit is contained in:
parent
ac82bfe3e7
commit
0f0c1a22b8
2 changed files with 7 additions and 5 deletions
|
|
@ -136,6 +136,7 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
|
|||
self.urlinput.addMenuEntries(self.menuEdit)
|
||||
|
||||
def init_drop(self):
|
||||
"""Set and activate drag-and-drop functions."""
|
||||
self.__class__.dragEnterEvent = self.handleDragEvent
|
||||
self.__class__.dragMoveEvent = self.handleDragEvent
|
||||
self.__class__.dropEvent = self.handleDropEvent
|
||||
|
|
@ -194,6 +195,7 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
|
|||
def init_shortcuts (self):
|
||||
"""Configure application shortcuts."""
|
||||
def selectUrl():
|
||||
"""Highlight URL input textbox."""
|
||||
self.urlinput.setFocus()
|
||||
self.urlinput.selectAll()
|
||||
shortcut = QtGui.QShortcut(QtGui.QKeySequence("Ctrl+L"), self)
|
||||
|
|
|
|||
|
|
@ -58,19 +58,19 @@ class ProjectParser (confparse.LCConfigParser):
|
|||
data = {}
|
||||
option = "debug"
|
||||
if self.has_option(section, option):
|
||||
data[option] = self.getboolean(section, option)
|
||||
data[option] = self.getboolean(section, option)
|
||||
option = "verbose"
|
||||
if self.has_option(section, option):
|
||||
data[option] = self.getboolean(section, option)
|
||||
data[option] = self.getboolean(section, option)
|
||||
option = "recursionlevel"
|
||||
if self.has_option(section, option):
|
||||
data[option] = self.getint(section, option)
|
||||
data[option] = self.getint(section, option)
|
||||
option = "warninglines"
|
||||
if self.has_option(section, option):
|
||||
data[option] = self.get(section, option)
|
||||
data[option] = self.get(section, option)
|
||||
option = "ignorelines"
|
||||
if self.has_option(section, option):
|
||||
data[option] = self.get(section, option)
|
||||
data[option] = self.get(section, option)
|
||||
self.gui_options.set_options(data)
|
||||
|
||||
def write (self, fp):
|
||||
|
|
|
|||
Loading…
Reference in a new issue