Python Forum
Custom widget in Python-Qt, 'live' at Qt Designer
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom widget in Python-Qt, 'live' at Qt Designer
#3
(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?
Reply


Messages In This Thread
RE: Custom widget in Python-Qt, 'live' at Qt Designer - by panoss - Jan-05-2017, 10:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I want to create custom charts in Python. js1152410 1 658 Nov-13-2023, 05:45 PM
Last Post: gulshan212
  Is it possible to capture live running waveforms in an oscilloscope using python? Girishbabu_27 4 1,181 Jul-29-2023, 06:05 AM
Last Post: Girishbabu_27
  Plot a pandas data fram via pyqtgraph with an modul import and qt designer widget Nietzsche 0 965 May-29-2023, 02:42 PM
Last Post: Nietzsche
  How to parse a live feed in Python? Daring_T 2 4,530 Jan-20-2022, 04:17 AM
Last Post: Daring_T
  importing same python library in multiple custom module escape_freedom13 6 4,044 May-10-2020, 07:01 PM
Last Post: escape_freedom13
  Python animate live plotting fetching data from Mysql Table dhirajm 6 3,889 Apr-24-2020, 05:07 PM
Last Post: dhirajm
  Importing Custom Modules in Python 3 Flexico 1 2,704 Aug-24-2019, 08:11 PM
Last Post: snippsat
  problem using custom exception handling in python srm 3 3,186 Jul-03-2019, 09:10 PM
Last Post: ichabod801
  Python Extensions with C Custom PyObject? babaliaris 9 5,873 Feb-14-2018, 08:39 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020