Hi,
variables of QDateTime type are apparently not displayed correctly in
"Locals & Expressions", the time information is missing. While the date
part is shown correctly, the time is always 00:00:00.
The same variable prints just right with qDebug().
QtCreator (rather: gdb?) shows:
Hi,
we are trying to recover the QMetaType id from a class enum (Qt 5.5). It
seem to work into some .dll but not others.
We have a class with registered Qml class that have an enum registered too
like the following. It seem to work just fine into the QmlOtherObj but not
the
On Thursday, 20 July 2017 01:18:20 PDT Boudewijn Rempt wrote:
> I just got this bug report: https://bugs.kde.org/show_bug.cgi?id=382491 ,
> which suggests that QSharedMemory only works if both applications were
> built with the same version of Qt. Is that correct? I cannot find anything
> about
On Donnerstag, 20. Juli 2017 10:28:17 CEST Elvis Stansvik wrote:
> 2017-07-20 10:23 GMT+02:00 Jean-Michaël Celerier
>
> :
> > You can just compute the sine directly :
> >for(int i = 0; i < width; i++)
> >{
> >
> > int x = i;
> > int y = height
2017-07-20 10:30 GMT+02:00 Patrick Stinson :
> Also it should be between two arbitrary points, so the sine wave may go from
> top-right to bottom left, for example.
Right, but that's just a transformation of the bezier control points
once you have them.
Elvis
>
> On Jul
Also it should be between two arbitrary points, so the sine wave may go from
top-right to bottom left, for example.
> On Jul 20, 2017, at 1:28 AM, Elvis Stansvik wrote:
>
> 2017-07-20 10:23 GMT+02:00 Jean-Michaël Celerier
>
2017-07-20 10:23 GMT+02:00 Jean-Michaël Celerier
:
> You can just compute the sine directly :
>
>for(int i = 0; i < width; i++)
>{
> int x = i;
> int y = height / 2 + amplitude * std::sin(2 * M_PI * freq * i / width +
> phase);
>
You can just compute the sine directly :
for(int i = 0; i < width; i++)
{
int x = i;
int y = height / 2 + amplitude * std::sin(2 * M_PI * freq * i / width
+ phase);
path.lineTo(x, y);
}
---
Jean-Michaël Celerier
http://www.jcelerier.name
On Thu, Jul 20, 2017 at
I just got this bug report: https://bugs.kde.org/show_bug.cgi?id=382491 ,
which suggests that QSharedMemory only works if both applications were
built with the same version of Qt. Is that correct? I cannot find anything
about that in http://doc.qt.io/qt-5/qsharedmemory.html
--
Boudewijn Rempt |
Hello! I want to figure out how to draw a sin wave between two QPointF’s using
QPainterPath. Calculating the cubic control points seems like the best way, but
I am far from mastering that theory.
This is a diagramming app and the goal is to get a squiggly line between two
objects.
Thanks!
10 matches
Mail list logo