Examples of exec()


Examples of cx.fbn.nevernote.dialog.SetIcon.exec()

      dialog.setUseDefaultIcon(true);
    } else {
      dialog = new SetIcon(icon, saveLastPath);
      dialog.setUseDefaultIcon(false);
    }
    dialog.exec();
    if (dialog.okPressed()) {
        saveLastPath = dialog.getPath();
      QIcon newIcon = dialog.getIcon();
      conn.getTagTable().setIcon(guid, newIcon, dialog.getFileType());
      if (newIcon == null)
View Full Code Here

Examples of cx.fbn.nevernote.dialog.ShareNotebook.exec()

       
    String authToken = null;
    if (syncRunner.isConnected)
      authToken = syncRunner.authToken;
    ShareNotebook share = new ShareNotebook(n.getName(), conn, n, syncRunner);
    share.exec();
   
  }

  // Delete an existing notebook
  @SuppressWarnings("unused")
View Full Code Here

Examples of cx.fbn.nevernote.dialog.SharedNotebookSyncError.exec()

    if (syncRunner.error && syncRunner.errorSharedNotebooks.size() > 0) {
      String guid = syncRunner.errorSharedNotebooks.get(0);
      String notebookGuid = conn.getLinkedNotebookTable().getLocalNotebookGuid(guid);
      String localName = listManager.getNotebookNameByGuid(notebookGuid);
      SharedNotebookSyncError syncDialog = new SharedNotebookSyncError(localName);
      syncDialog.exec();
      if (syncDialog.okPressed()) {
        if (syncDialog.doNothing.isChecked()) {
          syncRunner.errorSharedNotebooksIgnored.put(guid, guid);
          evernoteSync();
        }
View Full Code Here

Examples of cx.fbn.nevernote.dialog.StackNotebook.exec()

    }

    edit.setStackNames(conn.getNotebookTable().getAllStackNames());

   
    edit.exec();
 
    if (!edit.okPressed())
      return;
       
    String stack = edit.getStackName();
View Full Code Here

Examples of cx.fbn.nevernote.dialog.SynchronizationRequiredWarning.exec()

    User user = Global.getUserInformation();

    // Check that we have everything we need
       if ((user.getShardId().equals("") || user.getId() == 0) && !Global.bypassSynchronizationWarning()) {
         SynchronizationRequiredWarning warning = new SynchronizationRequiredWarning(this);
         warning.exec();
         if (!warning.neverSynchronize())
           return;
         else {
           Global.setBypassSynchronizationWarning(true);
           user.setShardId("s0");
View Full Code Here

Examples of cx.fbn.nevernote.dialog.TableDialog.exec()

 
 
  // Insert a table
  public void insertTable() {
    TableDialog dialog = new TableDialog();
    dialog.exec();
    if (!dialog.okPressed()) {
      return;
    }
   
    int cols = dialog.getCols();
View Full Code Here

Examples of cx.fbn.nevernote.dialog.TagAssign.exec()

  // Modify a note's tags
  @SuppressWarnings("unused")
  private void modifyTags() {
    TagAssign tagWindow = new TagAssign(allTags, currentTags, !conn.getNotebookTable().isLinked(currentNote.getNotebookGuid()));
    tagWindow.exec();
    if (tagWindow.okClicked()) {
      currentTags.clear();
      StringBuffer tagDisplay = new StringBuffer();

      List<QListWidgetItem> newTags = tagWindow.getTagList()
View Full Code Here

Examples of cx.fbn.nevernote.dialog.TagEdit.exec()

    if (selections.size() > 0) {
      currentSelection = selections.get(0);
      edit.setParentTag(currentSelection.text(0));
    }

    edit.exec();
 
    if (!edit.okPressed())
      return;
       
    Calendar currentTime = new GregorianCalendar();
View Full Code Here

Examples of cx.fbn.nevernote.dialog.TagMerge.exec()

      record.setName(selections.get(i).text(0));
      tags.add(record);
    }

    TagMerge mergeDialog = new TagMerge(tags);
    mergeDialog.exec();
    if (!mergeDialog.okClicked())
      return;
    String newGuid = mergeDialog.getNewTagGuid();
   
    for (int i=0; i<tags.size(); i++) {
View Full Code Here

Examples of cx.fbn.nevernote.dialog.UpgradeAvailableDialog.exec()

      if (version.equals(validVersion))
        return;
    }
   
    UpgradeAvailableDialog dialog = new UpgradeAvailableDialog();
    dialog.exec();
    if (dialog.remindMe())
      Global.setCheckVersionUpgrade(true);
    else
      Global.setCheckVersionUpgrade(false);
  }
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.