octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53443] Compile warning when casting QVariant


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53443] Compile warning when casting QVariant to (QWidget *)
Date: Mon, 9 Apr 2018 18:39:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #22, bug #53443 (project octave):

Dan is right, Octave doesn't have any access programmatically to the tab bars
that the QMainWindow controls. They are created on the fly as widgets are
moved around and stacked on top of each other in the docked layout that we
use.

I crawled through the Qt code a bit and found that the actual call to
setTabData is passing a quintptr, which is Qt's version of the POSIX type
uintptr_t. And the quintptr is just a reinterpret_cast<quintptr> of the
address of the widget being added to the tab layout.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53443>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]