Exemplo n.º 1
0
    def search_controlled(self):

        self.thesaurus_search = ThesaurusSearch.ThesaurusSearch(
            add_term_function=self.add_keyword, parent=self
        )
        self.thesaurus_search.setWindowTitle("Search USGS Controlled Vocabularies")
        self.thesaurus_search.show()
Exemplo n.º 2
0
    def browse_iso(self):
        self.iso_browse = ThesaurusSearch.ThesaurusSearch(add_term_function=self.add_keyword)
        self.iso_browse.load_iso()

        fg = self.frameGeometry()
        self.iso_browse.move(fg.topRight() - QPoint(150, -25))
        self.iso_browse.show()
Exemplo n.º 3
0
    def search_controlled(self):
        self.thesaurus_search = ThesaurusSearch.ThesaurusSearch(add_term_function=self.add_keyword)

        self.thesaurus_search.setWindowTitle('Theme Keyword Thesaurus Search')

        fg = self.frameGeometry()
        self.thesaurus_search.move(fg.topRight() - QPoint(150, -25))

        self.thesaurus_search.show()
Exemplo n.º 4
0
    def search_controlled(self):
        """
        Open a USGS controlled vocabulary search widget to find keywords.

        Returns
        -------
        None
        """
        self.thesaurus_search = ThesaurusSearch.ThesaurusSearch(
            add_term_function=self.add_keyword)

        self.thesaurus_search.setWindowTitle('Theme Keyword Thesaurus Search')

        fg = self.frameGeometry()
        self.thesaurus_search.move(fg.topRight() - QPoint(150, -25))

        self.thesaurus_search.show()
Exemplo n.º 5
0
    def search_controlled(self):
        """
        Open a USGS controlled vocabulary search widget to find keywords.

        Returns
        -------
        None
        """
        self.thesaurus_search = ThesaurusSearch.ThesaurusSearch(
            add_term_function=self.add_keyword, parent=self)
        #
        # self.thesaurus_search.setWindowTitle('Theme Keyword Thesaurus Search')
        #
        # fg = self.frameGeometry()
        # self.thesaurus_search.move(fg.topRight() - QPoint(150, -25))
        #
        # self.thesaurus_search.show()

        self.search_dialog = QDialog(self)
        self.search_dialog.setWindowTitle('Theme Keyword Thesaurus Search')
        self.search_dialog.setLayout(self.thesaurus_search.layout())

        self.search_dialog.exec_()