Results 1 to 3 of 3

Thread: Change widget type

  1. #1
    Join Date
    Apr 2008
    Location
    Pittsburgh,PA,USA
    Posts
    48
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Change widget type

    I have 1/6 dozen widgets I want to change from QLineEdit to QSpinBox in the designer. What is the simplest way to do that? I ask now because I this is not the first time this week I wanted to change the widget type and manually doing this seems to be a big waste of time.
    John

  2. #2
    Join Date
    Apr 2008
    Location
    Pittsburgh,PA,USA
    Posts
    48
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Change widget type

    Search and replace in a text editor seems to have solved this. It did wipe out the initial values but I can fix that.
    John

  3. #3
    Join Date
    Apr 2008
    Location
    Pittsburgh,PA,USA
    Posts
    48
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Change widget type

    I meant 1/2 dozen.. in the first post.

    Hmm, no way to edit posts on this forum?

    [EDIT]Okay, I can edit the last post only and it seems there is a timeout..[/EDIT]
    John

Similar Threads

  1. QDockWidget inside another widget in the center?
    By Antebios in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2010, 07:06
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  3. dummy question(Error)
    By Masih in forum Qt Programming
    Replies: 12
    Last Post: 19th July 2007, 23:38
  4. Recommend right widget type please
    By hvengel in forum Qt Tools
    Replies: 2
    Last Post: 18th March 2007, 20:58
  5. How to dinamically change the type of a QCheckListItem
    By kalos80 in forum Qt Programming
    Replies: 4
    Last Post: 12th March 2007, 15:25

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.