Results 1 to 2 of 2

Thread: how to use cvGetWindowName from QWidget?

  1. #1
    Join Date
    Aug 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default how to use cvGetWindowName from QWidget?

    Hi,
    I have this problem, I have application in Qt and I have plug-in in only OpenCv.
    I need to use function cvGetWindowName in my application to get window name
    for plug-in. In plug-in image shows. I do not need to show new window, but to show in my application window.

    For example:
    ...
    Gui window;
    const char *cvWindow = cvGetWindowName(window.uiGui->qwidget);
    cvShowImage(cvWindow, img);
    window.show();
    ...

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to use cvGetWindowName from QWidget?

    Have a look at QWidget::windowTitle ().
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 1
    Last Post: 16th September 2010, 15:57
  2. Promoting the parent QWidget of a QWidget form
    By extrakun in forum Qt Tools
    Replies: 6
    Last Post: 16th April 2010, 14:19
  3. Replies: 1
    Last Post: 12th April 2010, 12:55
  4. Replies: 3
    Last Post: 1st April 2010, 23:56
  5. Replies: 1
    Last Post: 2nd May 2006, 21:11

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.