|
Public Slots |
| void | Menu (QPopupMenu *menu) |
| | open context menu
|
| void | updateValuesDialog () |
| void | selectionChanged () |
| QString | Title () const |
| | get title
|
| void | setTitle (QString t="") |
| | set spreadsheet title
|
| QString | Notes () const |
| | get notes
|
| void | setNotes (QString notes="") |
| | set spreadsheet notes
|
| void | setListDialog (ListDialog *l) |
| void | setGraph (Graph *g) |
| QStringList | columnInfo (int col) |
| | get info about column col
|
| QString | columnTitle (int col) |
| | get title of column col
|
| void | setColumnTitle (int col, QString name=0) |
| QString | columnType (int col) |
| | get type of column col
|
| void | setColumnType (int col, QString type=0) |
| QString | columnFormat (int col) |
| | get format of column col
|
| void | setColumnFormat (int col, QString format=0) |
| void | Clear () |
| | clear spreadsheet
|
| int | filledRows (int col=1) |
| | calculate number of filled rows
|
| int | selectedColumns () |
| | calculate number of selected cols
|
| int | selectedRows () |
| | calculate number of selected rows
|
| int | getColumnIndex (QString title) |
| | get the index of the column with name title
|
| void | plot2DSimple () |
| | make a simple 2d plot of all selected columns
|
| void | plot2DPie () |
| | make a pie plot of all selected columns
|
| void | plotLPie () |
| | make a pie plot with value and label
|
| void | plot2DPolar () |
| | make a polar plot of all selected columns
|
| void | plot3DXYPX () |
| void | plot3DXYPY () |
| void | plot2DLine () |
| void | plotMSurface () |
| | make a surface plot of all selected columns
|
| void | plot3DSurface () |
| | make a surface plot of x-y-z
|
| void | plotM3D () |
| | make a 3d plot from matrix
|
| void | plotQWT3D () |
| void | plotMQWT3D () |
| void | plot3DXYDY (Input2D mode=I2DXYDY) |
| | make a 2d y-error plot of all selected columns
|
| void | plot4DXYDXDY () |
| | make a 2d x-y-error plot of all selected columns
|
| void | plot4DXYDYDY () |
| | make a 2d y1-y2-error plot of all selected columns
|
| void | plot3DSimple () |
| | make a simple 3d plot of all selected columns
|
| void | plot3DTernary () |
| | make a ternary plot of all selected columns
|
| void | selectDestination () |
| | select destination for plot
|
| int | Destination () |
| void | setDestination (int v) |
| void | addGraph2D (Graph2D *g) |
| void | addGraph3D (Graph3D *g) |
| void | addGraph4D (Graph4D *g) |
| void | addGraphM (GraphM *g) |
| void | addGraphL (GraphL *g) |
| Graph2D * | getGraph2D () |
| | create Graph2D from table data
|
| Graph3D * | getGraph3D () |
| Graph4D * | getGraph4D () |
| GraphM * | getGraphM () |
| GraphL * | getGraphL () |
| | create GraphL from table data
|
| void | cutSelection () |
| | cut current selection
|
| void | copySelection () |
| | copy current selection
|
| void | pasteSelection () |
| | paste current selection
|
| void | clearSelection () |
| | clear current selection
|
| void | fillRowNumber () |
| | fill selected column with row numbers
|
| void | fillRandom (double max=1.0) |
| | fill selected column with random numbers (0..max)
|
| void | setCurrentColumn (int i) |
| | set column i to current column (first column : 0)
|
| void | selectAll () |
| | select everything
|
| void | selectNone () |
| | deselect everything
|
| void | selectInvert () |
| | invert selection
|
| void | normSum () |
| | normalize current column to sum = 1.0
|
| void | normMax (double max=1.0) |
| | normalize current column to maximum = max
|
| void | convertComma () |
| | replace all ',' with '.'
|
| void | convertFORTRAN () |
| | replace all 'd' and 'D' with 'e'
|
| void | transposeMatrix () |
| | transpose spreadsheet matrix
|
| void | convertMatrixtoXYZ () |
| | convert matrix data to x-y-z data
|
| void | convertXYZtoMatrix () |
| | convert x-y-z data to matrix data
|
| void | convertColumntoMatrix () |
| | convert one column to matrix
|
| ExportDialog * | exportData () |
| | export data
|
| void | addColumn () |
| | add a column
|
| void | toggleMask () |
| void | maskSelection () |
| void | unMask () |
| void | maskNthRow () |
| void | maskFirstRow () |
| void | sortAscending () |
| | sort current column ascending
|
| void | sortDescending () |
| | sort current column descending
|
| void | rowStatistics () |
| | slot wrapper
|
| void | Statistics (bool col=true) |
| | row/column statistics
|
| void | selectColumns (int left, int right=-1) |
| | select columns from right to left
|
| void | selectRows (int top, int bottom=-1) |
| | select rows from top to bottom
|
| void | deleteRows () |
| | delete selected rows
|
| void | deleteColumns () |
| | delete selected columns
|
| void | setValues (int srow=1, int erow=0, QString expr=0) |
| | set value of rows srow to erow in currentColumn to expr
|
| void | setProperties (QString label=0, int type=1, int format=0, int rows=100) |
| | set properties of current columns (label, type, format, rows)
|
Public Member Functions |
| | Spreadsheet (QWidget *parent, MainWin *mw, const char *name) |
| void | update () |
| void | closeNow () |
| WidgetType | getWidgetType () |
| QStringList | Info () |
| MainWin * | getMainWin () |
| QTable * | Table () |
| void | setText (int i, int j, QString text) |
| | set text of table item (i,j) to text
|
| void | save (QTextStream *t) |
| void | open (QTextStream *t, int version) |
| QDomElement | saveXML (QDomDocument doc) |
| void | openXML (QDomNode node) |
| bool | eventFilter (QObject *object, QEvent *e) |
Private Slots |
| void | plot2D (PType type, bool line) |
| void | plot3D (PType type) |
| void | plotL (PType type) |
| void | plotMatrix (PType type) |
| void | editEditor (int editor) |
| void | readfile (KProcess *process) |
| void | editVI () |
| void | editKVIM () |
| void | editGVIM () |
| void | editKATE () |
| void | editKWRITE () |
| void | editEMACS () |
| void | editXEMACS () |
| void | editKWORD () |
| void | editSOFFICE () |
Private Member Functions |
| int | formatItem (int col) |
| | return format index for column col
|
| void | sort () |
| void | qsort (int s, int e) |
| void | updateGraphList () |
| void | setColumnNames (int nrcols) |
| void | contextMenuEvent (QContextMenuEvent *) |
| void | mousePressEvent (QMouseEvent *) |
| | used for left upper corner
|
| void | resizeEvent (QResizeEvent *) |
| void | closeEvent (QCloseEvent *) |
Private Attributes |
| MainWin * | mw |
| WidgetType | widgettype |
| QString | title |
| QString | notes |
| QTable * | table |
| ListDialog * | ld |
| SpreadsheetValuesDialog * | values_dialog |
| Graph * | graph |
| GRAPHType | gtype |
| QString | datafile |
| QString | tmpfilename |
| bool | ascending |
| int | destination |
| QPopupMenu * | plotmenu |
| QPopupMenu * | destmenu |
| QPopupMenu * | selmenu |
| QPopupMenu * | fillmenu |
| QPopupMenu * | normmenu |
| QPopupMenu * | editmenu |
| QPopupMenu * | convertmenu |
| QPopupMenu * | sortmenu |
| QPopupMenu * | maskmenu |