These are chat archives for PySide/pyside2

24th
Apr 2017
From IRC (bridge bot)
@FromIRC
Apr 24 2017 13:36
<fkleint> @ctismer, alcroito: ping, I notice that the example examples/opengl/hellogl.py gives me https://paste.qt.io/p0zughoy3 , does this ring a bell?
<ctismer> can't get it. Can you use a public paste bin?
<fkleint> urgs, dammit
<fkleint> paste.kde.org requiring a passwd is a real hassle
<fkleint> @ctismer: http://paste.ubuntu.com/24447954/
<fkleint> ?
<ctismer> thx
From IRC (bridge bot)
@FromIRC
Apr 24 2017 13:46
<fkleint> @ctismer: Sth with the signal slot sort magic?
<alcroito> fkleint: yep
From IRC (bridge bot)
@FromIRC
Apr 24 2017 13:51
<ctismer> heavily grübeling... yes, must be
<alcroito> fkleint: the example must be fixed. It does not define signals before time, but creates them at connection tim
<ctismer> happens when the signal/slot is touched the second time.
* ctismer :⁠-X wanted to say that...
<ctismer> maybe create all signals in the init
<alcroito> Actually the other way around
<alcroito> it is currently in init
<alcroito> the signal instances should be created outside, so it's per class
From IRC (bridge bot)
@FromIRC
Apr 24 2017 13:57
<fkleint> alcroito: Outside? was there a readme?
<alcroito> fkleint: readme for what?
<fkleint> alcroito: this signal/slot thing
<fkleint> sort magic?
<alcroito> fkleint: i don't recall if we documented the sort magic in the wiki
<fkleint> hm...IIRC sth was written somewhere
<alcroito> fkleint: you should move the Qt.Signal() lines before init just after class YYY:
<ctismer> alcroito you are mislead. The error is in line 98, other class!
<fkleint> ;⁠-)
<alcroito> @ctismer: the runtime warning says "QObject::connect: No such signal GLWidget::xRotationChanged(int) hellogl.py:98: RuntimeWarning: "
<alcroito> the xRotationChanged signal is in changedSignal variable, which was passed to createSlider() method
<alcroito> it's trying to connect to that signal on the self.glWidget object
<alcroito> which is our custom GLWidget class, which defines the signals in init which is incorrect
From IRC (bridge bot)
@FromIRC
Apr 24 2017 14:05
<ctismer> Ah! Wee...
<fkleint> alcroito: Did you already have tr("Alle Klarheiten restlos beseitigt") in your German course?
<alcroito> fkleint: nope
<alcroito> fkleint: is that some idiom?
<alcroito> fkleint: what unclarity do you wish cleared?
<fkleint> ok ;⁠-) , it is a negation of tr("Alle Unklarheiten restlos beseitigt") which means all unclarities resolved
<fkleint> alcroito: What the proper fix is?
<alcroito> fkleint: try moving the three Qt.Signal() lines that are in init of GLWidget class, before init, just after class GLWidget:
<ctismer> "it's as clear as mud"
<alcroito> makes sense
<alcroito> fkleint: https://bugreports.qt.io/browse/PYSIDE-463 is the issue that says we should document this
From IRC (bridge bot)
@FromIRC
Apr 24 2017 14:12
<ctismer> ja ja! :⁠)
<fkleint> ah
Padraig O Cuinn
@PadraigOCuinn
Apr 24 2017 14:19
can i select a branch of a QTreeWidget and use QStackedwidget to display different QObjects beside them.
From IRC (bridge bot)
@FromIRC
Apr 24 2017 14:22
<ctismer> sure, I meand before the init, inside the class of course.
<ctismer> other error, line 12
<ctismer> app = QtGui.QApplication(sys.argv)
Padraig O Cuinn
@PadraigOCuinn
Apr 24 2017 14:29
anyone
From IRC (bridge bot)
@FromIRC
Apr 24 2017 14:31
<alcroito> @PadraigOCuinn: You might have better luck at asking questions like that in #qt
<ctismer> ah, didn't update
Padraig O Cuinn
@PadraigOCuinn
Apr 24 2017 14:48
i cant find the room
From IRC (bridge bot)
@FromIRC
Apr 24 2017 14:51
<alcroito> Just type /join #qt
Padraig O Cuinn
@PadraigOCuinn
Apr 24 2017 14:52
/join #qt
lol
From IRC (bridge bot)
@FromIRC
Apr 24 2017 14:53
<alcroito> oh right, you're not on irc
<alcroito> You would have to join via an irc channel
Padraig O Cuinn
@PadraigOCuinn
Apr 24 2017 14:53
no just the gitter website
From IRC (bridge bot)
@FromIRC
Apr 24 2017 14:53
<alcroito> via an irc client*