Results 1 to 12 of 12

Thread: Config Dialog in qt designer

  1. #1
    Join Date
    Sep 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default Config Dialog in qt designer

    Hello my friends

    How can I make a Config Dialog using the qt designer.

    This link, but this is not used qt designer

    http://doc.trolltech.com/4.2/dialogs-configdialog.html





    I prefer to use the qt designer on the use of code.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Config Dialog in qt designer

    On the left is a QListWidget
    On the right is a QStackedWidget
    On the bottom is a QPushButton
    All is added to layouts.

    The pages are QWidgets added to the stacked widget.

  3. #3
    Join Date
    Sep 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Config Dialog in qt designer

    Quote Originally Posted by tbscope View Post
    On the left is a QListWidget
    On the right is a QStackedWidget
    On the bottom is a QPushButton
    All is added to layouts.

    The pages are QWidgets added to the stacked widget.
    When I press on the QListWidget.
    How to change slide QStackedWidget ???
    Last edited by Jeneo W.; 15th September 2010 at 10:19.

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Config Dialog in qt designer

    See for signal and slots in the documentation or simply READ the example you mentioned.

  5. #5
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Config Dialog in qt designer


  6. #6
    Join Date
    Sep 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Config Dialog in qt designer

    Quote Originally Posted by Lykurg View Post
    See for signal and slots in the documentation or simply READ the example you mentioned.
    Quote Originally Posted by Zlatomir View Post


    Do you work this with the qt designer?

  7. #7
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Config Dialog in qt designer

    You may be should first understand the basic principles how Qt work, then you can do it with any gui tool you like. (And yes you can use signal and slots with designer)

    And I
    personally
    don't like
    text
    which
    is
    aligned
    strange
    for no
    reason.
    Plain text in black is fine, too

  8. #8
    Join Date
    Jan 2009
    Location
    The Netherlands and Spain
    Posts
    150
    Thanks
    6
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Config Dialog in qt designer

    lol
    lol
    lol

  9. #9
    Join Date
    Sep 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Config Dialog in qt designer

    Hello,
    I have a problem in the project.
    Icon is very small.
    How can I make a larger QListWidget ??
    And how to make spaces between the icons ??



  10. #10
    Join Date
    Jun 2010
    Posts
    142
    Thanks
    11
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Config Dialog in qt designer

    Under the Property Editor for the list widget, look for the gridSize property. Set it to whatever they set it to in the example code.

  11. #11
    Join Date
    Sep 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Config Dialog in qt designer

    Quote Originally Posted by MTK358 View Post
    Under the Property Editor for the list widget, look for the gridSize property. Set it to whatever they set it to in the example code.
    I did not find gridSize.
    When you translate the program becomes very small

    See attachments ===> widget.ui
    Last edited by Jeneo W.; 15th September 2010 at 13:58.

  12. #12
    Join Date
    Jun 2010
    Posts
    142
    Thanks
    11
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Config Dialog in qt designer

    Quote Originally Posted by Jeneo W. View Post
    I did not find gridSize.
    See the attachment.
    Attached Images Attached Images

Similar Threads

  1. Qt Designer's style sheet editor dialog
    By GreenScape in forum Qt Programming
    Replies: 2
    Last Post: 21st July 2010, 18:47
  2. QtColorPicker in Qt designer dialog
    By mgb in forum Qt Programming
    Replies: 1
    Last Post: 11th January 2010, 10:17
  3. TreeView used in Qt Designer New Form dialog?
    By Bitruder in forum Qt Programming
    Replies: 2
    Last Post: 6th May 2009, 21:40
  4. qt designer 4.4.1 dialog properties
    By jjbabu in forum Qt Tools
    Replies: 1
    Last Post: 1st October 2008, 09:55
  5. pkg-config
    By becrux in forum Qt Programming
    Replies: 0
    Last Post: 28th July 2008, 18:20

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
  •  
Qt is a trademark of The Qt Company.