Warning, file /education/khipu/src/spaceinformation.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /************************************************************************************* 0002 * Copyright (C) 2012 by Percy Camilo T. Aucahuasi <percy.camilo.ta@gmail.com> * 0003 * * 0004 * This program is free software; you can redistribute it and/or * 0005 * modify it under the terms of the GNU General Public License * 0006 * as published by the Free Software Foundation; either version 2 * 0007 * of the License, or (at your option) any later version. * 0008 * * 0009 * This program is distributed in the hope that it will be useful, * 0010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 0011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 0012 * GNU General Public License for more details. * 0013 * * 0014 * You should have received a copy of the GNU General Public License * 0015 * along with this program; if not, write to the Free Software * 0016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 0017 *************************************************************************************/ 0018 0019 #ifndef KEOMATH_VIEWER2D_H 0020 #define KEOMATH_VIEWER2D_H 0021 0022 //Qt includes 0023 #include <QWidget> 0024 #include <QDockWidget> 0025 #include <QModelIndex> 0026 0027 //local includes 0028 #include "dashboard.h" 0029 0030 namespace Ui 0031 { 0032 class SpaceInformationWidget; 0033 } 0034 0035 class SpaceInformation : public QDockWidget 0036 { 0037 Q_OBJECT 0038 public: 0039 explicit SpaceInformation(QWidget *parent); 0040 ~ SpaceInformation() override; 0041 0042 //returns the space's title 0043 QString title() const; 0044 0045 //returns the space's description 0046 QString description() const; 0047 0048 void setInformation(const QString &title, const QString &description); 0049 0050 public slots: 0051 void clear(); 0052 0053 private: 0054 Ui::SpaceInformationWidget *m_widget; 0055 }; 0056 0057 #endif