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

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • printing
pwizfovconfig.h
Go to the documentation of this file.
1 /***************************************************************************
2  pwizfovconfig.h - K Desktop Planetarium
3  -------------------
4  begin : Sun Aug 14 2011
5  copyright : (C) 2011 by Rafał Kułaga
6  email : rl.kulaga@gmail.com
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 PWIZFOVCONFIG_H
19 #define PWIZFOVCONFIG_H
20 
21 #include "ui_pwizfovconfig.h"
22 #include "legend.h"
23 
29 class PWizFovConfigUI : public QFrame, public Ui::PWizFovConfig
30 {
31  Q_OBJECT
32 public:
36  explicit PWizFovConfigUI(QWidget *parent = 0);
37 
42  bool isSwitchColorsEnabled() { return switchColorsBox->isChecked(); }
43 
48  bool isFovShapeOverriden() { return overrideShapeBox->isChecked(); }
49 
54  bool isLegendEnabled() { return addLegendBox->isChecked(); }
55 
60  bool isAlphaBlendingEnabled() { return useAlphaBlendBox->isChecked(); }
61 
66  Legend::LEGEND_TYPE getLegendType();
67 
72  Legend::LEGEND_ORIENTATION getLegendOrientation() { return static_cast<Legend::LEGEND_ORIENTATION>(orientationCombo->currentIndex()); }
73 
78  Legend::LEGEND_POSITION getLegendPosition() { return static_cast<Legend::LEGEND_POSITION>(positionCombo->currentIndex()); }
79 
80 private slots:
85  void slotUpdateLegendFields(bool enabled);
86 
87 private:
91  void setupWidgets();
92 
96  void setupConnections();
97 };
98 
99 #endif // PWIZFOVCONFIG_H
PWizFovConfigUI::PWizFovConfigUI
PWizFovConfigUI(QWidget *parent=0)
Constructor.
Definition: pwizfovconfig.cpp:20
PWizFovConfigUI::getLegendPosition
Legend::LEGEND_POSITION getLegendPosition()
Get selected legend position.
Definition: pwizfovconfig.h:78
legend.h
QWidget
PWizFovConfigUI::isLegendEnabled
bool isLegendEnabled()
Check if legend will be added to FOV images.
Definition: pwizfovconfig.h:54
PWizFovConfigUI::isAlphaBlendingEnabled
bool isAlphaBlendingEnabled()
Check if alpha blending is enabled.
Definition: pwizfovconfig.h:60
PWizFovConfigUI::getLegendType
Legend::LEGEND_TYPE getLegendType()
Get selected legend type.
Definition: pwizfovconfig.cpp:28
PWizFovConfigUI
User interface for "Configure common FOV export options" step of the Printing Wizard.
Definition: pwizfovconfig.h:29
Legend::LEGEND_POSITION
LEGEND_POSITION
Legend position enumeration.
Definition: legend.h:73
PWizFovConfigUI::getLegendOrientation
Legend::LEGEND_ORIENTATION getLegendOrientation()
Get selected legend orientation.
Definition: pwizfovconfig.h:72
Legend::LEGEND_TYPE
LEGEND_TYPE
Legend type enumeration.
Definition: legend.h:52
Legend::LEGEND_ORIENTATION
LEGEND_ORIENTATION
Legend orientation enumeration.
Definition: legend.h:64
PWizFovConfigUI::isFovShapeOverriden
bool isFovShapeOverriden()
Check if FOV shape is always rectangular.
Definition: pwizfovconfig.h:48
PWizFovConfigUI::isSwitchColorsEnabled
bool isSwitchColorsEnabled()
Check if switching to "Sky Chart" color scheme is enabled.
Definition: pwizfovconfig.h:42
QFrame
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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