Package com.trolltech.qt.core

Examples of com.trolltech.qt.core.QModelIndex.model()


      List<QModelIndex> selections = noteTableView.selectionModel().selectedRows();
      if (selections.size() == 0)
        return;
      QModelIndex index = selections.get(0);
      int row = selections.get(0).row();
      String guid = (String)index.model().index(row, Global.noteTableGuidPosition).data();
      scrollToGuid(guid);
    }
  // Scroll to the current GUID in tthe list.
    // Scroll to a particular index item
    private void scrollToGuid(String guid) {
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.