This file is indexed.

/usr/share/monkeystudio/templates/Python/PyQt Gui/$Main File Name$ is in monkeystudio-common 1.9.0.4+git20161218-1.

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
import sys

# import PyQt4 QtCore and QtGui modules
from PyQt4.QtCore import *
from PyQt4.QtGui import *

from $Class File Name$ import $Class Name$

if __name__ == '__main__':

    # create application
    app = QApplication( sys.argv )
    app.setApplicationName( '$Project Name$' )

    # create widget
    w = $Class Name$()
    w.setWindowTitle( '$Project Name$' )
    w.show()

    # connection
    QObject.connect( app, SIGNAL( 'lastWindowClosed()' ), app, SLOT( 'quit()' ) )

    # execute application
    sys.exit( app.exec_() )