Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QTreeWidgetItem.text()


      String notebook = null;
      listManager.getNotebookIndex().get(0).getGuid();
      List<QTreeWidgetItem> selectedNotebook = notebookTree.selectedItems();
      if (selectedNotebook.size() > 0 && !selectedNotebook.get(0).text(0).equalsIgnoreCase("All Notebooks") && !selectedNotebook.get(0).text(2).equalsIgnoreCase("STACK")) {
        QTreeWidgetItem currentSelectedNotebook = selectedNotebook.get(0);
        notebook = currentSelectedNotebook.text(2);
      } else {
        boolean found = false;
        List<Notebook> goodNotebooks = new ArrayList<Notebook>();
          for (int i=0; i<listManager.getNotebookIndex().size(); i++) {
            boolean match = false;
View Full Code Here


      if (Global.newNoteWithSelectedTags()) { 
        List<QTreeWidgetItem> selections = tagTree.selectedItems();
          QTreeWidgetItem currentSelection;
          for (int i=0; i<selections.size(); i++) {
            currentSelection = selections.get(i);
            newNote.getTagGuids().add(currentSelection.text(2));
            newNote.getTagNames().add(currentSelection.text(0));
          }
      }
     
      conn.getNoteTable().addNote(newNote, true);
View Full Code Here

        List<QTreeWidgetItem> selections = tagTree.selectedItems();
          QTreeWidgetItem currentSelection;
          for (int i=0; i<selections.size(); i++) {
            currentSelection = selections.get(i);
            newNote.getTagGuids().add(currentSelection.text(2));
            newNote.getTagNames().add(currentSelection.text(0));
          }
      }
     
      conn.getNoteTable().addNote(newNote, true);
      NoteMetadata metadata = new NoteMetadata();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.