def child_added(self, child):
        super(QtSplitter, self).child_added(child)
        if isinstance(child, QtSplitItem):
            for index, dchild in enumerate(self.children()):
                if child is dchild:
                    self.widget.insertWidget(index, child.widget)

    # QSplitter automatically removes a widget when it's reparented. The
    # base child_removed event handler will set the parent to None, and
    # that is all that is needed.

    #--------------------------------------------------------------------------
    # Utility Methods
    #--------------------------------------------------------------------------
optionally initialize with key
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_splitter.py/QtSplitter.child_added--crossover with--dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/utils/crypto/keyedHash/hmacHash.py/HMAC_MD5.__init__