Results 1 to 4 of 4

Thread: software development architecture...

  1. #1
    Join Date
    Feb 2009
    Posts
    189
    Thanks
    2

    Default software development architecture...

    Friends I am going to build a software for CFD(computational fluid dynamics) application using Qt…I need your help…. I am not sure what kind of Architecture I’ll develop…..Like I’ll have a mainwindow where I’ll have a menuBar,a toolbar,a statusBar,a console window(info window), a treeView(where I’ll have all the parts being loaded) and the Client window (or the mainview which will be a graphicsview I guess I am not sure.)

    Kindly tell me whether my thoughts are ok ? Actually I need some more details about the design and development..

    Like I’ll have a class derived from the QMainwindow for the mainwindow right ? and I’ll have a GraphicsView with GraphicsScene objects tha’ll be displayed on the mainwindow…

    How would go for that…….I have tried to show a graphicsview on the mainwindow and showing the mainwindow in the main()…But the view is not coming…..Hhow would I display my parts on the mainwindow……
    Please tell me how would I go about that all……I need your complete guidance…

  2. #2
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: software development architecture...

    well, u can definitely show a view inside a QMainWindow..just call

    setCentralWidget(_yourView);

    ur view will have a scene and this scene will have different graphic items which are essentially QGraphicsProxyWidgets

    it should work for you

  3. #3
    Join Date
    Feb 2009
    Posts
    189
    Thanks
    2

    Default Re: software development architecture...

    When I am trying to create a mdi application and in the newFile slot I create a QGraphicsView but when I execute the program the view is appearing and instantly going off……what could be the problem…???

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 975 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: software development architecture...

    Quote Originally Posted by sujan.dasmahapatra View Post
    I create a QGraphicsView but when I execute the program the view is appearing and instantly going off
    Do you create that QGV on the heap?

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.