Results 1 to 3 of 3

Thread: Why a Widget extending TableView has not any edit trigger activated?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Why a Widget extending TableView has not any edit trigger activated?

    I have a Widget extending TableView,
    Ok, I have to define the edittriggers because there is nothing active.
    I have not declared any behavior, neither reimplemented functions.

    However, a simple TableView dropped onto myform has all edit triggers activated.
    I dont understand why is the reason becasue 'mytable' (my widget extendin tableview) has no edit triggers ?
    Any Idea ? Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Why a Widget extending TableView has not any edit trigger activated?

    How should we know? Ask the widget author! Oh... you are the widget author - so you should know, ask yourself. We don't have access to your code.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Why a Widget extending TableView has not any edit trigger activated?

    Excuse me, I had making tests with a custom model, a custom table, a standard model, etc.
    I dont know where is the problem, now it is solved. Maybe it is thanks to a qtcreator 'reset' (close and reopen) and /or clean.
    Excuse me again.

Similar Threads

  1. display custom widget in a TableView
    By code_talker in forum Qt Programming
    Replies: 4
    Last Post: 4th August 2012, 21:40
  2. Replies: 18
    Last Post: 11th March 2011, 13:21
  3. Use of same widget for display and edit in model-view
    By NIRANJAN BAI in forum Qt Programming
    Replies: 9
    Last Post: 17th February 2011, 21:31
  4. Edit TableView Content
    By emorgen in forum Newbie
    Replies: 7
    Last Post: 2nd June 2010, 22:00
  5. TableView + SqlQueryModel: can't insert or edit rows
    By jiveaxe in forum Qt Programming
    Replies: 3
    Last Post: 27th September 2008, 21:55

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.