Re: [PySide] I don't understand why I'm getting QPainter::begin: Widget painting can only begin as a result of a paintEvent - Stack Overflow
Thanks to ekhumoro (http://stackoverflow.com/users/984421/ekhumoro) for a solution to my recent dilemma. ___ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside
[PySide] I don't understand why I'm getting QPainter::begin: Widget painting can only begin as a result of a paintEvent - Stack Overflow
I'm stuck. I don't ever explicitly call paintEvent. I create a QPainter() instance inside of a paintEvent method and I get that error. Reduced code example at: http://stackoverflow.com/questions/40872318/i-dont-understand-why-im-getting-qpainterbegin-widget-painting-can-only-beg (I'm not really understanding the whole graphics framework. I still find the coordinate system bafflingly unpredictable. And I don't know C++. So the original Qt docs on line aren't much use to me.) ___ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside
Re: [PySide] Moderating the issue tracker
Replying because this is cc'd to a QT account. Maybe putting a captcha somewhere in the issue tracker would be appropriate. On Thursday, October 6, 2016 at 1:49:31 PM UTC-6, Ryan Gonzalez wrote: > > Considering the recent outbreak involving spam-my "issues" created by > users with seemingly drug-induced names ("lapp lapp"? "boom"? really?), > I've been wondering if it would be possible for someone to moderate first > posts on the issue tracker. For instance, when a new account is created, if > the first issue contains "suspicious words" (e.g. the word "support" over > ten dozen times), then it would be held in a queue until a mod can verify > it's not a spam user. Thoughts? > > -- > Ryan > [ERROR]: Your autotools build scripts are 200 lines longer than your > program. Something’s wrong. > http://kirbyfan64.github.io/ > > ___ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside
[PySide] Connecting signal makes app exit.
When I connect to selectionChanged signal, app silently exits (Linux). If I assign selectionModel to local variable before connecting, it works as supposed. Code below should stop executing at "connect", and should display window after uncommenting "sm = " I would like to know why it works this way. import sys, os from PySide.QtGui import * from PySide.QtCore import * if __name__ == "__main__": app = QApplication(sys.argv) wnd = QDialog() vbox = QVBoxLayout(wnd) qtr = QTreeWidget(wnd) vbox.addWidget(qtr) #sm = qtr.selectionModel() qtr.selectionModel().selectionChanged.connect(lambda *args: args) wnd.show() sys.exit(app.exec_()) ___ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside
[PySide] Shiboken license?
I'm trying to wrangle approval on our usage of Shiboken, which hinges completely on which license it's under. Looking through all of the info, I find conflicting references to both LGPL and GPL. Our approval caveats that come with those have some critical differences so I really need to find out which is correct and I'm hoping someone on your end can help. Thanks, *Dan Malone* Software Coordinator DreamWorks Animation Tel. (818) 695-3869 email: dan.mal...@dreamworks.com ___ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside