Package cx.fbn.nevernote.dialog

Examples of cx.fbn.nevernote.dialog.GeoDialog


  @SuppressWarnings("unused")
  private void geoBoxChanged() {
    int index = geoBox.currentIndex();
    geoBox.setCurrentIndex(0);
    if (index == 1) {
      GeoDialog box = new GeoDialog();
      box.setLongitude(currentNote.getAttributes().getLongitude());
      box.setLatitude(currentNote.getAttributes().getLatitude());
      box.setAltitude(currentNote.getAttributes().getAltitude());
      box.exec();
      if (!box.okPressed())
        return;
      double alt = box.getAltitude();
      double lat = box.getLatitude();
      double lon = box.getLongitude();
      if (alt != currentNote.getAttributes().getAltitude() ||
        lon != currentNote.getAttributes().getLongitude() ||
        lat != currentNote.getAttributes().getLatitude()) {
          noteSignal.geoChanged.emit(currentNote.getGuid(), lon, lat, alt);
          currentNote.getAttributes().setAltitude(alt);
View Full Code Here

TOP

Related Classes of cx.fbn.nevernote.dialog.GeoDialog

Copyright © 2018 www.massapicom. 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.