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

« back to all changes in this revision

Viewing changes to compoundviewer/kalziumglwidget.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
 *  Copyright (C) 2006 by Carsten Niehaus <cniehaus@kde.org>
 
3
 *  Copyright (C) 2007-2008 by Marcus D. Hanwell <marcus@cryos.org>
 
4
 ***************************************************************************/
 
5
 
 
6
/***************************************************************************
 
7
 *                                                                         *
 
8
 *   This program is free software; you can redistribute it and/or modify  *
 
9
 *   it under the terms of the GNU General Public License as published by  *
 
10
 *   the Free Software Foundation; either version 2 of the License, or     *
 
11
 *   (at your option) any later version.                                   *
 
12
 *                                                                         *
 
13
 ***************************************************************************/
 
14
#ifndef KALZIUMGLWIDGET_H
 
15
#define KALZIUMGLWIDGET_H
 
16
 
 
17
#include <avogadro/glwidget.h>
 
18
 
 
19
class KalziumGLWidget : public Avogadro::GLWidget
 
20
{
 
21
    Q_OBJECT
 
22
    public:
 
23
        KalziumGLWidget(QWidget *parent = 0);
 
24
        virtual ~KalziumGLWidget();
 
25
        
 
26
    public slots:
 
27
      void setStyle(int style);
 
28
      void setStyle2(int style);
 
29
      void setLabels(int style);
 
30
      void setQuality(int quality);
 
31
      bool openFile(const QString &file);
 
32
 
 
33
    protected:
 
34
      QByteArray m_lc_numeric;
 
35
      int m_lastEngine1, m_lastEngine2;
 
36
};
 
37
 
 
38
#endif // KALZIUMGLWIDGET_H