The workaround proposed in the bug report did not work. And I have now realized that the screenshot DOES depend of the platform. I will have to keep the windows screenshot for now.
Thank you all for your help. Alexandre On Fri, May 16, 2014 at 11:55 PM, Alexandre Neto <[email protected]>wrote: > Hello all, > > It seems to be the same problem. I will look into the bug report and test > it as soon as I. > > Happily this screenshot does not depends of the platform. So I can create > it in other SO. > > Thanks. > > Alexandre > > > On Fri, May 16, 2014 at 9:28 PM, J. Gustavo Rocha <[email protected]>wrote: > >> Hi all, olá Alexandre, >> >> Probably you found the bug that Matthias mentioned, which is still >> opened. On my QGIS 2.2, on Ubuntu 12.04 your example crashes QGIS. >> >> But writing a few lines of python, your form loads. So, it might (I >> really don't know!) be a QGIS problem, although it works fine on other >> platforms. >> >> Opening your form with just vanilla python+qt: >> >> import sys >> from PyQt4 import QtCore, QtGui, uic >> form_class = uic.loadUiType("annotations_form.ui")[0] >> class MyWindowClass(QtGui.QMainWindow, form_class): >> def __init__(self, parent=None): >> QtGui.QMainWindow.__init__(self, parent) >> self.setupUi(self) >> app = QtGui.QApplication(sys.argv) >> myWindow = MyWindowClass(None) >> myWindow.show() >> app.exec_() >> >> The form opens: https://dl.dropboxusercontent. >> com/u/5489125/Dialog_013.png >> >> I hate to say, but for now, it is better to prepare the documentation and >> screen captures on another platform :-( >> >> Regards, >> >> J. Gustavo >> >> Em 16-05-2014 20:03, Matthias Kuhn escreveu: >> >> Hi Alexandre, >>> >>> are you by any chance encountering this bug? >>> >>> http://hub.qgis.org/issues/8760 >>> >>> -- Matthias >>> >>> On 13.05.2014 00:29, Alexandre Neto wrote: >>> >>>> I'm trying to update the Users Manual Screenshot for form annotations. >>>> >>>> In my case, QGIS is crashing when I try to use a form. Can anyone >>>> please check if it's working or if there is something wrong with my >>>> form [0]? >>>> >>>> Also, there is a broken link [1] in the Users Manual in this section >>>> that would explain how to crate a form to use with form annotation. >>>> Can we ressuscitate the link? I used Tim Sutton video to create my form. >>>> >>>> Thanks! >>>> >>>> Alexandre Neto >>>> >>>> [2] https://www.dropbox.com/s/4a3mqni2becruh9/annotations_form.ui >>>> [1] http://blog.qgis.org/node/143 >>>> >>>> >>>> _______________________________________________ >>>> Qgis-developer mailing list >>>> [email protected] >>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer >>>> >>> >>> _______________________________________________ >>> Qgis-developer mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer >>> >>> >> >> J. Gustavo >> -- >> Jorge Gustavo Rocha >> Departamento de Informática >> Universidade do Minho >> 4710-057 Braga >> Tel: +351 253604480 >> Fax: +351 253604471 >> Móvel: +351 910333888 >> skype: nabocudnosor >> >> "I would love to change the world, but they won't give me the source >> code" -- Unknown Geek >> >> _______________________________________________ >> Qgis-developer mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> > >
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
