StopperItem fertig, wird aber noch nicht in berechnung einbezogen

git-svn-id: http://svn.lsim.tuxzone.org/trunk@20 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-11-21 23:56:10 +00:00
parent f01d249e27
commit cabf7af527
18 changed files with 519 additions and 49 deletions

57
src/stopperwidget.h Normal file
View File

@@ -0,0 +1,57 @@
/***************************************************************************
* Copyright (C) 2008 by Peter Dahlberg *
* pdahlberg@gmail.com *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef STOPPERWIDGET_H
#define STOPPERWIDGET_H
#include <QWidget>
//! Dock Widget fuer die Eigenschaften von StopperItem
/**
auf diesem Widget befinden sich Steuerelemente, mit denen man
die Eigenschaften von einem StopperItem manipulieren kann.
@author Peter Dahlberg <pdahlberg@gmail.com>
*/
class StopperItem;
class StopperWidget : public QWidget {
Q_OBJECT
public:
//! Erzeugt ein neues StopperWidget
/*!
\param parent Parent Widget, see Qt Documentaion
\param f Window Flags, see Qt Documentaion
\param eField StopperItem, zu dem das StopperWidget zugeordnet werden soll
*/
StopperWidget(QWidget* parent, Qt::WindowFlags f, StopperItem* stopperI);
virtual ~StopperWidget();
private:
//!enth&auml;lt einen Zeiger auf das zugeordnete StopperItem
StopperItem* stopperItem;
//! Erstellt die Steuerelemente
/*!
Wird von Konstruktor aufgerufen, um die Steuerelemente zu erzeugen
*/
void createWidget();
};
#endif