[pktools] 235/375: input bands in pkcrop_gui

Bas Couwenberg sebastic at xs4all.nl
Wed Dec 3 21:54:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch upstream-master
in repository pktools.

commit 35da728971abe1aada878ced53c4631468c686a4
Author: Pieter Kempeneers <kempenep at gmail.com>
Date:   Fri Apr 4 16:37:57 2014 +0200

    input bands in pkcrop_gui
---
 qt/pkcrop_gui/mainwindow.cc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/qt/pkcrop_gui/mainwindow.cc b/qt/pkcrop_gui/mainwindow.cc
index 5f18b73..635b10b 100644
--- a/qt/pkcrop_gui/mainwindow.cc
+++ b/qt/pkcrop_gui/mainwindow.cc
@@ -174,6 +174,12 @@ void MainWindow::on_toolButton_Run_clicked()
             program+=" --input "+item->text();
         }
 
+        for(int i = 0; i < ui->listWidget_band->count(); ++i)
+        {
+            QListWidgetItem* item = ui->listWidget_band->item(i);
+            program+=" --band "+item->text();
+        }
+
         if(ui->output->text().isEmpty())
             MainWindow::on_actionOutput_triggered();
         if(ui->output->text().isEmpty()){

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git



More information about the Pkg-grass-devel mailing list