• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kig

  • sources
  • kde-4.12
  • kdeedu
  • kig
  • filters
imageexporteroptions.h
Go to the documentation of this file.
1 // Copyright (C) 2002 Dominique Devriese <devriese@kde.org>
2 
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License
5 // as published by the Free Software Foundation; either version 2
6 // of the License, or (at your option) any later version.
7 
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
12 
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16 // 02110-1301, USA.
17 
18 #ifndef KIG_FILTERS_IMAGEEXPORTEROPTIONS_H
19 #define KIG_FILTERS_IMAGEEXPORTEROPTIONS_H
20 
21 #include "../misc/unit.h"
22 
23 #include <qwidget.h>
24 
25 class QSize;
26 class Ui_ImageExporterOptionsWidget;
27 
28 class ImageExporterOptions
29  : public QWidget
30 {
31  Q_OBJECT
32 
33  QSize msize;
34  Ui_ImageExporterOptionsWidget* expwidget;
35  double maspectratio;
36  Unit mxunit;
37  Unit myunit;
38 
39  // this is set by slotWidthChanged() when they set the other input
40  // widget's value, to avoid reacting to internal changes to the
41  // value like to user changes...
42  bool minternallysettingstuff;
43 public:
44  ImageExporterOptions( QWidget* parent );
45  ~ImageExporterOptions();
46 
47  void setGrid( bool grid );
48  bool showGrid() const;
49 
50  void setAxes( bool axes );
51  bool showAxes() const;
52 
53  void setImageSize( const QSize& size );
54  QSize imageSize() const;
55 
56 protected slots:
57  void slotWidthChanged( double );
58  void slotHeightChanged( double );
59  void slotUnitChanged( int );
60 };
61 
62 #endif
ImageExporterOptions::setAxes
void setAxes(bool axes)
Definition: imageexporteroptions.cc:71
QWidget
ImageExporterOptions::showAxes
bool showAxes() const
Definition: imageexporteroptions.cc:76
ImageExporterOptions::setImageSize
void setImageSize(const QSize &size)
Definition: imageexporteroptions.cc:81
ImageExporterOptions::slotHeightChanged
void slotHeightChanged(double)
Definition: imageexporteroptions.cc:111
ImageExporterOptions::setGrid
void setGrid(bool grid)
Definition: imageexporteroptions.cc:61
ImageExporterOptions::slotWidthChanged
void slotWidthChanged(double)
Definition: imageexporteroptions.cc:99
ImageExporterOptions
Definition: imageexporteroptions.h:28
ImageExporterOptions::imageSize
QSize imageSize() const
Definition: imageexporteroptions.cc:93
ImageExporterOptions::slotUnitChanged
void slotUnitChanged(int)
Definition: imageexporteroptions.cc:123
ImageExporterOptions::ImageExporterOptions
ImageExporterOptions(QWidget *parent)
Definition: imageexporteroptions.cc:30
ImageExporterOptions::~ImageExporterOptions
~ImageExporterOptions()
Definition: imageexporteroptions.cc:56
Unit
This small class server as helper to perform conversions between metrical units.
Definition: unit.h:30
ImageExporterOptions::showGrid
bool showGrid() const
Definition: imageexporteroptions.cc:66
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal