24 __title__ =
"PopUpImage" 25 __author__ =
"Amritpal Singh" 26 __url__ =
"https://www.freecadweb.org" 29 from PySide
import QtCore
30 from PySide
import QtGui
31 from PySide
import QtSvg
37 QtGui.QDialog.__init__(self)
38 self.
image = QtSvg.QSvgWidget(img)
39 self.setWindowTitle(QtGui.QApplication.translate(
"RebarTool",
"Detailed description",
None))
41 self.verticalLayout.addWidget(self.
image)
44 """ showPopUpImageDialog(image): This function will show a given image in a pop-up