Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. child

    Log in to post
    • All categories
    • Emrecp

      Unsolved QDialog in QMainwinndow and make the background dark
      Qt for Python • python qmainwindow qdialog child widget • • Emrecp

      6
      0
      Votes
      6
      Posts
      641
      Views

      SGaist

      So you want a modal dialog that is in fact loaded within a widget inside your QMainWindow class ?

      You can manually set the modality of your dialog with setModal.

    • M

      Solved Handing events from children to parent widget?
      General and Desktop • child parent event passing click • • m1212e

      8
      0
      Votes
      8
      Posts
      8165
      Views

      M

      @jsulm
      Okay, that helped me a lot. Thank you very much!

    • M

      Unsolved QListWidgtem(Item) parent and child
      General and Desktop • qlistwidgetitem parent child • • Meugiwara

      7
      0
      Votes
      7
      Posts
      2843
      Views

      mrjj

      @VRonin
      Oh and you provide a model based solution. Much more elegant :)
      https://forum.qt.io/topic/72974/link-two-qlistwidget/4

    • A

      Unsolved Child Window in taskbar
      General and Desktop • window taskbar child • • ars1614

      10
      0
      Votes
      10
      Posts
      5045
      Views

      S

      @Radek Thank you very much Radek you helped me so much.
      even 4 years after your answer.

    • Ratzz

      Solved How to rename a child with only parent index known in a treeview ?
      General and Desktop • qtreeview index parent child • • Ratzz

      3
      0
      Votes
      3
      Posts
      1229
      Views

      Ratzz

      @kshegunov
      Thanks for your reply.
      Yes retrieving the child model via child and then setting data worked for me .

    • P

      Unsolved Add another application into another as a QWidget?
      General and Desktop • qwidget parent child • • pauliedunne

      2
      0
      Votes
      2
      Posts
      833
      Views

      SGaist

      Hi,

      Isn't that pretty much the same question as here ?

    • shavera

      How to identify child class when overriding childEvent?
      General and Desktop • child event qobject • • shavera

      1
      0
      Votes
      1
      Posts
      871
      Views

      No one has replied

    • shavera

      When to setParent on injected QObjects?
      General and Desktop • parent child qobject • • shavera

      6
      0
      Votes
      6
      Posts
      2973
      Views

      shavera

      @Chris-Kawa That's a valid point I hadn't considered. I'll just have to give this some more thought.

      It seems like maybe the most "Qt-correct" design would be to override childEvent(QChildEvent* event) to take the pointer into the member object when a child is added to the parent object. This would then, at least, bypass the need to call "findChild" over and over again.

    • mmirsky

      Macosx QWarning "Attempt to set a screen on a child window."
      General and Desktop • macosx mainwindow screen child window • • mmirsky

      2
      0
      Votes
      2
      Posts
      2428
      Views

      mmirsky

      Compiled and rebuilt with Qt5.5.0 (beta). Unfortunately, the problem persists.