def pathSearch(self): """ Returns the value of path search from the QSettings. """ return qvariant_converter.getBool(self.settingsRetrieve("path_search"))
def _setPathSearch(self): """ Sets the path search checkbox to the stored value. """ pathSearch = qvariant_converter.getBool(QApplication.instance().settings.value(QString("path_search"))) self.content.pathBox.setChecked(pathSearch)