Files
lsim/src/stopperwidget.h

58 lines
2.3 KiB
C
Raw Normal View History

/***************************************************************************
* 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