| 2801 | } |
| 2802 | |
| 2803 | int MainWindow::stateGet(QObject *obj, int col) { |
| 2804 | int row; |
| 2805 | |
| 2806 | for (row = 0; row < ui->slotView->rowCount(); row++){ |
| 2807 | if (obj == ui->slotView->cellWidget(row, col)) { |
| 2808 | break; |
| 2809 | } |
| 2810 | } |
| 2811 | |
| 2812 | return row; |
| 2813 | } |
| 2814 | |
| 2815 | void MainWindow::stateEdit() { |
| 2816 | bool ok; |