def filterChanged(self, filter):
        """Filter out the elements in the list view

        """
        regExp = QtCore.QRegExp(filter, QtCore.Qt.CaseSensitive,
                                QtCore.QRegExp.Wildcard)
        self.__proxyModel.setFilterRegExp(regExp)
    def filter_changed(self, filter):
        """Filter out the elements in the list view

        """
        regExp = QtCore.QRegExp(filter, QtCore.Qt.CaseSensitive,
                                QtCore.QRegExp.Wildcard)
        self.__proxyModel.setFilterRegExp(regExp)
        self.gmcUIInst.info_plainTextEdit.setPlainText("")
示例#3
0
 def filterChanged(self, filter):
     regExp = QtCore.QRegExp(filter,
                             QtCore.Qt.CaseSensitive,
                             QtCore.QRegExp.Wildcard
                             )
     self.__proxyModel.setFilterRegExp(regExp)