forked from openlp/openlp
clean ups
This commit is contained in:
parent
6b4fc124c7
commit
620d858d68
@ -29,8 +29,7 @@ The :mod:`lib` module contains most of the components and libraries that make
|
||||
OpenLP work.
|
||||
"""
|
||||
import logging
|
||||
import os.path
|
||||
import types
|
||||
import os
|
||||
|
||||
from PyQt4 import QtCore, QtGui, Qt
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
"""
|
||||
Extend QListWidget to handle drag and drop functionality
|
||||
"""
|
||||
import os.path
|
||||
import os
|
||||
|
||||
from PyQt4 import QtCore, QtGui
|
||||
|
||||
|
@ -29,7 +29,6 @@ The bible import functions for OpenLP
|
||||
"""
|
||||
import logging
|
||||
import os
|
||||
import os.path
|
||||
import locale
|
||||
|
||||
from PyQt4 import QtCore, QtGui
|
||||
|
@ -26,7 +26,6 @@
|
||||
###############################################################################
|
||||
|
||||
import os
|
||||
import os.path
|
||||
import logging
|
||||
import chardet
|
||||
import codecs
|
||||
|
@ -376,17 +376,17 @@ class SingleColumnTableWidget(QtGui.QTableWidget):
|
||||
Class to for a single column table widget to use for the verse table widget.
|
||||
"""
|
||||
def __init__(self, parent):
|
||||
"""
|
||||
Constrctor
|
||||
"""
|
||||
"""
|
||||
Constrctor
|
||||
"""
|
||||
QtGui.QTableWidget.__init__(self, parent)
|
||||
self.horizontalHeader().setVisible(False)
|
||||
self.setColumnCount(1)
|
||||
|
||||
def resizeEvent(self, event):
|
||||
"""
|
||||
Resize the first column together with the widget.
|
||||
"""
|
||||
"""
|
||||
Resize the first column together with the widget.
|
||||
"""
|
||||
QtGui.QTableWidget.resizeEvent(self, event)
|
||||
if self.columnCount():
|
||||
self.setColumnWidth(0, event.size().width())
|
||||
|
@ -34,7 +34,7 @@ simply run this script::
|
||||
|
||||
"""
|
||||
|
||||
import os.path
|
||||
import os
|
||||
import sys
|
||||
|
||||
TESTS_PATH = os.path.dirname(os.path.abspath(__file__))
|
||||
|
Loading…
Reference in New Issue
Block a user