Results 1 to 6 of 6

Thread: Design Check

  1. #1
    Join Date
    Jun 2009
    Location
    Bangalore
    Posts
    21
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Design Check

    Hi, I am new to Qt and designing an UI for my application like.. designg.gif.

    To get a look like this, I am doing the following things..
    - created a mydialog subclass from QDialog
    - created vertical box layout and added menu bar & mytabwidget to it
    - created mytabwidget -derived from QWidget
    - created horizondal layout with two widgets added for treeview and other controls
    - called mydialog subclass from main

    just want to check the approach what I am doing for this design is correct.
    let me know is there any better way to do this ?

    Thx in advance.

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Design Check

    If the picture above mention is the application rather than the dialog, then derive it from QMainWindow rather than QDialog. If the output that you're getting is what you want then every approach is good.

  3. The following user says thank you to sonulohani for this useful post:

    prady (29th June 2012)

  4. #3
    Join Date
    Jun 2009
    Location
    Bangalore
    Posts
    21
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Design Check

    Hi,

    I changed QDialog to QMainWindow now, looks neat. In my application instead of "other controls" I need to call external application with parameters, and show the output. Is IPC is the way to achieve this ? if so I am not getting any help on this.. could anyone suggest me how to do this, even any links with example will help me.

    Thx,

  5. #4
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Design Check

    Hey, Use QProcess. It will call the other process.

  6. #5
    Join Date
    Jun 2009
    Location
    Bangalore
    Posts
    21
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Design Check

    I want to use the called application as part for the main application, and want to work in both the application simultaneously. still I can use QProcess ?

  7. #6
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Design Check

    yup that you can do it... use QProcess.....

Similar Threads

  1. Tab Design
    By FoleyX90 in forum Newbie
    Replies: 11
    Last Post: 3rd May 2010, 18:14
  2. Design help please
    By munna in forum General Programming
    Replies: 1
    Last Post: 31st May 2009, 18:05
  3. C++/QT Design
    By xmeister in forum Newbie
    Replies: 6
    Last Post: 2nd April 2009, 02:39
  4. Replies: 3
    Last Post: 5th October 2008, 23:41
  5. Design help please
    By munna in forum General Programming
    Replies: 1
    Last Post: 12th October 2006, 22:50

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