Results 1 to 4 of 4

Thread: custom widgets events handling and loading through QUiLoader

  1. #1
    Join Date
    Mar 2012
    Location
    India
    Posts
    102
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: custom widgets events handling and loading through QUiLoader

    HI,

    I have one client and one server application running on my machine. The client application consists of a QUiLoader class which loads a form as specified by the server. The server sends the name of the form to be loaded and also the default values of the widget. I have created my own custom widget and made forms out of this. The client app is able to load this widget also. Now I want to associate some default events with the custom widget. I want that whenever I press enter after entering some data in say a custom LineEdit then that data should be sent to the server. But I dont want to add this to the client application because I want to make the client application as a generic application that can load any form as told by the server.

    I want to write this code in the custom widget code. But how to send this acquired data to the server is a problem.

    Please help.

    Thanks in advance,
    Charvi.



    P.S.: In other words how do I take user inputs (like in a line edit) in dynamically loaded form without affecting my application which loads the custom forms.


    Added after 55 minutes:


    Will QT Quick, QML and Qt Declarative be of any help in my context of use. I am not too much familiar with then just bumped across the names.


    Added after 9 minutes:


    Will QT Quick, QML and Qt Declarative be of any help in my context of use. I am not too much familiar with then just bumped across the names.
    Last edited by Charvi; 16th May 2012 at 09:03.

  2. #2
    Join Date
    Mar 2012
    Location
    India
    Posts
    102
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: custom widgets events handling and loading through QUiLoader

    Bump........
    Anybody thr ?

  3. #3
    Join Date
    Mar 2012
    Location
    India
    Posts
    102
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: custom widgets events handling and loading through QUiLoader

    One more bump..................

  4. #4
    Join Date
    Mar 2012
    Location
    India
    Posts
    102
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: custom widgets events handling and loading through QUiLoader

    will using some custom xml parser instead of QUiLoader help or will that only increase the complexity ?

Similar Threads

  1. Replies: 1
    Last Post: 18th July 2012, 10:59
  2. undefined reference to `QUiLoader::QUiLoader(QObject*)'
    By ashukla in forum Qt Programming
    Replies: 7
    Last Post: 7th October 2011, 19:05
  3. Replies: 1
    Last Post: 27th August 2011, 10:39
  4. Replies: 18
    Last Post: 21st May 2010, 16:08
  5. Plugin Loading and Signal Handling in Qt4
    By liquid in forum Newbie
    Replies: 4
    Last Post: 25th January 2008, 10:53

Tags for this Thread

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.