Files
lsim/src/probechargewidget.h
catdog2 509cacdca6 initial commit of code tree
git-svn-id: http://svn.lsim.tuxzone.org/trunk@2 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
2008-10-08 22:11:27 +00:00

56 lines
2.4 KiB
C++

/***************************************************************************
* 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 PROBECHARGEWIDGET_H
#define PROBECHARGEWIDGET_H
#include <QWidget>
class GraphicsEllipseItem;
//! Dock Widget fuer die Eigenschaften von HomoEFieldItem
/**
auf diesem Widget befinden sich Steuerelemente, mit denen man
die Eigenschaften von einem GraphicsEllipseItem (Probeladungen) manipulieren kann.
@author Peter Dahlberg <pdahlberg@gmail.com>
*/
class ProbeChargeWidget : public QWidget {
Q_OBJECT
public:
//! Erzeugt ein neues ProbeChargeWidget
/*!
\param parent Parent Widget, see Qt Documentaion
\param f Window Flags, see Qt Documentaion
\param eField HomoEFieldItem, zu dem das HomoEFieldWidget zugeordnet werden soll
*/
ProbeChargeWidget ( QWidget* parent, Qt::WindowFlags f, GraphicsEllipseItem* ellipse );
virtual ~ProbeChargeWidget();
private:
//!enth&auml;lt einen Zeiger auf das zugeordnete GraphicsEllipseItem
GraphicsEllipseItem* ellipseItem;
//! Erstellt die Steuerelemente
/*!
Wird von Konstruktor aufgerufen, um die Steuerelemente zu erzeugen
*/
void createWidget();
};
#endif