Chapter 5. The Dialogs

Table of Contents
Add Custom Action
Add Error bars
Function Dialog
Add Layer
Add/Remove Curves
Arrange Layers
Line Options
Column Options
Plot Associations
Edit Curve Range
Plot Details
Define surface plot
Export Graph Dialog
Fast Fourier Transform Dialog
FFT Filter Dialog
Find Peaks Dialog
Baseline Dialog
Integrate Function Dialog
The Fit Wizard
General Plot Options
Plot Wizard
Project Explorer Find Dialog
Preferences Dialog
Set Column Values
Extract Data
Set Matrix Dimensions
Matrix Properties
Set Matrix Values
Surface plot options
Sorting Options
Tex Equation Editor
Text options
Export ASCII Dialog
Import ASCII files
Import database
Open TDMS File

Add Custom Action

This dialog helps you define new Python script launchers that will be added to menus or tool bars in QtiPlot. You can fully customize script launchers by defining: 1) a textual description that will be displayed in the destination menu, (2) an icon, (3) a shortcut key sequence and (4) a tool tip. The Tool Tip Textis a short description that is displayed near the launcher button when you hover the mouse over it. You must assign unique shortcut key sequences to your custom launchers.

Figure 5-1. The Add Custom Script Action... dialog box.

The Script File is the path to the Python script that will be executed when you click the launcher. When you click the Add button, all the settings for the new launcher are saved to an XML file in the directory specified in the Folder box. On start-up QtiPlot parses all XML files in this folder and creates the corresponding menu items or toolbar buttons. When you press the Remove button, the launcher selected in the left side list of the dialog is removed from QtiPlot menus/tool bars and the corresponding XML file is deleted from the hard disk. Make sure that you have backed up the file if you will ever need it in the future!