Commit d8020ecd authored by SVN-Git Migration's avatar SVN-Git Migration

Imported Upstream version 1.15

parent 6d1b05be
Changes in 1.15:
* Improved hatching:
- More hatch styles
- Adjust spacing of hatching
- Change hatching line style
- Allow hatching background color
* Axes will not extend beyond specified min and max values
* Add options to extend axes by 2, 5, 10 and 15% of data range
* Ctrl+MouseWheel zooms in and out of plot
* Full screen graph view mode
* New dataset plugins
- Linear interpolation
- Cumulative value
- Rolling average
- Subtract mean / minimum
* Allow grid widgets to be placed in grid widgets
* Catch EnvironmentError exceptions on Windows
* Allow multiple datasets to be selected in dataset browser
* Allow tagging of datasets and allow datasets be grouped by tags
in dataset browser
* Allow text to be written as text in SVG, rather than curves
* Add DBus interface to program, if DBus is installed
* 2D QDP support
* Add setup.py options for packagers
--veusz-resource-dir : location of data files
--disable-install-docs
* Add title option for keys
Minor changes:
* Use / rather than \ for path separator in saved file names for
Windows/Unix compatibility
* Add diamond fill error bar type
* Add \color and \marker commands to text renderer
* Support labels on xy datasets if one of x or y datasets missing
* Reorganise dataset plugin menu
* Fix links in INSTALL/README
* Floating point intervals in capture dialog
Bug fixes:
* Trap case where nan values could be plotted
* Fix error if website not accessible in exception dialog
* Crash when min and max of axes are too similar
* Fix clipping of paths after transform in SVG files
* Fix crash in picker
* Fix crash if duplication of characters in CSV date format
* Fix crash in tool tip in dataset browser
* Fix GlobalColor error (on certain dark color sets)
* Fix blocked data import if no descriptor
* Fix crash if log contours and minimum is zero
* Bug fix https://bugzilla.redhat.com/show_bug.cgi?id=800196
Changes in 1.14:
* Added interactive tutorial
* Points in graphs can be colored depending on another dataset and
......
This diff is collapsed.
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1256,7 +1256,7 @@ SetData('y', y)
<para><command>Export(filename, color=True,
page=0 dpi=100,
antialias=True, quality=85, backcolor='#ffffff00',
pdfdpi=150)</command></para>
pdfdpi=150, svgtextastext=False)</command></para>
<para>Export the page given to the filename given. The
<command>filename</command> must end with the correct
......@@ -1273,7 +1273,9 @@ SetData('y', y)
output. <command>backcolor</command> is the background color
for bitmap files, which is a name or a #RRGGBBAA value (red,
green, blue, alpha). <command>pdfdpi</command> is the dpi to
use when exporting EPS or PDF files.
use when exporting EPS or PDF
files. <command>svgtextastext</command> says whether to export
SVG text as text, rather than curves.
</para>
</section>
......@@ -1330,13 +1332,18 @@ SetData('y', y)
<title><anchor id="Command.GetData" />GetData</title>
<para><command>GetData(name)</command></para>
<para>Returns: A tuple containing the dataset with the name
given. If <command>name</command> refers to numpy array data, the tuple is
(data, symerr, negerr, poserr), with each a numpy array of the same size or
None. data are the values of the dataset, symerr are the symmetric errors
(if set), negerr and poserr and negative and positive asymmetric errors
(if set). If <command>name</command> refers to a text dataset, a list
of text elements is returned.</para>
<para>Returns: For a 1D dataset, a tuple containing the
dataset with the name given. The value is (data, symerr,
negerr, poserr), with each a numpy array of the same size or
None. data are the values of the dataset, symerr are the
symmetric errors (if set), negerr and poserr and negative and
positive asymmetric errors (if set). If a text dataset, return
a list of text elements. If the dataset is a date-time
dataset, return a list of Python datetime objects. If the
dataset is a 2D dataset return the tuple (data, rangex,
rangey), where data is a 2D numpy array and rangex/y are
tuples giving the range of the x and y coordinates of the
data.</para>
<informalexample>
<programlisting>
......@@ -1346,6 +1353,15 @@ SetData('x', data[0]*0.1, *data[1:])
</informalexample>
</section>
<section>
<title><anchor id="Command.GetDataType" />GetDataType</title>
<para><command>GetDataType(name)</command></para>
<para>Get type of dataset with name given. Returns '1d' for a
1d dataset, '2d' for a 2d dataset, 'text' for a text dataset
and 'datetime' for a datetime dataset.</para>
</section>
<section>
<title><anchor id="Command.GetDatasets" />GetDatasets</title>
......@@ -1807,6 +1823,17 @@ Set('page1/graph1/x/min', -10.)
be modified and the data are stored in the saved file.</para>
</section>
<section>
<title><anchor id="Command.SetDataDateTime"
/>SetDataDateTime</title>
<para><command>SetDataDateTime('name', vals)</command></para>
<para>Creates a datetime dataset of name given. vals is a list
of Python datetime objects.</para>
</section>
<section>
<title><anchor id="Command.SetDataText" />SetDataText</title>
......@@ -1876,6 +1903,14 @@ SetDataText('mylabel', ['oranges', 'apples', 'pears', 'spam'])
interface.</para>
</section>
<section>
<title><anchor id="Command.TagDatasets" />TagDatasets</title>
<para><command>TagDatasets('tag', ['ds1', 'ds2'...])</command></para>
<para>Adds the tag to the list of datasets given..</para>
</section>
<section>
<title><anchor id="Command.To" />To</title>
......
......@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "VEUSZ 1"
.TH VEUSZ 1 "2011-11-22" "1.13.999" "Veusz"
.TH VEUSZ 1 "2012-03-28" "1.15" "Veusz"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
......@@ -192,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\-2011 Jeremy Sanders <jeremy@jeremysanders.net>.
Copyright (C) 2003\-2012 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
......
......@@ -78,7 +78,7 @@ This manual page was written by Jeremy Sanders <jeremy@jeremysanders.net>.
=head1 COPYRIGHT
Copyright (C) 2003-2011 Jeremy Sanders <jeremy@jeremysanders.net>.
Copyright (C) 2003-2012 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
......
......@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "VEUSZ_LISTEN 1"
.TH VEUSZ_LISTEN 1 "2011-11-22" "1.13.999" "Veusz"
.TH VEUSZ_LISTEN 1 "2012-03-28" "1.15" "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\-2011 Jeremy Sanders <jeremy@jeremysanders.net>.
Copyright (C) 2003\-2012 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-2011 Jeremy Sanders <jeremy@jeremysanders.net>.
Copyright (C) 2003-2012 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
......
......@@ -8,19 +8,19 @@ 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/
PyQt >= 4.3 http://www.riverbankcomputing.co.uk/software/pyqt/
numpy >= 1.0 http://numpy.scipy.org/
PyQt requires
Qt4 http://www.trolltech.com/products/qt/ (free version)
version >= 4.4 recommended
SIP http://www.riverbankcomputing.co.uk/sip/
SIP http://www.riverbankcomputing.co.uk/software/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/
dbus-python http://dbus.freedesktop.org/doc/dbus-python/
1.1 Full installation with distutils
====================================
......@@ -29,7 +29,7 @@ list a few of the possible method here:
To install on linux to the standard location on the hard disk
# cd veusz-1.14
# cd veusz-1.15
# python setup.py build
# su
[enter root password]
......@@ -63,8 +63,8 @@ can be used to create a hidden X11 server:
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.14.tar.gz [change version here]
# cd veusz-1.14
# tar xzf veusz-1.15.tar.gz [change version here]
# cd veusz-1.15
# ./veusz_main.py
Certain features will be disabled if you do this. You will not be able
......@@ -87,8 +87,8 @@ 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.14.tar.gz [change version here]
# cd veusz-linux-i386-1.14
# tar xzf veusz-linux-i386-1.15.tar.gz [change version here]
# cd veusz-linux-i386-1.15
# ./veusz
2.2 Installing in Windows
......@@ -101,3 +101,18 @@ module.
==========================
A binary is available for Mac OS X. Simply drag the Veusz application
into your Applications directory.
3. NOTES FOR PACKAGERS
**********************
- It is recommended to run the self test above (if possible)
- The --veusz-resource-dir allows the packager to move veusz's
resource data files outside of the python path, e.g. into
LFS /usr/share/veusz. This option installs the resource
files into this direction. The packager should use a symlink
"resources" in the veusz directory to point to this location.
- The --disable-install-examples option prevents installing the
examples, so that they can be installed by the packager into e.g.
/usr/share/doc/veusz/examples. Veusz looks for the examples
directory in the resource directory for the examples, to make
its examples menu. It is recommended to use a symlink to
point this to the real examples location.
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 *.selftest *.csv *.dat *.npy *.npz
recursive-include tests *.py *.sh *.vsz *.selftest *.csv *.dat *.npy *.npz *.qdp *.pco
recursive-include Documents *.xml *.sh *.png *.txt *.pdf *.html *.xsl *.py *.pod *.1
recursive-include windows *.png *.ico *.svg README
recursive-include dialogs *.ui
......
Metadata-Version: 1.0
Name: veusz
Version: 1.14
Version: 1.15
Summary: A scientific plotting package
Home-page: http://home.gna.org/veusz/
Author: Jeremy Sanders
......
Veusz 1.14
Veusz 1.15
----------
Velvet Ember Under Sky Zenith
-----------------------------
http://home.gna.org/veusz/
Copyright (C) 2003-2011 Jeremy Sanders <jeremy@jeremysanders.net>
Copyright (C) 2003-2012 Jeremy Sanders <jeremy@jeremysanders.net>
and contributors.
Licenced under the GPL (version 2 or greater).
......@@ -20,61 +20,56 @@ Veusz provides a GUI, command line, embedding and scripting interface
manipulation and editing of datasets. Data can be captured from
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
Changes in 1.15:
* Improved hatching:
- More hatch styles
- Adjust spacing of hatching
- Change hatching line style
- Allow hatching background color
* Axes will not extend beyond specified min and max values
* Add options to extend axes by 2, 5, 10 and 15% of data range
* Ctrl+MouseWheel zooms in and out of plot
* Full screen graph view mode
* New dataset plugins
- Linear interpolation
- Cumulative value
- Rolling average
- Subtract mean / minimum
* Allow grid widgets to be placed in grid widgets
* Catch EnvironmentError exceptions on Windows
* Allow multiple datasets to be selected in dataset browser
* Allow tagging of datasets and allow datasets be grouped by tags
in dataset browser
* Allow text to be written as text in SVG, rather than curves
* Add DBus interface to program, if DBus is installed
* 2D QDP support
* Add setup.py options for packagers
--veusz-resource-dir : location of data files
--disable-install-docs
* Add title option for keys
Minor changes:
* Use / rather than \ for path separator in saved file names for
Windows/Unix compatibility
* Add diamond fill error bar type
* Add \color and \marker commands to text renderer
* Support labels on xy datasets if one of x or y datasets missing
* Reorganise dataset plugin menu
* Fix links in INSTALL/README
* Floating point intervals in capture dialog
Bug fixes:
* Trap case where nan values could be plotted
* Fix error if website not accessible in exception dialog
* Crash when min and max of axes are too similar
* Fix clipping of paths after transform in SVG files
* Fix crash in picker
* Fix crash if duplication of characters in CSV date format
* Fix crash in tool tip in dataset browser
* Fix GlobalColor error (on certain dark color sets)
* Fix blocked data import if no descriptor
* Fix crash if log contours and minimum is zero
* Bug fix https://bugzilla.redhat.com/show_bug.cgi?id=800196
Features of package:
* X-Y plots (with errorbars)
......@@ -115,14 +110,12 @@ Requirements for source install:
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/
http://www.riverbankcomputing.co.uk/sip/
http://www.riverbankcomputing.co.uk/software/pyqt/
http://www.riverbankcomputing.co.uk/software/sip/
numpy >= 1.0
http://numpy.scipy.org/
Optional:
Microsoft Core Fonts (recommended for nice output)
http://corefonts.sourceforge.net/
PyFITS >= 1.1 (optional for FITS import)
http://www.stsci.edu/resources/software_hardware/pyfits
pyemf >= 2.0.0 (optional for EMF export)
......@@ -131,7 +124,8 @@ Optional:
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
dbus-python, for dbus interface
http://dbus.freedesktop.org/doc/dbus-python/
For documentation on using Veusz, see the "Documents" directory. The
manual is in PDF, HTML and text format (generated from docbook). The
......
......@@ -56,7 +56,7 @@
p, li { white-space: pre-wrap; }
&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;span style=&quot; font-size:9pt; color:#000000;&quot;&gt;Copyright © 2003-2012 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;
......
......@@ -55,11 +55,4 @@ class LicenseDialog(VeuszDialog):
def __init__(self, parent):
VeuszDialog.__init__(self, parent, 'license.ui')
try:
f = open(os.path.join(utils.veuszDirectory, 'COPYING'), 'rU')
text = f.read()
except IOError:
text = 'Could not open the license file.'
self.licenseEdit.setPlainText(text)
self.licenseEdit.setPlainText(utils.getLicense())
......@@ -42,9 +42,12 @@ class CaptureDialog(VeuszDialog):
validator = qt4.QIntValidator(1, 1000000000, self)
self.numLinesStopEdit.setValidator(validator)
self.timeStopEdit.setValidator(validator)
self.updateIntervalsEdit.setValidator(validator)
self.tailEdit.setValidator(validator)
# floating point values for interval
self.updateIntervalsEdit.setValidator(
qt4.QDoubleValidator(1e-2, 10000000, 2, self))
# add completion for filename if there is support in version of qt
# (requires qt >= 4.3)
if hasattr(qt4, 'QDirModel'):
......@@ -155,7 +158,7 @@ class CaptureDialog(VeuszDialog):
# whether to do an update periodically
if self.updateIntervalsCheck.isChecked():
updateinterval = int( self.updateIntervalsEdit.text() )
updateinterval = float( self.updateIntervalsEdit.text() )
# whether to only retain N values
if self.tailCheck.isChecked():
......@@ -251,7 +254,7 @@ class CapturingDialog(VeuszDialog):
if updateinterval:
self.connect( self.updatetimer, qt4.SIGNAL('timeout()'),
self.slotUpdateTimer )
self.updatetimer.start(updateinterval*1000)
self.updatetimer.start( int(updateinterval*1000) )
# start display and read timers
self.displaytimer.start(1000)
......
......@@ -224,10 +224,10 @@ class CustomDialog(VeuszDialog):
self.document.saveCustomFile(f)
f.close()
self.recentButton.addFile(filename)
except IOError:
qt4.QMessageBox.critical(self, "Veusz",
"Cannot save as '%s'" % filename)
except EnvironmentError, e:
qt4.QMessageBox.critical(
self, "Error - Veusz",
"Unable to save '%s'\n\n%s" % (filename, e.strerror))
def slotLoad(self):
"""Load entries."""
......@@ -237,10 +237,10 @@ class CustomDialog(VeuszDialog):
if filename:
try:
self.loadFile(filename)
except IOError:
qt4.QMessageBox.critical(self, "Veusz",
"Cannot load custom definitions '%s'"
% filename)
except EnvironmentError, e:
qt4.QMessageBox.critical(
self, "Error - Veusz",
"Unable to load '%s'\n\n%s" % (filename, e.strerror))
else:
# add to recent file list
self.recentButton.addFile(filename)
......@@ -279,13 +279,8 @@ class DataEditDialog(VeuszDialog):
# select first item, if any or initialise if none
if len(self.document.data) > 0:
self.selectDataset( sorted(self.document.data.keys())[0] )
#if self.dslistmodel.rowCount() > 0:
# self.datasetlistview.selectionModel().select(
# self.dslistmodel.createIndex(0, 0),
# qt4.QItemSelectionModel.Select)
#else:
# self.slotDatasetSelected(None, None)
else:
self.slotDatasetSelected("")
self.connect(self.dsbrowser.navtree, qt4.SIGNAL("selecteditem"),
self.slotDatasetSelected)
......
......@@ -138,10 +138,14 @@ class ExceptionDialog(VeuszDialog):
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:
versions = []
if not versions:
msg = 'Could not check the latest Veusz version'
else:
vsort = sorted([[int(i) for i in v.split('.')] for v in versions])
......
......@@ -160,6 +160,23 @@ or enter $FILENAME to have filename appended</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Tag</string>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="HistoryCombo" name="tagcombo">
<property name="toolTip">
<string>Enter a list of tags to apply to the imported datasets</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
......
This diff is collapsed.
......@@ -66,6 +66,7 @@ class PreferencesDialog(VeuszDialog):
self.exportDPI.setEditText( str(setdb['export_DPI']) )
self.exportDPIPDF.setValidator( qt4.QIntValidator(10, 10000, self) )
self.exportDPIPDF.setEditText( str(setdb['export_DPI_PDF']) )
self.exportSVGTextAsText.setChecked( setdb['export_SVG_text_as_text'] )
# set export antialias
self.exportAntialias.setChecked( setdb['export_antialias'])
......@@ -226,6 +227,7 @@ class PreferencesDialog(VeuszDialog):
setdb['export_color'] = {0: True, 1: False}[
self.exportColor.currentIndex()]
setdb['export_background'] = self.exportBackgroundButton.iconcolor
setdb['export_SVG_text_as_text'] = self.exportSVGTextAsText.isChecked()
# new document settings
setdb['stylesheet_default'] = unicode(self.styleLineEdit.text())
......
......@@ -131,7 +131,10 @@ Set to 0 to disable threads.</string>
<item>
<widget class="QCheckBox" name="cwdCheck">
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&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;File dialogs will open in the current working directory of Veusz, rather than the one used by Veusz when it was last run&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>File dialogs will open in the current working directory when
starting the program, rather than the one last used by Veusz
when it was previously run
</string>
</property>
<property name="text">
<string>Open file dialog in current working directory</string>
......@@ -155,7 +158,9 @@ Set to 0 to disable threads.</string>
<item row="0" column="1">
<widget class="QComboBox" name="exportDPI">
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&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;Dots Per Inch is used to convert from the physical size of the plot to the number of pixels in output bitmaps&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>Dots Per Inch is used to convert from the physical size
of the plot to the number of pixels in output bitmaps.
Increase this to make output bitmaps have more pixels.</string>
</property>
<property name="editable">
<bool>true</bool>
......@@ -165,7 +170,8 @@ Set to 0 to disable threads.</string>
<item row="0" column="2">
<widget class="QCheckBox" name="exportAntialias">
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&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;Appy antialiasing, or smoothing, to output bitmap images. This is recommended for most purposes.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>Appy antialiasing, or smoothing, to output bitmap images.
This is recommended for most purposes.</string>
</property>
<property name="text">
<string>Antialias</string>
......@@ -182,7 +188,10 @@ Set to 0 to disable threads.</string>
<item row="1" column="1">
<widget class="QComboBox" name="exportDPIPDF">
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&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;This value is the number of dots per inch used for writing PDF and EPS files. As these are vector formats, this does not make much difference to the output, but larger values improve the placement of characters and also make hatched fills finer.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>The number of dots per inch used for writing PDF and EPS files.
As these are vector formats, this does not make much difference
to the output, but larger values improve the placement of
characters and also make hatched fills finer.</string>
</property>
<property name="editable">
<bool>true</bool>
......@@ -216,7 +225,8 @@ Set to 0 to disable threads.</string>
<item row="3" column="1">
<widget class="QSpinBox" name="exportQuality">
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&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;Choose Jpeg quality setting. Lower values are lower quality with more compression.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>Choose Jpeg quality setting. Lower values give
poorer quality and are more compressed.</string>
</property>
<property name="minimum">
<number>0</number>
......@@ -239,7 +249,7 @@ Set to 0 to disable threads.</string>
<item row="4" column="1">
<widget class="QComboBox" name="exportColor">
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&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;Output postscript as full color, or convert to greyscale&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>Output postscript as full color, or convert to greyscale</string>
</property>
<item>
<property name="text">
......@@ -253,6 +263,25 @@ Set to 0 to disable threads.</string>
</item>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Editable text in SVG</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QCheckBox" name="exportSVGTextAsText">
<property name="toolTip">
<string>Exports text in SVG files as text, rather than curves. Curves
mean that the file will display the same on any system, but
text can be edited easily in other programs.</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="StylesTab">
......@@ -310,8 +339,9 @@ Leave blank for no stylesheet to be loaded.</string>
<item row="1" column="1">
<widget class="QLineEdit" name="customLineEdit">
<property name="toolTip">