Discussion:
[PySide] Access methods in the QMath library
אילן הינדי
2018-07-28 06:56:08 UTC
Permalink
Hi,
Can you tell how to access methods in the QMath module like qATang etc..
What to import
How to access the methods
Ilan Hindy
e-mail : ***@gmail.com
celular : +972-54-4292112
home : +972-9-9570521
Florian Bruhin
2018-07-28 07:32:21 UTC
Permalink
Post by אילן הינדי
Can you tell how to access methods in the QMath module like qATang etc..
From what I can see, QtMath is a header-file with some functions only,
and not exposed by PySide.

Why not just use Python's math.atan?
https://docs.python.org/3/library/math.html#math.atan

Florian
--
https://www.qutebrowser.org | ***@the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
Cristián Maureira-Fredes
2018-07-28 10:40:48 UTC
Permalink
Hello,

It does not make sense to expose
things that are almost in the core of Python,
like math operations.

I recommend you to use the math module as Florian
stated, or any other math-related module.

Cheers

________________________________________
From: PySide <pyside-bounces+cristian.maureira-fredes=***@qt-project.org> on behalf of אילן הינדי <***@gmail.com>
Sent: 28 July 2018 08:56:08
To: ***@qt-project.org
Subject: [PySide] Access methods in the QMath library

Hi,
Can you tell how to access methods in the QMath module like qATang etc..
What to import
How to access the methods
Ilan Hindy
e-mail : ***@gmail.com<mailto:***@gmail.com>
celular : +972-54-4292112
home : +972-9-9570521

Loading...