Results 1 to 2 of 2

Thread: QWizard fields and custom properties

  1. #1
    Join Date
    Sep 2009
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default QWizard fields and custom properties

    Hi, I'm working with QWizard and I have a problem related to fields.

    I have a class which has its own property defined in this way:
    Qt Code:
    1. Q_PROPERTY(QString file READ file WRITE setFile)
    To copy to clipboard, switch view to plain text mode 

    It emits a signal called selectionChanged()

    In the code where I subclass QWizardPage I add the following code:
    Qt Code:
    1. registerField("packageIcon",m_pPackageIconEdit,"file",SIGNAL(selectionChanged()));
    To copy to clipboard, switch view to plain text mode 
    where pPackageIconEdit is an instance of the class above.

    The problem is that the field is not registered, and in the following pages the field is left blank.

    What should I do?

  2. #2
    Join Date
    Feb 2010
    Posts
    24
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Question Re: QWizard fields and custom properties

    Have you found a fix for this ? I have a similar problem

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.