<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # QChildEvent Class Reference ## [[QtCore](index.htm) module] 該QChildEvent類包含事件參數的子對象的事件。[More...](#details) 繼承[QEvent](qevent.html)。 ### Methods * `__init__ (self, QEvent.Type?type, QObject?child)` * `__init__ (self, QChildEvent)` * `bool added (self)` * `QObject child (self)` * `bool polished (self)` * `bool removed (self)` * * * ## Detailed Description 該QChildEvent類包含事件參數的子對象的事件。 孩子的事件會立即發送到對象時,孩子們被添加或刪除。 在這兩種情況下,你只能依靠孩子作為一個[QObject](qobject.html)(或者,如果[QObject.isWidgetType](qobject.html#isWidgetType)( )返回True ,一[QWidget](qwidget.html)) 。這是因為在[QEvent.ChildAdded](qevent.html#Type-enum)區分孩子還沒有完全建成,而在[QEvent.ChildRemoved](qevent.html#Type-enum)情況下,它可能已被破壞。 該處理器為這些事件是[QObject.childEvent](qobject.html#childEvent)( ) 。 * * * ## Method Documentation ``` QChildEvent.__init__ (self, QEvent.Type?type, QObject?child) ``` 構建了一個特定的子事件對象_type_為_child_。 _type_可以[QEvent.ChildAdded](qevent.html#Type-enum),[QEvent.ChildRemoved](qevent.html#Type-enum),[QEvent.ChildPolished](qevent.html#Type-enum)或[QEvent.ChildRemoved](qevent.html#Type-enum)。 **See also** [child](qchildevent.html#child)( ) 。 ``` QChildEvent.__init__ (self, QChildEvent) ``` ``` bool QChildEvent.added (self) ``` 返回True如果[type](qevent.html#type)()是[QEvent.ChildAdded](qevent.html#Type-enum)否則返回False 。 ``` QObject QChildEvent.child (self) ``` [ 返回已添加或刪除的子對象。 ``` bool QChildEvent.polished (self) ``` ](qobject.html) [返回True如果](qobject.html)[type](qevent.html#type)()是[QEvent.ChildPolished](qevent.html#Type-enum)否則返回False 。 ``` bool QChildEvent.removed (self) ``` 返回True如果[type](qevent.html#type)()是[QEvent.ChildRemoved](qevent.html#Type-enum)否則返回False 。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看