Results 1 to 5 of 5

Thread: Problem in Cut Operation

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem in Cut Operation

    Quote Originally Posted by ankurjain
    but since i was put in a team in which design and work was already going on. and this table was constructed using QTableWidget instead of using Model/View Architecture.
    It doesn't mean the team can't change its decisions, right? You'll experience lots of problems with the itembased approach. The model-view architecture handles some aspects of the application on its own. Without it, you'll have much more coding to do.

    I actually want the border around the cell ( sry for bad english ) or if a row is selected the border ( rectangle ) around the row.
    And the problem is...? Drawing the selection is the views and delegates responsibility. You have a selection model associated with the view and you can act depending on its contents.

    i am calling the editor in the delegate. as one requirement was like that, bigger editor window on dbl clking the cell.
    I don't quite understand... You want to have two different kinds of editors? That surely doesn't require changing the delegate upon a click on the cell.

    Can i edit data also and update it in Model/View architecuture ??
    Of course you can.

    Also deadline is close for 1st release, so i can't change the design right now.
    It's not that much more work as you think. And you'll probably save some time later. It's better to correct misdesigns earlier, because the consequences of such misdesigned won't require as many changes to the application as when you want to correct them on a later stage.

  2. The following user says thank you to wysota for this useful post:

    ankurjain (14th April 2006)

  3. #2
    Join Date
    Mar 2006
    Location
    Vadodara, Gujarat, India
    Posts
    65
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem in Cut Operation

    ok,

    right now i m working towards alpha release ( 1 day more to go, hiw can i cahnge the design rite now) , after this release i will try to change the design again and communicate to team and integrate with their code.

    if some problem there i will again post here.

    Thanx 4 guidance.
    Do what u r afraid to do, and the death of fear is sure.

Similar Threads

  1. Replies: 8
    Last Post: 27th March 2013, 11:51
  2. discontinuous QTimeLine problem
    By yagabey in forum Qt Programming
    Replies: 0
    Last Post: 2nd December 2008, 21:20
  3. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  4. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  5. change of ownershiip operation not permaitted while build
    By quickNitin in forum Installation and Deployment
    Replies: 5
    Last Post: 16th May 2006, 12:13

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.