[pktools] 201/375: from linux
Bas Couwenberg
sebastic at xs4all.nl
Wed Dec 3 21:54:14 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 709bfa5452a9965db252ea08b366efe0ce6bae67
Author: Pieter Kempeneers <kempenep at gmail.com>
Date: Fri Mar 21 19:08:33 2014 +0100
from linux
---
qt/pkinfo/main.cpp | 20 ++++++++++++++++++++
qt/pkinfo/mainwindow.cpp | 21 ++++++++++++++++++++-
qt/pkinfo/mainwindow.h | 20 ++++++++++++++++++++
3 files changed, 60 insertions(+), 1 deletion(-)
diff --git a/qt/pkinfo/main.cpp b/qt/pkinfo/main.cpp
index 9e2d83c..b53cf84 100644
--- a/qt/pkinfo/main.cpp
+++ b/qt/pkinfo/main.cpp
@@ -1,3 +1,23 @@
+/**********************************************************************
+main.cc
+Copyright (C) 2008-2014 Pieter Kempeneers
+
+This file is part of pktools
+
+pktools is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+pktools is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with pktools. If not, see <http://www.gnu.org/licenses/>.
+***********************************************************************/
+
#include "mainwindow.h"
#include <QApplication>
diff --git a/qt/pkinfo/mainwindow.cpp b/qt/pkinfo/mainwindow.cpp
index d39fdbc..268bc7c 100644
--- a/qt/pkinfo/mainwindow.cpp
+++ b/qt/pkinfo/mainwindow.cpp
@@ -1,3 +1,22 @@
+/**********************************************************************
+mainwindow.cc
+Copyright (C) 2008-2014 Pieter Kempeneers
+
+This file is part of pktools
+
+pktools is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+pktools is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with pktools. If not, see <http://www.gnu.org/licenses/>.
+***********************************************************************/
#include "mainwindow.h"
#include "ui_mainwindow.h"
//#include "MyComboBox.h"
@@ -110,7 +129,7 @@ void MainWindow::on_menu_input_triggered()
QObject *parent;
QProcess *myProcess = new QProcess(parent);
QString program;
- m_inputFilename = QFileDialog::getOpenFileName(this, "Input image","/tmp");
+ m_inputFilename = QFileDialog::getOpenFileName(this, "Input image");
if ( m_inputFilename.isNull() == false ){
//fill in combobox with number of bands
program="pkinfo -nb -i ";
diff --git a/qt/pkinfo/mainwindow.h b/qt/pkinfo/mainwindow.h
index 4a74968..7db3424 100644
--- a/qt/pkinfo/mainwindow.h
+++ b/qt/pkinfo/mainwindow.h
@@ -1,3 +1,23 @@
+/**********************************************************************
+mainwindow.h
+Copyright (C) 2008-2014 Pieter Kempeneers
+
+This file is part of pktools
+
+pktools is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+pktools is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with pktools. If not, see <http://www.gnu.org/licenses/>.
+***********************************************************************/
+
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
--
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