Re: [Qgis-user] qt designer does not have/show QgsDateEdit widget

2022-07-20 Thread Janneke van Dijk via Qgis-user
Hi Richard and Andrea (and others),

thanks for clarifying/confirming - then it is not something I
misunderstood. I originally had the QDateEdit widget, which was working,
but giving a warning that it will not accept NULL values. As I would like
to be able to set it to NULL I thought of using QgsDateEdit. I have now
indeed managed to instead format the QgsDateTimeEdit widget to only show
the date, which will do for my purpose.

I am now trying to adjust the code that was working for QDateEdit to work
for the QgsDateTimeEdit with the following function that gets called
clicking a button. The first message will display the time and date
correctly, so 'now' seems to have the correct value. The second message
does not get displayed, but I also do not get an error message, and the
date does not get changed. Which makes me believe
"self.assesmentdate.setDateTime(now)" is not correct.

def assesmentdate_now(self):
if self and self.layer.isEditable():
now = QtCore.QDateTime.currentDateTime()
QgsMessageLog.logMessage(now.toString(), 'MyPlugin',
level=Qgis.Info)
self.assesmentdate.setDateTime(now)
QgsMessageLog.logMessage('test', 'MyPlugin', level=Qgis.Info)


What would be the correct syntax for setting the QgsDateTimeEdit widget to
show the current date?  Or does anyone have ideas how I can find out what's
happening, seeing that I am not getting error messages? The script gets
called by the attribute form.

Thanks for any thoughts,
Janneke

On Wed, Jul 20, 2022 at 10:44 AM Richard Duivenvoorde 
wrote:

> Hi Janneke,
>
> I'm on master here with designer with all qgs widgets, and I do not have
> it either.
>
> When I create a form though, with a field which has a datetime field, I
> CAN set the 'Field Format' to 'Date'-only...
>
> So maybe there is some extra sip/development work needed to make this
> widget also available in QtDesigner?
> (try to ask this question on the defv list?)
>
> Or (not tested), maybe you can create an ui iwth QgsDateTime, and manually
> edit the ui file?
>
> HTH, Regards,
>
> Regards,
>
> Richard Duivenvoorde
>
> On 7/19/22 20:28, Janneke van Dijk via Qgis-user wrote:
> > Dear all,
> >
> > I need a date widget that can be set to a null date. From
> https://qgis.org/pyqgis/master/gui/QgsDateEdit.html#module-QgsDateEdit <
> https://qgis.org/pyqgis/master/gui/QgsDateEdit.html#module-QgsDateEdit> I
> understand that this should be possible (from 3.14 upwards). In Qt Designer
> (osgeo4W/bin/qgis-designer.bat which I understand is shipped with QGIS
> 3.26) I only see the QgsDateTimeEdit widget.
> >
> > image.png
> >
> > How can I use the QgsDateEdit widget?
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] qt designer does not have/show QgsDateEdit widget

2022-07-20 Thread Richard Duivenvoorde via Qgis-user

Hi Janneke,

I'm on master here with designer with all qgs widgets, and I do not have it 
either.

When I create a form though, with a field which has a datetime field, I CAN set 
the 'Field Format' to 'Date'-only...

So maybe there is some extra sip/development work needed to make this widget 
also available in QtDesigner?
(try to ask this question on the defv list?)

Or (not tested), maybe you can create an ui iwth QgsDateTime, and manually edit 
the ui file?

HTH, Regards,

Regards,

Richard Duivenvoorde

On 7/19/22 20:28, Janneke van Dijk via Qgis-user wrote:

Dear all,

I need a date widget that can be set to a null date. From 
https://qgis.org/pyqgis/master/gui/QgsDateEdit.html#module-QgsDateEdit 
 I 
understand that this should be possible (from 3.14 upwards). In Qt Designer 
(osgeo4W/bin/qgis-designer.bat which I understand is shipped with QGIS 3.26) I only 
see the QgsDateTimeEdit widget.

image.png

How can I use the QgsDateEdit widget?

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] qt designer does not have/show QgsDateEdit widget

2022-07-20 Thread Andrea Giudiceandrea via Qgis-user

*Janneke van Dijk*
/Tue Jul 19 11:28:30 PDT 2022/

In Qt Designer
(osgeo4W/bin/qgis-designer.bat which I understand is shipped with QGIS
3.26) I only see the QgsDateTimeEdit widget.

How can I use the QgsDateEdit widget?


Hi Janneke,
AFAIK only a subset of Qgs* gui classes are available as QGIS custom 
widgets plugins for Qt Designer: see [1].


In the meantime that you search for and eventually find a workaround, I 
think you could file a Feature Request [1] so that some developer can 
add the plugin in an next release.


Best regards.

Andrea Giudiceandrea

[1] https://github.com/qgis/QGIS/tree/master/src/customwidgets
[2] https://github.com/qgis/QGIS/issues/new/choose___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] qt designer does not have/show QgsDateEdit widget

2022-07-19 Thread Janneke van Dijk via Qgis-user
Dear all,

I need a date widget that can be set to a null date. From
https://qgis.org/pyqgis/master/gui/QgsDateEdit.html#module-QgsDateEdit I
understand that this should be possible (from 3.14 upwards). In Qt Designer
(osgeo4W/bin/qgis-designer.bat which I understand is shipped with QGIS
3.26) I only see the QgsDateTimeEdit widget.

[image: image.png]

How can I use the QgsDateEdit widget?

Thanks for your assistance,

Janneke
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qt designer with QGIS

2020-12-26 Thread Nicolas Cadieux
Thanks!

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 26 déc. 2020 à 15:08, Raymond Nijssen  a écrit :
> 
> Hi Nicolas,
> 
> Merry Christmas to you too.
> 
> My first plugins were based on the plugin-builder code as well, but currently 
> I'm always starting my plugins (almost) from scratch with the "minimal 
> plugin" code:
> 
> https://github.com/wonder-sk/qgis-minimal-plugin
> 
> 
> From there you can add all your stuff, both QGIS and Qt.
> 
> Toolbars, menus and buttons can be created in your code. For panels and 
> dialogs I'm using QtDesigner, which produces .ui files. You can open those in 
> your python code to create and show the widgets.
> 
> You can find an example over here:
> 
> https://github.com/rodekruis/sims_maps_qgis_plugin
> 
> Here's where it initiates the dialog from a .ui file:
> 
> https://github.com/rodekruis/sims_maps_qgis_plugin/blob/master/sims_maps/__init__.py#L109
> 
> Hope this helps!
> 
> Kind regards,
> Raymond
> 
> 
> 
>> On 26-12-2020 19:18, Nicolas Cadieux wrote:
>> Hi,
>> I’am looking for a good ressource to start figuring out Qt, QGIS plugins and 
>> GUI.  I’am getting good in Python but I am most utterly useless in the GUI 
>> word.  I did start to play with the QGIS plugin builder and various web 
>> sites associated to it.
>> If you have an up to date link to some ressources that can help me, send 
>> them my way.
>> Merry Christmas to all!
>> Nicolas Cadieux
>> https://gitlab.com/njacadieux
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qt designer with QGIS

2020-12-26 Thread Raymond Nijssen

Hi Nicolas,

Merry Christmas to you too.

My first plugins were based on the plugin-builder code as well, but 
currently I'm always starting my plugins (almost) from scratch with the 
"minimal plugin" code:


https://github.com/wonder-sk/qgis-minimal-plugin


From there you can add all your stuff, both QGIS and Qt.

Toolbars, menus and buttons can be created in your code. For panels and 
dialogs I'm using QtDesigner, which produces .ui files. You can open 
those in your python code to create and show the widgets.


You can find an example over here:

https://github.com/rodekruis/sims_maps_qgis_plugin

Here's where it initiates the dialog from a .ui file:

https://github.com/rodekruis/sims_maps_qgis_plugin/blob/master/sims_maps/__init__.py#L109

Hope this helps!

Kind regards,
Raymond



On 26-12-2020 19:18, Nicolas Cadieux wrote:

Hi,

I’am looking for a good ressource to start figuring out Qt, QGIS plugins 
and GUI.  I’am getting good in Python but I am most utterly useless in 
the GUI word.  I did start to play with the QGIS plugin builder and 
various web sites associated to it.


If you have an up to date link to some ressources that can help me, send 
them my way.


Merry Christmas to all!

Nicolas Cadieux
https://gitlab.com/njacadieux

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Qt designer with QGIS

2020-12-26 Thread Nicolas Cadieux
Hi,

I’am looking for a good ressource to start figuring out Qt, QGIS plugins and 
GUI.  I’am getting good in Python but I am most utterly useless in the GUI 
word.  I did start to play with the QGIS plugin builder and various web sites 
associated to it. 

If you have an up to date link to some ressources that can help me, send them 
my way. 

Merry Christmas to all!

Nicolas Cadieux
https://gitlab.com/njacadieux___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QT-Designer

2012-11-05 Thread Sylvia Preuß
Hello, thank you all for your help. I couldn't download the qt-designer from
OSGEO4W, but finally I downloaded it from the qt-project. 

Is it possible to save the objectform from qgis itself as a *.ui? Then I
would like to open this *.ui and would make only a few changes with the
qt-designer.

Greetings, Sylvia

-Original Message-
From: qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Andre Joost
Sent: Tuesday, September 25, 2012 7:39 AM
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] QT-Designer

Am 25.09.2012 02:40, schrieb Etienne Tourigny:

> On Mon, Sep 24, 2012 at 8:31 PM, Alister Hood 
>   wrote:
>>
>> The designer is only 704kb.  Perhaps it should be included in the
standalone QGIS installer...

+1

 >
> It probably has some dependencies though...
>

Using the Osgeo4w installer, the following packages are selected:
msvcrt
openssl
qt4-devel
qt4-libs
shapelib
zlib

so nothing special I think.

Greetings,
André Joost



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Der E-Mail-Dienst des Oberbergischen Kreises dient ausschliesslich der 
dienstlichen Kommunikation. 
Senden Sie deshalb keine E-Mails privaten Inhalts an E-Mail-Adressen des 
Oberbergischen Kreises.
Es wird darauf hingewiesen, dass neben der Person, an die Ihre E-Mail gerichtet 
ist, auch deren Vertretung im Amt einen unmittelbaren Zugriff auf Ihre 
Nachricht hat. Fuer Berufsgeheimnistraeger gelten abweichende Regelungen. 
Es wird ausserdem darauf hingewiesen, dass die Kommunikation per E-Mail ohne 
Authentifizierung und Verschluesselung unsicher ist, da fuer unberechtigte 
Dritte grundsaetzlich die Moeglichkeit der Kenntnisnahme und Manipulation 
besteht.
Es wird deshalb keine Verantwortung fuer den Inhalt dieser Nachricht 
uebernommen, da eine Manipulation nicht ausgeschlossen werden kann.
Obwohl alle angemessenen Vorkehrungen getroffen wurden, um sicherzustellen, 
dass Anlagen dieser E-Mail virusgeprueft sind, wird empfohlen, anhaengende 
Dateien vor dem Oeffnen durch Ihr eigenes Virus-Programm zu pruefen, da 
keinerlei Haftung fuer Schaeden uebernommen wird, die infolge etwaiger 
Software-Viren entstehen koennten.
Der Inhalt dieser E-Mail ist ausschliesslich fuer die bezeichnete Person 
bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen 
Vertretung sein sollten, beachten Sie bitte, dass jede Form der Kenntnisnahme, 
Veroeffentlichungg, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail 
unzulaessig ist. In diesem Fall wird darum gebeten, sich mit der absendenden 
Person der E-Mail in Verbindung zu setzen.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QT-Designer

2012-09-24 Thread Andre Joost

Am 25.09.2012 02:40, schrieb Etienne Tourigny:


On Mon, Sep 24, 2012 at 8:31 PM, Alister Hood
  wrote:


The designer is only 704kb.  Perhaps it should be included in the standalone 
QGIS installer...


+1

>

It probably has some dependencies though...



Using the Osgeo4w installer, the following packages are selected:
msvcrt
openssl
qt4-devel
qt4-libs
shapelib
zlib

so nothing special I think.

Greetings,
André Joost



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QT-Designer

2012-09-24 Thread Alister Hood
I don't think so.  I don't have a standalone QGIS installed to test, but I 
copied it into "C:\Program Files\NIWA_Quantum_Map\bin" (Quantum map is a 
simplified version of QGIS from NIWA) and it seems to run fine from there.

Also, from my osgeo4w install:

$ cygcheck designer
Found: C:\OSGeo4W\bin\designer.exe
C:\OSGeo4W\bin\designer.exe
  C:\OSGeo4W\bin\QtDesignerComponents4.dll
C:\OSGeo4W\bin\QtDesigner4.dll
  C:\OSGeo4W\bin\QtScript4.dll
C:\WINDOWS\system32\WINMM.dll
  C:\WINDOWS\system32\ADVAPI32.dll
C:\WINDOWS\system32\KERNEL32.dll
  C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
  C:\WINDOWS\system32\Secur32.dll
  C:\WINDOWS\system32\GDI32.dll
C:\WINDOWS\system32\USER32.dll
C:\OSGeo4W\bin\QtCore4.dll
  C:\WINDOWS\system32\ole32.dll
C:\WINDOWS\system32\msvcrt.dll
  C:\WINDOWS\system32\WS2_32.dll
C:\WINDOWS\system32\WS2HELP.dll
  C:\OSGeo4W\bin\zlib_osgeo.dll
C:\WINDOWS\system32\MSVCR71.dll
  C:\WINDOWS\system32\MSVCP90.dll
C:\WINDOWS\system32\MSVCR90.dll
  C:\OSGeo4W\bin\QtXml4.dll
  C:\OSGeo4W\bin\QtGui4.dll
C:\WINDOWS\system32\COMDLG32.dll
  C:\WINDOWS\system32\COMCTL32.dll
  C:\WINDOWS\system32\SHELL32.dll
C:\WINDOWS\system32\SHLWAPI.dll
C:\WINDOWS\system32\OLEAUT32.dll
C:\WINDOWS\system32\IMM32.dll
C:\WINDOWS\system32\WINSPOOL.DRV
  C:\OSGeo4W\bin\QtNetwork4.dll


> -Original Message-
> From: Etienne Tourigny [mailto:etourigny@gmail.com]
> Sent: Tuesday, 25 September 2012 12:41 p.m.
> To: Alister Hood
> Cc: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] QT-Designer
> 
> It probably has some dependencies though...
> 
> On Mon, Sep 24, 2012 at 8:31 PM, Alister Hood 
> wrote:
> >> Date: Mon, 24 Sep 2012 16:11:29 +0200
> >> From: Andre Joost 
> >> To: qgis-user@lists.osgeo.org
> >> Subject: Re: [Qgis-user] QT-Designer
> >> Message-ID: 
> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >>
> >> Am 24.09.2012 16:05, schrieb Bernd Vogelgesang:
> >>
> >> >
> >> > If anyone knows an easier way to get hands on the QT-Designer than
> >> > installing this huge creator thing, it would be nice to be told
> >> > about
> >> it.
> >> >
> >>
> >> The Osgeo4w Installer has all you want...
> >> qt4-dev is the package.
> >
> > The designer is only 704kb.  Perhaps it should be included in the
> standalone QGIS installer...
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QT-Designer

2012-09-24 Thread Etienne Tourigny
It probably has some dependencies though...

On Mon, Sep 24, 2012 at 8:31 PM, Alister Hood
 wrote:
>> Date: Mon, 24 Sep 2012 16:11:29 +0200
>> From: Andre Joost 
>> To: qgis-user@lists.osgeo.org
>> Subject: Re: [Qgis-user] QT-Designer
>> Message-ID: 
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Am 24.09.2012 16:05, schrieb Bernd Vogelgesang:
>>
>> >
>> > If anyone knows an easier way to get hands on the QT-Designer than
>> > installing this huge creator thing, it would be nice to be told about
>> it.
>> >
>>
>> The Osgeo4w Installer has all you want...
>> qt4-dev is the package.
>
> The designer is only 704kb.  Perhaps it should be included in the standalone 
> QGIS installer...
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QT-Designer

2012-09-24 Thread Alister Hood
> Date: Mon, 24 Sep 2012 16:11:29 +0200
> From: Andre Joost 
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] QT-Designer
> Message-ID: 
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Am 24.09.2012 16:05, schrieb Bernd Vogelgesang:
> 
> >
> > If anyone knows an easier way to get hands on the QT-Designer than
> > installing this huge creator thing, it would be nice to be told about
> it.
> >
> 
> The Osgeo4w Installer has all you want...
> qt4-dev is the package.

The designer is only 704kb.  Perhaps it should be included in the standalone 
QGIS installer...
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QT-Designer

2012-09-24 Thread Andre Joost

Am 24.09.2012 16:05, schrieb Bernd Vogelgesang:



If anyone knows an easier way to get hands on the QT-Designer than
installing this huge creator thing, it would be nice to be told about it.



The Osgeo4w Installer has all you want...
qt4-dev is the package.

HTH,
André Joost

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QT-Designer

2012-09-24 Thread Etienne Tourigny
2012/9/24 Bernd Vogelgesang :
> I don't think that the path you found is an installation of QTDesigner but
> rather the "connection" between qgis and the forms you create and load.
>
> I installed the QT4 Designer as part of a huge programm from Nokia, cause
> googling for that stuff didn't yield any other source.
> http://qt-project.org/downloads
> Its the QT Creator SDK which has 1.7 GB to download and with which you could
> program design all kinds of user interfaces. Somewhere hidden in the many
> things you can do there and which i do not understand at all, you find an
> option to create QT Designer User Form.
> Be sure to check QT Designer while installing, cause i missed that part and
> searched for ages for the QT Designer stuff, and only found out by
> installing again and then finding the checkbox and everything was there
> then.

Have you tried the online installer (15 MB)? Perhaps you can do a
minimal install (including designer), instead of the full installer
with everything.

>
> From that point on everything is quite easy, as you only have to drag new
> fields in your form and rename them according to your field names of your
> tabel.
>
> If anyone knows an easier way to get hands on the QT-Designer than
> installing this huge creator thing, it would be nice to be told about it.
>
> Greetz
> Bernd
>
> Am 24.09.2012 14:36, schrieb Sylvia Preuß:
>
> Dear list,
>
>
>
> how can I create a *.ui file with qt-designer? I want to create a new object
> with attributes and would like to use my own form to insert the attributes.
>
> C:\Programme\Quantum GIS Wroclaw\apps\Python27\sip\PyQt4\QtDesigner is
> installed. But I don’t know how to get it started.
>
>
>
> Postgis-Layer, Wroclaw
>
>
>
> Best regards
>
> Sylvia
>
>
> 
>
> Der E-Mail-Dienst des Oberbergischen Kreises dient ausschließlich der
> dienstlichen Kommunikation.
> Senden Sie deshalb keine E-Mails privaten Inhalts an E-Mail-Adressen des
> Oberbergischen Kreises.
> Es wird darauf hingewiesen, dass neben der Person, an die Ihre E-Mail
> gerichtet ist, auch deren Vertretung im Amt einen unmittelbaren Zugriff auf
> Ihre Nachricht hat. Für Berufsgeheimnisträger und besondere Funktionsträger
> gelten abweichende Regelungen.
> Es wird außerdem darauf hingewiesen, dass die Kommunikation per E-Mail o hne
> Authentifizierung und Verschlüsselung unsicher ist, da für unberechtigte
> Dritte grundsätzlich die Möglichkeit der Kenntnisnahme und Manipulation
> besteht.
> Es wird deshalb keine Verantwortung für den Inhalt dieser Nachricht
> übernommen, da eine Manipulation nicht ausgeschlossen werden kann.
> Obwohl alle angemessenen Vorkehrungen getroffen wurden, um sicherzustellen,
> dass Anlagen dieser E-Mail virusgeprüft sind, wird empfohlen, anhängende
> Dateien vor dem Öffnen durch Ihr eigenes Virus-Programm zu prüfen, da
> keinerlei Haftung für Schäden übernommen wird, die infolge etwaiger
> Software-Viren entstehen könnten.
> Der Inhalt dieser E-Mail ist ausschließlich für die bezeichnete Person
> bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen
> Vertretung sein sollten, beachten Sie bitte, dass jede Form der
> Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des
> Inhalts dieser E-Mail unzulässig ist. In diesem Fall wird darum gebeten,
> sich mit der absendenden Person der E-Mail in Verbindung zu setzen.
> 
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QT-Designer

2012-09-24 Thread Andre Joost

Am 24.09.2012 14:36, schrieb Sylvia Preuß:


how can I create a *.ui file with qt-designer? I want to create a new
object with attributes and would like to use my own form to insert
the attributes.

C:\Programme\Quantum GIS Wroclaw\apps\Python27\sip\PyQt4\QtDesigner
is installed. But I don’t know how to get it started.


No, that won't help you. You need the qt4-dev package from the 
osgeo4w-setup-Installation. It will not harm your standalone Qgis 
Wroclaw Installation.


Once installed you will find designer.exe in C:\Osgeo4w\bin.
To make the ui usable in qgis, you have to use the same field names as 
in your data.


Here are some blogs about designing ui:





HTH,
André Joost

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QT-Designer

2012-09-24 Thread Bernd Vogelgesang
I don't think that the path you found is an installation of QTDesigner 
but rather the "connection" between qgis and the forms you create and load.


I installed the QT4 Designer as part of a huge programm from Nokia, 
cause googling for that stuff didn't yield any other source.

http://qt-project.org/downloads
Its the QT Creator SDK which has 1.7 GB to download and with which you 
could program design all kinds of user interfaces. Somewhere hidden in 
the many things you can do there and which i do not understand at all, 
you find an option to create QT Designer User Form.
Be sure to check QT Designer while installing, cause i missed that part 
and searched for ages for the QT Designer stuff, and only found out by 
installing again and then finding the checkbox and everything was there 
then.


From that point on everything is quite easy, as you only have to drag 
new fields in your form and rename them according to your field names of 
your tabel.


If anyone knows an easier way to get hands on the QT-Designer than 
installing this huge creator thing, it would be nice to be told about it.


Greetz
Bernd

Am 24.09.2012 14:36, schrieb Sylvia Preuß:


Dear list,

how can I create a *.ui file with qt-designer? I want to create a new 
object with attributes and would like to use my own form to insert the 
attributes.


C:\Programme\Quantum GIS Wroclaw\apps\Python27\sip\PyQt4\QtDesigner is 
installed. But I don't know how to get it started.


Postgis-Layer, Wroclaw

Best regards

Sylvia



*
Der E-Mail-Dienst des Oberbergischen Kreises dient ausschließlich der 
dienstlichen Kommunikation.
Senden Sie deshalb keine E-Mails privaten Inhalts an E-Mail-Adressen 
des Oberbergischen Kreises.*
Es wird darauf hingewiesen, dass neben der Person, an die Ihre E-Mail 
gerichtet ist, auch deren Vertretung im Amt einen unmittelbaren 
Zugriff auf Ihre Nachricht hat. Für Berufsgeheimnisträger und 
besondere Funktionsträger gelten abweichende Regelungen.
Es wird außerdem darauf hingewiesen, dass die Kommunikation per E-Mail 
o hne Authentifizierung und Verschlüsselung unsicher ist, da für 
unberechtigte Dritte grundsätzlich die Möglichkeit der Kenntnisnahme 
und Manipulation besteht.
Es wird deshalb keine Verantwortung für den Inhalt dieser Nachricht 
übernommen, da eine Manipulation nicht ausgeschlossen werden kann.
Obwohl alle angemessenen Vorkehrungen getroffen wurden, um 
sicherzustellen, dass Anlagen dieser E-Mail virusgeprüft sind, wird 
empfohlen, anhängende Dateien vor dem Öffnen durch Ihr eigenes 
Virus-Programm zu prüfen, da keinerlei Haftung für Schäden übernommen 
wird, die infolge etwaiger Software-Viren entstehen könnten.
Der Inhalt dieser E-Mail ist ausschließlich für die bezeichnete Person 
bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder 
dessen Vertretung sein sollten, beachten Sie bitte, dass jede Form der 
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des 
Inhalts dieser E-Mail unzulässig ist. In diesem Fall wird darum 
gebeten, sich mit der absendenden Person der E-Mail in Verbindung zu 
setzen.





___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QT-Designer

2012-09-24 Thread Sylvia Preuß
Dear list,

 

how can I create a *.ui file with qt-designer? I want to create a new object
with attributes and would like to use my own form to insert the attributes. 

C:\Programme\Quantum GIS Wroclaw\apps\Python27\sip\PyQt4\QtDesigner is
installed. But I don’t know how to get it started.

 

Postgis-Layer, Wroclaw

 

Best regards

Sylvia



Der E-Mail-Dienst des Oberbergischen Kreises dient ausschliesslich der 
dienstlichen Kommunikation. 
Senden Sie deshalb keine E-Mails privaten Inhalts an E-Mail-Adressen des 
Oberbergischen Kreises.
Es wird darauf hingewiesen, dass neben der Person, an die Ihre E-Mail gerichtet 
ist, auch deren Vertretung im Amt einen unmittelbaren Zugriff auf Ihre 
Nachricht hat. Fuer Berufsgeheimnistraeger gelten abweichende Regelungen. 
Es wird ausserdem darauf hingewiesen, dass die Kommunikation per E-Mail ohne 
Authentifizierung und Verschluesselung unsicher ist, da fuer unberechtigte 
Dritte grundsaetzlich die Moeglichkeit der Kenntnisnahme und Manipulation 
besteht.
Es wird deshalb keine Verantwortung fuer den Inhalt dieser Nachricht 
uebernommen, da eine Manipulation nicht ausgeschlossen werden kann.
Obwohl alle angemessenen Vorkehrungen getroffen wurden, um sicherzustellen, 
dass Anlagen dieser E-Mail virusgeprueft sind, wird empfohlen, anhaengende 
Dateien vor dem Oeffnen durch I
 hr eigenes Virus-Programm zu pruefen, da keinerlei Haftung fuer Schaeden 
uebernommen wird, die infolge etwaiger Software-Viren entstehen koennten.
Der Inhalt dieser E-Mail ist ausschliesslich fuer die bezeichnete Person 
bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen 
Vertretung sein sollten, beachten Sie bitte, dass jede Form der Kenntnisnahme, 
Veroeffentlichungg, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail 
unzulaessig ist. In diesem Fall wird darum gebeten, sich mit der absendenden 
Person der E-Mail in Verbindung zu setzen.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Qt designer

2011-07-28 Thread magana71
Good afternoon
I created a form with the Qt designer to associate with the QGIS, but I
encountered the following problem:
I created two Radio Button to characterize the gender (male and female) and
put them into a Group Box My doubt is how do I associate the Radio Button to
the attribute table of shapefile created in QGIS? I tried to create fields
with the same name of Radio Button, but it did not work.
with Check box have no problems, I put the same field name in the Check box
and everything runs smoothly.
Does anyone have a solution?

Best regards
Marco Magalhães 

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Qt-designer-tp6629263p6629263.html
Sent from the qgis-user mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user