2007-02-26 22:42:46 +00:00
|
|
|
#ifndef ELEMENTS_PANEL_WIDGET_H
|
2007-04-09 02:56:47 +00:00
|
|
|
#define ELEMENTS_PANEL_WIDGET_H
|
|
|
|
#include <QtGui>
|
|
|
|
#include "elementspanel.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
Cette classe est un widget qui contient le panel d'elements surplombe d'une
|
|
|
|
barre d'outils avec differentes actions pour gerer les elements.
|
|
|
|
*/
|
|
|
|
class ElementsPanelWidget : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
// constructeurs
|
|
|
|
public:
|
|
|
|
ElementsPanelWidget(QWidget * = 0);
|
|
|
|
|
|
|
|
// attributs
|
|
|
|
private:
|
|
|
|
ElementsPanel *elements_panel;
|
|
|
|
QToolBar *toolbar;
|
|
|
|
|
|
|
|
// methodes
|
|
|
|
public:
|
|
|
|
inline ElementsPanel &elementsPanel() const { return(*elements_panel); }
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void newElement();
|
|
|
|
};
|
2007-02-26 22:42:46 +00:00
|
|
|
#endif
|