Results 1 to 20 of 38

Thread: apparently impossible qobject_cast is working!?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #18
    Join Date
    May 2009
    Posts
    147
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    11
    Thanked 6 Times in 5 Posts

    Default Re: apparently impossible qobject_cast is working!?

    Can you show me a case where you would "need" to use the QAbstractProxyModel API of the completion model ?
    <qt installation dir>/examples/tools/treemodelcompleter/mainwindow.cpp: highlight member function.

    every time we need to map the highlighted completion item to the original model the completion is performed for,
    we need to use the QAbstractProxyModel API of the completion model.

    in this qt's own example we need to do so in order to highlight the user's choice of the completion in the original model.

    Of course they are. For instance the "private" sections of classes in C++ are examples of such case.
    it is access to them in the programming environment that is restricted, not the knowledge about the existence and function of them in the documentation.
    at least for those that programmer can makes use of them (e.g. in subclassing).
    Last edited by FS Lover; 1st June 2009 at 07:14.

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.