Qt custom widgets
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Qt custom widgets
Yes, it's using openGL. It's based on http://doc.qt.io/QtDataVisualization/
- bhavna
- Posts:37
- Joined: Mon Dec 20, 2010 1:12 pm
Re: Qt custom widgets
Hi,
OS: Windows 7
WinCCOA 3.11+SP1
I have a similar query. I have attached an image of CRO traces being displayed using some other software. I want to display similar plots in WINCCOA panel. Is it possible using already given widgets or I need to use QT custom widget and make an EWO ?
Regards,
Bhavna
OS: Windows 7
WinCCOA 3.11+SP1
I have a similar query. I have attached an image of CRO traces being displayed using some other software. I want to display similar plots in WINCCOA panel. Is it possible using already given widgets or I need to use QT custom widget and make an EWO ?
Regards,
Bhavna
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Qt custom widgets
Hello,
we cannot see the attached image. Maybe the upload failed.
Best Regards
Leopold Knipp
Senior Support Specialist
we cannot see the attached image. Maybe the upload failed.
Best Regards
Leopold Knipp
Senior Support Specialist
- bhavna
- Posts:37
- Joined: Mon Dec 20, 2010 1:12 pm
Re: Qt custom widgets
Hi,
I have tried to attached the file(CRO.png) again. But somehow it is not getting displayed in the message. Pls suggest.
Regards,
Bhavna
https://www.winccoa.com/fileadmin/image ... es/cro.jpg
I have tried to attached the file(CRO.png) again. But somehow it is not getting displayed in the message. Pls suggest.
Regards,
Bhavna
https://www.winccoa.com/fileadmin/image ... es/cro.jpg- amitgolhani
- Posts:41
- Joined: Thu Apr 10, 2014 10:32 am
Re: Qt custom widgets
Hi Bhavna,
If you are planning to use amplitude and time division plot and planning to display peak-peak and other details similar to CRO then you need to prepare your own CRO widget. You may explore trend widget and check if it can meet your basic CRO requirements.
Best Regards,
Amit Golhani
If you are planning to use amplitude and time division plot and planning to display peak-peak and other details similar to CRO then you need to prepare your own CRO widget. You may explore trend widget and check if it can meet your basic CRO requirements.
Best Regards,
Amit Golhani
- bhavna
- Posts:37
- Joined: Mon Dec 20, 2010 1:12 pm
Re: Qt custom widgets
Thank you Amit,
I have already checked for such widget in WINCCOA. I could not find something that could plot 4 arrays (waveform of 400 element each) over a timeline/sample number. These waveforms are read from CRO eevry second over TCP/IP.
I will try EWO with QTcustom plot widget.
Regards,
Bhavna
I have already checked for such widget in WINCCOA. I could not find something that could plot 4 arrays (waveform of 400 element each) over a timeline/sample number. These waveforms are read from CRO eevry second over TCP/IP.
I will try EWO with QTcustom plot widget.
Regards,
Bhavna
- Andorhal
- Posts:127
- Joined: Wed Nov 12, 2014 8:04 am
Re: Qt custom widgets
Hello.
There seems to be a problem with the image upload functionality, you can upload the image as file.
You may look at my post here:
There seems to be a problem with the image upload functionality, you can upload the image as file.
You may look at my post here:
- bhavna
- Posts:37
- Joined: Mon Dec 20, 2010 1:12 pm
Re: Qt custom widgets
Thanks. I could upload it as file.
- amitgolhani
- Posts:41
- Joined: Thu Apr 10, 2014 10:32 am
Re: Qt custom widgets
Hello,
Can we use SVG based Qt custom widgets to prepare EWO? We are planning to use to SVG for animation, and to control SVG animation we will add controls in widget.
Best Regards,
Amit Golhani
Can we use SVG based Qt custom widgets to prepare EWO? We are planning to use to SVG for animation, and to control SVG animation we will add controls in widget.
Best Regards,
Amit Golhani
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Qt custom widgets
You can of course paint SVG images inside your class::paintEvent(), if that's what you mean.
(e.g. we do this in the DialGauge.ewo. We use QSvgRenderer to render the SVG into a QPixmap and paint the pixmap inside the paintEvent, which is faster than always rendering the SVG in paintEvent())
(e.g. we do this in the DialGauge.ewo. We use QSvgRenderer to render the SVG into a QPixmap and paint the pixmap inside the paintEvent, which is faster than always rendering the SVG in paintEvent())