~ubuntu-branches/ubuntu/karmic/kst/karmic

« back to all changes in this revision

Viewing changes to kst/src/libkstapp/kst.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-28 15:16:16 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080628151616-9hvxg0nmnlkmyz4y
Tags: 1.6.0-1
* New upstream release.
* Change B-D to libnetcdf-dev.
* Add dh_icons call.  Closes: #457853.
* Bump Standards-Version to 3.8.0.
* Bump debhelper dependency for dh_icons.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
class KstMonochromeDialogI;
58
58
class KstPlotDialogI;
59
59
class KstQuickStartDialogI;
60
 
class KstTopLevelView;
 
60
class KstVectorSaveDialogI;
61
61
class KstViewFitsDialogI;
62
62
class KstViewManagerI;
63
63
class KstViewMatricesDialogI;
67
67
class KstViewWindow;
68
68
class StatusLabel;
69
69
class UpdateThread;
70
 
class VectorSaveDialog;
71
70
 
72
71
class QLabel;
73
72
class QProgressBar;
136
135
 
137
136
    KstTopLevelView::ViewMode currentViewMode();
138
137
    QString currentCreateType();
139
 
    
 
138
 
140
139
    KstTopLevelViewPtr activeView();
141
140
    Kst2DPlotMap* plotHolderWhileOpeningDocument();
142
141
 
147
146
    void tiedZoomPrev(KstViewWidget* view, const QString& plotName);
148
147
    void tiedZoomMode(int zoom, bool flag, double center, int mode, int modeExtra, KstViewWidget* view, const QString& plotName);
149
148
    void tiedZoom(bool x, double xmin, double xmax, bool y, double ymin, double ymax, KstViewWidget* view, const QString& plotName);
150
 
    
 
149
 
151
150
    bool dataMode() const;
152
151
 
153
152
    void paintAll(KstPainter::PaintType = KstPainter::P_PAINT);
160
159
    KConfig *dataSourceConfig() const { return _dataSourceConfig; }
161
160
 
162
161
    KstGraphFileDialogI *graphFileDlg() const { return graphFileDialog; }
 
162
    KstChooseColorDialogI* chooseColorDlg() const { return chooseColorDialog; }
163
163
 
164
164
    bool paused() const;
165
165
 
215
215
    // Hack to update KStdActions
216
216
    void updateActions();
217
217
    void loadExtensions();
218
 
 
219
 
    // for the kaction
220
218
    void toggleDataMode();
221
219
    void toggleMouseMode();
222
 
 
223
220
    void slotSettingsChanged();
224
 
 
225
221
    void fixKMdi();
226
222
    void showContextMenu(QWidget *w, const QPoint& pos);
227
223
    void showContextMenu(const QPoint& pos);
230
226
 
231
227
  public slots:
232
228
    void fromEnd();
233
 
 
234
229
    void updatePausedState(bool);
235
 
 
236
230
    void tieAll();
237
 
 
238
231
    void forceUpdate();
239
 
 
240
232
    void slotConfigureKeys();
241
233
 
242
234
    /** open a new application window */
280
272
    void immediatePrintWindowToPng(KMdiChildView *window, const QString& filename, const QString& format = "PNG", int width = 640, int height = 480, int display = 0);
281
273
    void immediatePrintActiveWindowToPng(const QString& filename, const QString& format = "PNG", int width = 640, int height = 480, int display = 0);
282
274
 
283
 
    /** export to eps without querying */    
 
275
    /** export to eps without querying */
284
276
    void immediatePrintToEps(const QString& filename, int width = 640, int height = 480, bool all=false, int display = 0);
285
277
    void immediatePrintWindowToEps(KMdiChildView *win, const QString& filename, int width, int height, int display);    
286
278
    void immediatePrintActiveWindowToEps(const QString& filename, int width, int height, int display);
287
 
    
 
279
 
288
280
    //void slotCut() {}
289
281
    void slotCopy();
290
282
    void slotPaste();
305
297
    /** just calls dataManager->show_I(0) */
306
298
    void showDataManager();
307
299
    void showViewManager();
308
 
    
 
300
 
309
301
    /** just calls changeFileDialog->showChangeFileDialog(0) */
310
302
    void showChangeFileDialog();
311
 
    
 
303
 
312
304
    /** just calls monochromeDialog->showMonochromeDialog(0) */
313
305
    void showMonochromeDialog();
314
 
    
 
306
 
315
307
    /** just calls chooseColorDialog->showChooseColorDialog(0) */
316
308
    void showChooseColorDialog();
317
309
 
318
310
    /** just calls chooseColorDialog->showChooseColorDialog(0) */
319
311
    void showDifferentiateCurvesDialog();
320
 
    
 
312
 
321
313
    /** just calls viewScalarsDialog->showViewScalarsDialog(0) */
322
314
    void showViewScalarsDialog();
323
315
 
329
321
 
330
322
    /** just calls viewMatricesDialog->showViewMatricesDialog(0) */
331
323
    void showViewMatricesDialog();
332
 
    
 
324
 
333
325
    /** just calls viewFitsDialog->showViewFitsDialog(0) */
334
326
    void showViewFitsDialog();
335
327
 
338
330
 
339
331
    /** just calls graphFileDialog->showGraphFileDialog(0) */
340
332
    void showGraphFileDialog();
341
 
    
 
333
 
342
334
    /** just calls filterListEditor->show() */
343
335
//    void showFilterListEditor();
344
336
 
421
413
 
422
414
    /* Dialog for viewing the vector values */
423
415
    KstViewMatricesDialogI *viewMatricesDialog;
424
 
    
 
416
 
425
417
    /* Dialog for viewing the fit values */
426
418
    KstViewFitsDialogI *viewFitsDialog;
427
419
 
428
420
    /* Dialog for changing the data files from Vectors */
429
421
    KstChangeFileDialogI *changeFileDialog;
430
 
    
 
422
 
431
423
    /* Dialog for choosing curve color per file */
432
424
    KstChooseColorDialogI *chooseColorDialog;
433
425
 
434
426
    /* Dialog for differentiating between curves */
435
427
    KstCurveDifferentiateI *differentiateCurvesDialog;
436
 
    
 
428
 
437
429
    /* Dialog for changing the Sample ranges for Vectors */
438
430
    KstChangeNptsDialogI *changeNptsDialog;
439
431
 
441
433
    KstGraphFileDialogI *graphFileDialog;
442
434
 
443
435
    /* Dialog for exporting to a text file */
444
 
    VectorSaveDialog *vectorSaveDialog;
445
 
    
 
436
    KstVectorSaveDialogI *vectorSaveDialog;
 
437
 
446
438
    /* Dialog for looking at data */
447
439
    KstDataManagerI *dataManager;
448
440
    KstViewManagerI *viewManager;
449
 
    
 
441
 
450
442
    /* Dialog for looking at debug information */
451
443
    KstDebugDialogI *debugDialog;
452
444
 
453
445
    GraphicEditorI *_graphicDialog;
454
 
    
 
446
 
455
447
    /* Dialog for setting monochrome settings for plots */
456
448
    KstMonochromeDialogI *_monochromeDialog; 
457
449
 
573
565
    KRadioAction *_gfxPictureAction;
574
566
    KRadioAction *_gfx2DPlotAction;
575
567
    KRadioAction *_gfxArrowAction;
 
568
    KRadioAction *_gfxLegendAction;
576
569
 
577
570
    StatusLabel *_readyBar;
578
571
    StatusLabel *_memoryBar;