Commit 6d1b05be authored by SVN-Git Migration's avatar SVN-Git Migration

Imported Upstream version 1.14

parent 4e9e7ab9
This diff is collapsed.
......@@ -16,8 +16,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: document_api.py 1197 2010-03-17 20:04:57Z jeremysanders $
"""
Document veusz widget types and settings
Creates an xml file designed to be processed into a web page using xsl
......
......@@ -29,6 +29,3 @@ docbook2txt $infile
release=$(cat ../VERSION)
pod2man --release=${release} --center="Veusz" veusz.pod > veusz.1
pod2man --release=${release} --center="Veusz" veusz_listen.pod > veusz_listen.1
###################################################################
# $Id: generate_manual.sh 1465 2010-12-01 17:20:48Z jeremysanders $
This diff is collapsed.
No preview for this file type
This diff is collapsed.
This diff is collapsed.
.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
.\"
.\" Standard preamble:
.\" ========================================================================
......@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "VEUSZ 1"
.TH VEUSZ 1 "2010-12-12" "1.10" "Veusz"
.TH VEUSZ 1 "2011-11-22" "1.13.999" "Veusz"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
......@@ -168,9 +168,14 @@ but execute them quietly.
.IX Item "--export=FILE"
Export the next Veusz document file on the command line to the
graphics file \fI\s-1FILE\s0\fR. Supported file types include \s-1EPS\s0, \s-1PDF\s0, \s-1SVG\s0,
\&\s-1PNG\s0, \s-1BMP\s0 and \s-1JPG\s0. The extension of the output file is used to
\&\s-1PNG\s0, \s-1BMP\s0, \s-1JPG\s0 and \s-1XPM\s0. The extension of the output file is used to
determine the output file format. There should be as many export
options specified as input Veusz documents on the command line.
.IP "\fB\-\-plugin\fR=\fI\s-1FILE\s0\fR" 8
.IX Item "--plugin=FILE"
Loads the Veusz plugin \fI\s-1FILE\s0\fR when starting Veusz. This option
provides a per-session alternative to adding the plugin in the
preferences dialog box.
.IP "\fB\-\-help\fR" 8
.IX Item "--help"
Displays the options to the program and exits.
......@@ -187,7 +192,7 @@ Please report bugs at https://gna.org/bugs/?group=veusz
This manual page was written by Jeremy Sanders <jeremy@jeremysanders.net>.
.SH "COPYRIGHT"
.IX Header "COPYRIGHT"
Copyright (C) 2003\-2010 Jeremy Sanders <jeremy@jeremysanders.net>.
Copyright (C) 2003\-2011 Jeremy Sanders <jeremy@jeremysanders.net>.
.PP
This program is free software; you can redistribute it and/or modify it
under the terms of the \s-1GNU\s0 General Public License as published by the
......
......@@ -46,10 +46,16 @@ but execute them quietly.
Export the next Veusz document file on the command line to the
graphics file I<FILE>. Supported file types include EPS, PDF, SVG,
PNG, BMP and JPG. The extension of the output file is used to
PNG, BMP, JPG and XPM. The extension of the output file is used to
determine the output file format. There should be as many export
options specified as input Veusz documents on the command line.
=item B<--plugin>=I<FILE>
Loads the Veusz plugin I<FILE> when starting Veusz. This option
provides a per-session alternative to adding the plugin in the
preferences dialog box.
=item B<--help>
Displays the options to the program and exits.
......@@ -72,7 +78,7 @@ This manual page was written by Jeremy Sanders <jeremy@jeremysanders.net>.
=head1 COPYRIGHT
Copyright (C) 2003-2010 Jeremy Sanders <jeremy@jeremysanders.net>.
Copyright (C) 2003-2011 Jeremy Sanders <jeremy@jeremysanders.net>.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
......
.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
.\"
.\" Standard preamble:
.\" ========================================================================
......@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "VEUSZ_LISTEN 1"
.TH VEUSZ_LISTEN 1 "2010-12-12" "1.10" "Veusz"
.TH VEUSZ_LISTEN 1 "2011-11-22" "1.13.999" "Veusz"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
......@@ -159,7 +159,7 @@ Please report bugs at https://gna.org/bugs/?group=veusz
This manual page was written by Jeremy Sanders <jeremy@jeremysanders.net>.
.SH "COPYRIGHT"
.IX Header "COPYRIGHT"
Copyright (C) 2003\-2010 Jeremy Sanders <jeremy@jeremysanders.net>.
Copyright (C) 2003\-2011 Jeremy Sanders <jeremy@jeremysanders.net>.
.PP
This program is free software; you can redistribute it and/or modify it
under the terms of the \s-1GNU\s0 General Public License as published by the
......
......@@ -35,7 +35,7 @@ This manual page was written by Jeremy Sanders <jeremy@jeremysanders.net>.
=head1 COPYRIGHT
Copyright (C) 2003-2010 Jeremy Sanders <jeremy@jeremysanders.net>.
Copyright (C) 2003-2011 Jeremy Sanders <jeremy@jeremysanders.net>.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
......
Veusz Installation
==================
Veusz uses distutils for its installation. See below for how to use
it.
1. INSTALLING FROM SOURCE
*************************
Veusz uses distutils for its installation. See below for how to use it.
Requirements:
python >= 2.4 http://www.python.org/
PyQt >= 4.3 http://www.riverbankcomputing.co.uk/pyqt/
numpy >= 1.0 http://numpy.scipy.org/
(PyQt requires
PyQt requires
Qt4 http://www.trolltech.com/products/qt/ (free version)
version >= 4.3 recommended
SIP http://www.riverbankcomputing.co.uk/sip/ )
version >= 4.4 recommended
SIP http://www.riverbankcomputing.co.uk/sip/
Optional requirements:
PyFITS>=1.1 http://www.stsci.edu/resources/software_hardware/pyfits
pyemf >= 2.0.0 http://pyemf.sourceforge.net/
Corefonts http://corefonts.sourceforge.net/
PyMinuit http://code.google.com/p/pyminuit/
1.1 Full installation with distutils
====================================
There are a number of ways to install programs using distutils. I will
list a few of the possible method here:
To install on linux to the standard location on the hard disk
# cd veusz-1.14
# python setup.py build
# su
[enter root password]
# python setup.py install
# exit
Simple source use (if requirements installed)
=============================================
If you do not have a root account (as is default on Ubuntu), do
# sudo python setup.py install
instead of the final three lines
On Windows, it should just be a matter of running the python setup.py
build and install steps with the requirements installed.
1.2 Testing
===========
After veusz has been installed into the Python path (in the standard
location or in PYTHONPATH), you can run the runselftest.py executable
in the tests directory. This will compare the generated output of
example documents with the expected output. The return code of the
runselftest.py script is the number of tests that have failed (0 for
success).
On Unix/Linux, Qt requires the DISPLAY environment to be set to an X11
server for the self test to run. In a non graphical environment Xvfb
can be used to create a hidden X11 server:
# xvfb-run -a --server-args "-screen 0 640x480x24" \
python tests/runselftest.py
1.3 Simple source use (if requirements installed)
=================================================
If you don't want to bother installing veusz fully, it can be run from
its own directory (at the moment). Simply do:
# tar xzf veusz-1.9.tar.gz [change version here]
# cd veusz-1.9
# tar xzf veusz-1.14.tar.gz [change version here]
# cd veusz-1.14
# ./veusz_main.py
Certain features will be disabled if you do this. You will not be able
......@@ -37,55 +76,28 @@ You can build support without installing by doing:
# python setup.py build
# cp build/*/veusz/helpers/*.so helpers/
Full installation with distutils
================================
There are a number of ways to install programs using distutils. I will
list a few of the possible method here:
To install to the standard location on the hard disk (it's better to use
rpms if you have an rpm-based linux distibution)
------------------------------------------------------------------------
# cd veusz-1.9
# python setup.py build
# su
[enter root password]
# python setup.py install
# exit
2. BINARY INSTALL
*****************
Linux binary
============
If you do not have the requirements, you can use the Linux binary
instead (if available). Note that this may not work on all
distributions due to glibc/library incompatibilities. You need to
simply unpack the tar file and run the main executable:
2.1 Linux binary
================
If your distribution does not include an up to date package, you can
use the Linux binary instead (for i386/x86_64). Note that this may not
work on all distributions due to glibc/library
incompatibilities. Simply unpack the tar file and run the main
executable:
# tar xzf veusz-linux-i386-1.9.tar.gz [change version here]
# cd veusz-linux-i386-1.9
# tar xzf veusz-linux-i386-1.14.tar.gz [change version here]
# cd veusz-linux-i386-1.14
# ./veusz
Installing in Windows
=====================
Simply run the setup.exe binary installer. This does not provide the
embedding interface, however.
Installing on Mac OS X
======================
A binary is available for Mac OS X. It does not provide the embedding
interface. Simply drag the Veusz application into your Applications
directory.
Veusz can also be installed from source on Mac OS X. The requirements
can be obtained using a system such as MacPorts. You can install them
with MacPorts using:
$ sudo port install qt4-mac
$ sudo port install py-numpy
Once these have successfully built and installed, you can unpack veusz
and install as above.
Qt is available from TrollTech as a binary, but SIP and PyQt are not
available as a binary.
2.2 Installing in Windows
=========================
Simply run the setup.exe binary installer. Add the location of the
embed.py file to your PYTHONPATH if you want to use the embedding
module.
-------------------------------------------------------------------------------
$Id: INSTALL 1375 2010-08-22 19:14:45Z jeremysanders $
2.3 Installing on Mac OS X
==========================
A binary is available for Mac OS X. Simply drag the Veusz application
into your Applications directory.
include VERSION AUTHORS ChangeLog COPYING INSTALL README
include MANIFEST.in setup.py setup.cfg
include scripts/veusz scripts/veusz_listen
recursive-include tests *.py *.sh *.vsz
recursive-include tests *.py *.sh *.vsz *.selftest *.csv *.dat *.npy *.npz
recursive-include Documents *.xml *.sh *.png *.txt *.pdf *.html *.xsl *.py *.pod *.1
recursive-include windows *.png *.ico *.svg README
recursive-include dialogs *.ui
recursive-include examples *.vsz *.py *.csv *.dat
recursive-include widgets *.dat
recursive-include helpers *.c *.cpp *.h README LICENSE_*
Metadata-Version: 1.0
Name: veusz
Version: 1.10
Version: 1.14
Summary: A scientific plotting package
Home-page: http://home.gna.org/veusz/
Author: Jeremy Sanders
......
Veusz 1.10
Veusz 1.14
----------
Velvet Ember Under Sky Zenith
-----------------------------
http://home.gna.org/veusz/
Veusz is Copyright (C) 2003-2010 Jeremy Sanders <jeremy@jeremysanders.net>
Copyright (C) 2003-2011 Jeremy Sanders <jeremy@jeremysanders.net>
and contributors.
Licenced under the GPL (version 2 or greater).
Veusz is a Qt4 based scientific plotting package. It is written in
......@@ -16,41 +18,63 @@ to be simple, consistent and powerful.
Veusz provides a GUI, command line, embedding and scripting interface
(based on Python) to its plotting facilities. It also allows for
manipulation and editing of datasets. Data can be captured from
external sources such as internet sockets or other programs.
Changes in 1.10:
* Box plot widget added, which can be given statistics to plot or
calculated from datasets
* Polar plot widget added
* Datasets are now easier to construct and edit in the Data->Edit
dialog box
* CSV reader will assume a text dataset if it cannot convert first item
to a number
* Add color sequence plugin for making a range of widget colors
* Import plugin for QDP files added
* Date and times can be also written in local formats
* Reload data dialog box can reload at intervals and is now non-modal
* 2D datasets can be created based on expressions of other 2D datasets
Minor changes:
* Option to change size of ends of error bars
* Margin size option added for key widget
* Add --listen option to veusz command to replace veusz_listen.
* Add --quiet option to run commands without displaying a window
* Add --export option to export documents to graphics files and exit
* PNG export compression increased
* Add option to ignore number of lines after headers in CSV files
Bug fixes:
* Multiple datasets can now be properly created from dataset plugin dialog
* X and Y ranges of 2D datasets are now correct when converted from
X,Y,Z 1D datasets
* Bounding boxes of resizing rectangles, ellipses and images are fixed
* min and max coordinate range now works for plotting functions of y
* Remove duplicate linked files when using import plugins
* Several crash reports fixed
* More robust code in data->edit dialog box
* veusz_listen now works in Windows (not in binary package yet)
external sources such as Internet sockets or other programs.
Changes in 1.14:
* Added interactive tutorial
* Points in graphs can be colored depending on another dataset and
the scale shown in a colorbar widget
* Improved CSV import
- better data type detection
- locale-specific numeric and date formats
- single/multiple/none header modes
- option to skip lines at top of file
- better handling of missing values
* Data can be imported from clipboard
* Substantially reduced size of output SVG files
* In standard data import, descriptor can be left blank to generate
dataset names colX
* Axis plotting range can be interactively manipulated
* If axis is in date-time format, show and allow the min and max
values to be in date-time format
* ImageFile widget can have image data embedded in document file
* Fit widget can update the fit parameters and fit quality to a
label widget
* Allow editing of 2D datasets in data edit dialog
* Add copy and paste dataset command to dataset browser context menu
Minor and API changes:
* Examples added to help menu
* Picker shows date values as dates
* Allow descriptor statement in standard data files after a comment
character, e.g. "#descriptor x y"
* Added some further color maps
* Draw key symbols for vector field widget
* Import plugin changes
- Register classes rather than instances (backward compatibility
is retained)
- Plugins can return constants and functions (see Constant and
Function types)
- Add DatasetDateTime for returning date-time datasets
* Custom definitions
- Add RemoveCustom API to remove custom definitions
- AddCustom API can specify order where custom definition is added
* C++ code to speed up plotting points of different sizes / colors
* Expand files by default in data navigator window
* Select created datasets in data edit dialog
* Tooltip wrapping used in data navigator window
* Grid lines are dropped if they overlap with edge of graph
Bug fixes
* Fix initial extension in export dialog
* Fix crash on hiding pages
* Fixed validation for numeric values
* Position of grid lines in perpendicular direction for non default
positions
* Catch errors in example import plugin
* Fix crash for non existent key symbols
* Fix crash when mismatch of dataset sizes when combining 1D datasets
to make 2D dataset
Features of package:
* X-Y plots (with errorbars)
......@@ -62,6 +86,7 @@ Features of package:
* Vector field plots
* Box plots
* Polar plots
* Ternary plots
* Plotting dates
* Fitting functions to data
* Stacked plots and arrays of plots
......@@ -73,18 +98,21 @@ Features of package:
* Scripting interface
* Dataset creation/manipulation
* Embed Veusz within other programs
* Text, CSV, FITS and user-plugin importing
* Text, CSV, FITS, NPY/NPZ, QDP, binary and user-plugin importing
* Data can be captured from external sources
* User defined functions, constants and can import external Python functions
* Plugin interface to allow user to write or load code to
- import data using new formats
- make new datasets, optionally linked to existing datasets
- arbitrarily manipulate the document
* Data picker
* Interactive tutorial
* Multithreaded rendering
Requirements for source install:
Python (2.4 or greater required)
http://www.python.org/
Qt >= 4.3 (free edition)
Qt >= 4.4 (free edition)
http://www.trolltech.com/products/qt/
PyQt >= 4.3 (SIP is required to be installed first)
http://www.riverbankcomputing.co.uk/pyqt/
......@@ -99,8 +127,11 @@ Optional:
http://www.stsci.edu/resources/software_hardware/pyfits
pyemf >= 2.0.0 (optional for EMF export)
http://pyemf.sourceforge.net/
PyMinuit >= 1.1.2 (optional improved fitting)
http://code.google.com/p/pyminuit/
For EMF and better SVG export, PyQt >= 4.6 or better is
required, to fix a bug in the C++ wrapping
For documentation on using Veusz, see the "Documents" directory. The
manual is in PDF, HTML and text format (generated from docbook). The
......@@ -109,23 +140,15 @@ to the Veusz wiki: http://barmag.net/veusz-wiki/
Issues with the current version:
* Plots can sometimes be slow using antialiasing. Go to the
preferences dialog or right click on the plot to disable
antialiasing.
* Some recent versions of PyQt/SIP will causes crashes when exporting
SVG files. Update to 4.7.4 (if released) or a recent snapshot to
solve this problem.
If you enjoy using Veusz, I would love to hear from you. Please join
If you enjoy using Veusz, we would love to hear from you. Please join
the mailing lists at
https://gna.org/mail/?group=veusz
to discuss new features or if you'd like to contribute code. The
latest code can always be found in the SVN repository.
Jeremy Sanders
-------------------------------------------------------------------------------
$Id: README 1472 2010-12-11 21:31:00Z jeremysanders $
latest code can always be found in the Git repository
at https://github.com/jeremysanders/veusz.git.
......@@ -16,6 +16,4 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: __init__.py 872 2008-12-29 12:51:59Z jeremysanders $
"""Main veusz module."""
......@@ -16,23 +16,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: __init__.py 1471 2010-12-10 22:18:24Z jeremysanders $
"""Veusz dialogs module."""
# insert history combo into the list of modules so that it can be found
# by loadUi - yuck
import sys
import historycombo
import historycheck
import historyvaluecombo
import historygroupbox
import historyspinbox
import recentfilesbutton
sys.modules['historycombo'] = historycombo
sys.modules['historycheck'] = historycheck
sys.modules['historyvaluecombo'] = historyvaluecombo
sys.modules['historygroupbox'] = historygroupbox
sys.modules['historyspinbox'] = historyspinbox
sys.modules['recentfilesbutton'] = recentfilesbutton
# load custom widgets
import veusz.qtwidgets
......@@ -54,19 +54,20 @@
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Arial'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600; color:#800080;&quot;&gt;Veusz %(version)s&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#000000;&quot;&gt;Copyright © 2003-2010 Jeremy Sanders &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://home.gna.org/veusz/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#539fa3;&quot;&gt;http://home.gna.org/veusz/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Authors:&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Jeremy Sanders &amp;lt;jeremy@jeremysanders.net&amp;gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;James Graham &amp;lt;jg307@cam.ac.uk&amp;gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Thanks to:&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Bryan Harris&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Veusz comes with ABSOLUTELY NO WARRANTY. Veusz is Free Software and you are entitled to distribute it under the terms of the GNU Public License (GPL). See the file COPYING for details, or click &amp;quot;Show license&amp;quot;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:9pt; font-weight:600; color:#800080;&quot;&gt;Veusz %(version)s&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:9pt; color:#000000;&quot;&gt;Copyright © 2003-2011 Jeremy Sanders and contributors&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://home.gna.org/veusz/&quot;&gt;&lt;span style=&quot; font-size:9pt; text-decoration: underline; color:#539fa3;&quot;&gt;http://home.gna.org/veusz/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Authors:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Jeremy Sanders &amp;lt;jeremy@jeremysanders.net&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;James Graham &amp;lt;jg307@cam.ac.uk&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Thanks to:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Benjamin K. Stuhl&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Bryan Harris&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Veusz comes with ABSOLUTELY NO WARRANTY. Veusz is Free Software and you are entitled to distribute it under the terms of the GNU Public License (GPL). See the file COPYING for details, or click &amp;quot;Show license&amp;quot;.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
......
......@@ -19,8 +19,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: aboutdialog.py 1358 2010-08-14 16:40:46Z jeremysanders $
"""About dialog module."""
import os.path
......
......@@ -16,8 +16,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: capturedialog.py 1358 2010-08-14 16:40:46Z jeremysanders $
"""Veusz data capture dialog."""
import veusz.qtall as qt4
......
......@@ -16,8 +16,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: custom.py 1358 2010-08-14 16:40:46Z jeremysanders $
import veusz.qtall as qt4
import veusz.utils as utils
import veusz.document as document
......
......@@ -16,8 +16,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: datacreate.py 1358 2010-08-14 16:40:46Z jeremysanders $
"""Dataset creation dialog."""
import veusz.qtall as qt4
......
......@@ -16,8 +16,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: datacreate2d.py 1458 2010-11-28 12:34:37Z jeremysanders $
"""Dataset creation dialog for 2d data."""
import veusz.qtall as qt4
......
......@@ -7,8 +7,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>625</width>
<height>426</height>
<width>749</width>
<height>439</height>
</rect>
</property>
<property name="windowTitle">
......@@ -29,7 +29,6 @@
<property name="childrenCollapsible">
<bool>false</bool>
</property>
<widget class="QListView" name="datasetlistview"/>
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout">
<property name="spacing">
......
This diff is collapsed.
......@@ -16,8 +16,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: errorloading.py 1358 2010-08-14 16:40:46Z jeremysanders $
"""Dialog to show if there is an error loading."""
import veusz.qtall as qt4
......
......@@ -16,8 +16,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
# $Id: exceptiondialog.py 1366 2010-08-20 18:24:33Z jeremysanders $
'''Dialog to pop up if an exception occurs in Veusz.
This allows the user to send a bug report in via email.'''
......@@ -27,6 +25,7 @@ import time
import traceback
import urllib2
import sip
import re
import numpy
......@@ -105,6 +104,8 @@ class ExceptionSendDialog(VeuszDialog):
"connected?")
return
qt4.QMessageBox.information(self, "Submitted",
"Thank you for submitting an error report")
VeuszDialog.accept(self)
def _raiseIgnoreException():
......@@ -132,6 +133,31 @@ class ExceptionDialog(VeuszDialog):
self.connect(self.ignoreSessionButton, qt4.SIGNAL('clicked()'),
self.ignoreSessionSlot)
self.checkVeuszVersion()
def checkVeuszVersion(self):
"""See whether there is a later version of veusz and inform the
user."""
try:
p = urllib2.urlopen('http://download.gna.org/veusz/').read()
versions = re.findall('veusz-([0-9.]+).tar.gz', p)
except urllib2.URLError:
msg = 'Could not check the latest Veusz version'
else:
vsort = sorted([[int(i) for i in v.split('.')] for v in versions])
latest = '.'.join([str(x) for x in vsort[-1]])