Package com.trolltech.qt.core

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


 
 
  @SuppressWarnings("unused")
  private void deletePressed() {
    QModelIndex index = table.currentIndex();
    int row = index.row();
   
    QTableWidgetItem dirWidget = table.item(row, 0);
    String value = dirWidget.text();
    List<SharedNotebook> notebooks = conn.getSharedNotebookTable().getForNotebook(notebook.getGuid());
   
View Full Code Here


 
  @SuppressWarnings("unused")
  private void editPressed() {
    WatchFolderRecord record = new WatchFolderRecord();
    QModelIndex index = table.currentIndex();
    int row = index.row();
    QTableWidgetItem item = table.item(row, 0);
    record.folder = item.text();
    item = table.item(row, 1);
    record.notebook = item.text();
    item = table.item(row,2);
View Full Code Here

 
 
  @SuppressWarnings("unused")
  private void deletePressed() {
    QModelIndex index = table.currentIndex();
    int row = index.row();
   
    QTableWidgetItem dirWidget = table.item(row, 0);
    String value = dirWidget.text();
    table.removeRow(row);
   
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.