/usr/share/pyshared/PyMca/PyMcaQt.py is in pymca 4.5.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | import sys
import sip
if 'qt' not in sys.modules:
try:
from PyQt4.QtCore import *
from PyQt4.QtGui import *
try:
#In case PyQwt is compiled with QtSvg
from PyQt4.QtSvg import *
except:
pass
except:
from qt import *
else:
from qt import *
class HorizontalSpacer(QWidget):
def __init__(self, *args):
QWidget.__init__(self, *args)
self.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,
QSizePolicy.Fixed))
class VerticalSpacer(QWidget):
def __init__(self, *args):
QWidget.__init__(self, *args)
self.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,
QSizePolicy.Expanding))
|