(Jan-05-2017, 10:40 AM)Larz60+ Wrote:Quote:For example, in this tutorial:
Is this a homework assignment?
You didn't give a URL
Sorry, here it is: h**ps://doc.qt.io/archives/qq/qq26-pyqtdesigner.html
(replace ** with tt)
No, it' s not a homework assignment, I'm trying to make an application.
Ok, I 'm examining a simpler tutorial: h**ps://wiki.python.org/moin/PyQt/Using_Python_Custom_Widgets_in_Qt_Designer
(replace ** with tt)
In this one, I 'll have to create files:
1. for the widget: class PyAnalogClock(QtGui.QWidget). How should I name this file? analogclockwiget.py?
2. for the plugin: class PyAnalogClockPlugin(QtDesigner.QPyDesignerCustomWidgetPlugin) How should I name this file? analogclockplugin.py?
3. 'place the modules containing the custom widget and its plugin class in the appropriate locations in the file system'. Which are these locations?