~ubuntu-branches/ubuntu/precise/kalzium/precise

« back to all changes in this revision

Viewing changes to src/unitsettingsdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Philip Muškovac
  • Date: 2011-07-03 12:28:58 UTC
  • Revision ID: james.westby@ubuntu.com-20110703122858-q1yyxncs89e4w0hs
Tags: upstream-4.6.90+repack
Import upstream version 4.6.90+repack

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    <one line to give the program's name and a brief idea of what it does.>
 
3
    Copyright (C) 2011  Rebetez Etienne <etienne.rebetez@oberwallis.ch>
 
4
 
 
5
    This program is free software: you can redistribute it and/or modify
 
6
    it under the terms of the GNU General Public License as published by
 
7
    the Free Software Foundation, either version 3 of the License, or
 
8
    (at your option) any later version.
 
9
 
 
10
    This program is distributed in the hope that it will be useful,
 
11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
    GNU General Public License for more details.
 
14
 
 
15
    You should have received a copy of the GNU General Public License
 
16
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
*/
 
18
 
 
19
 
 
20
#ifndef UNITSETTINGSDIALOG_H
 
21
#define UNITSETTINGSDIALOG_H
 
22
 
 
23
#include <QWidget>
 
24
#include "kalziumunitcombobox.h"
 
25
 
 
26
class UnitSettingsDialog: public QWidget
 
27
{
 
28
public:
 
29
    explicit UnitSettingsDialog(QWidget* parent = 0);
 
30
    virtual ~UnitSettingsDialog();
 
31
 
 
32
    int getLenghtUnitId();
 
33
 
 
34
    int getEnergyUnitId();
 
35
 
 
36
    int getTemperatureUnitId();
 
37
 
 
38
private:
 
39
    KalziumUnitCombobox *m_comboBoxLengthUnit;
 
40
    KalziumUnitCombobox *m_comboBoxLEnergiesUnit;
 
41
    KalziumUnitCombobox *m_comboBoxLTemperatureUnit;
 
42
 
 
43
};
 
44
 
 
45
#endif // UNITSETTINGSDIALOG_H