Results 1 to 10 of 10

Thread: extend the standard context menu of qtextedit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Posts
    6
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: extend the standard context menu of qtextedit

    Quote Originally Posted by wysota View Post
    You were "pre-creating" the context menu and trying to reuse it with each context menu request but the menu and its actions are created based on the current state of the editor (the actions are not updated), so they didn't reflect any changes (such as selecting text) that happened after you called createStandardContextMenu().
    I get it. Thanks for your help!

  2. #2
    Join Date
    Mar 2010
    Posts
    10
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: extend the standard context menu of qtextedit

    Seems customContextMenuRequest has now been changed to customContextMenuRequested

Similar Threads

  1. Context menu on tab
    By wolfi3b in forum Newbie
    Replies: 2
    Last Post: 18th October 2010, 17:35
  2. Two context menu for a treewidget
    By phillip_Qt in forum Qt Programming
    Replies: 2
    Last Post: 24th November 2009, 11:06
  3. Context menu
    By dejvis in forum Newbie
    Replies: 2
    Last Post: 20th September 2009, 22:02
  4. Qwt and context menu
    By giusepped in forum Qwt
    Replies: 1
    Last Post: 9th December 2008, 08:55
  5. Context Menu
    By RY in forum Newbie
    Replies: 1
    Last Post: 10th September 2008, 07:59

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.