[Interest] Make Qt::PreciseTimer the default timer type
Christopher Probst
christop.probst at gmail.com
Wed Apr 11 16:37:01 CEST 2018
A solution would be doing something like this:
m_chart->legend()->setAlignment(Qt::AlignTop);
QApplication::processEvents();
m_chart->legend()->setY(m_chart->plotArea().height() - m_chartView->height() );
Which feels like a big hack. Is there a better way?
On 11 April 2018 at 10:18, Richard Weickelt <richard at weickelt.de> wrote:
> Hi,
>
> is there a way to set Qt::PreciseTimer as the default timer type for all
> QTimer instances in an application? According to the QTimer documentation
> [1], Qt::CoarseTimer is the default.
>
> Thanks
> Richard
>
> [1] http://doc.qt.io/qt-5/qtimer.html#timerType-prop
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180411/bf38f40c/attachment.html>
More information about the Interest
mailing list