compositeProperties.h

Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
00003 //
00004 // $Id: compositeProperties.h,v 1.4.16.1 2007/03/25 21:25:46 oliver Exp $
00005 //
00006 
00007 #ifndef BALL_VIEW_DIALOGS_COMPOSITEPROPERTIES_H
00008 #define BALL_VIEW_DIALOGS_COMPOSITEPROPERTIES_H
00009 
00010 #ifndef BALL_COMMON_GLOBAL_H
00011 # include <BALL/COMMON/global.h>
00012 #endif
00013 
00014 #ifndef BALL_CONCEPT_COMPOSITE
00015 # include <BALL/CONCEPT/composite.h>
00016 #endif
00017 
00018 #include <BALL/VIEW/UIC/ui_compositeProperties.h>
00019 
00020 namespace BALL
00021 {
00022   namespace VIEW
00023   {
00024 
00028     class BALL_VIEW_EXPORT CompositeProperties 
00029       : public QDialog,
00030         public Ui_CompositePropertiesData
00031     { 
00032       Q_OBJECT
00033 
00034     public:
00035       CompositeProperties(Composite* composite,  QWidget* parent = 0, const char* name = "CompositeProperties", 
00036                           bool modal = FALSE, Qt::WFlags fl = 0 );
00037       ~CompositeProperties();
00038 
00039     public slots:
00040       void accept();
00041 
00042     private:
00043       String getString_(float data) const;
00044 
00045       Composite* composite_;
00046     };
00047 
00048   } // namespace VIEW
00049 } // namespace BALL
00050 
00051 #endif // BALL_VIEW_DIALOGS_COMPOSITEPROPERTIES_H