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

« back to all changes in this revision

Viewing changes to kst/kst/kstlabeldialog_i.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2006-06-30 19:11:30 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060630191130-acumuar75bz4puty
Tags: 1.2.1-1ubuntu1
Merge from debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**************************************************************************
2
 
        kstlabeldialog_i.h - source file: inherits designer dialog
3
 
                             -------------------
4
 
    begin                :  2003
5
 
    copyright            : (C) 2003 by Barth Netterfield
6
 
    email                :
7
 
 ***************************************************************************/
8
 
 
9
 
/***************************************************************************
10
 
 *                                                                         *
11
 
 *   This program is free software; you can redistribute it and/or modify  *
12
 
 *   it under the terms of the GNU General Public License as published by  *
13
 
 *   the Free Software Foundation; either version 2 of the License, or     *
14
 
 *   (at your option) any later version.                                   *
15
 
 *                                                                         *
16
 
 ***************************************************************************/
17
 
 
18
 
#ifndef KSTLABELDIALOGI_H
19
 
#define KSTLABELDIALOGI_H
20
 
 
21
 
#include "kstlabeldialog.h"
22
 
 
23
 
class KstLabelDialogI : public KstLabelDialog {
24
 
  Q_OBJECT
25
 
  public:
26
 
    KstLabelDialogI(QWidget* parent = 0, const char* name = 0,
27
 
        bool modal = FALSE, WFlags fl = 0 );
28
 
    virtual ~KstLabelDialogI();
29
 
    void showI(Kst2DPlotPtr plot, int i_label, double in_x, double in_y);
30
 
    void updateI();
31
 
  public slots:
32
 
    void apply();
33
 
    void ok();
34
 
    void deleteL();
35
 
    void usePlotColorChange();
36
 
  private:
37
 
    double _x;
38
 
    double _y;
39
 
    Kst2DPlotPtr _i_plot;
40
 
    int _i_label;
41
 
    bool _editing;
42
 
 
43
 
    void applyAsNew();
44
 
    void applyEdits();
45
 
  signals:
46
 
    void applied();
47
 
};
48
 
 
49
 
#endif
50
 
// vim: ts=2 sw=2 et