mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-25 11:50:53 +01:00
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@84 bfdf4180-ca20-0410-9c96-a3a8aa849046
30 lines
603 B
C++
30 lines
603 B
C++
#ifndef ELEMENTS_PANEL_WIDGET_H
|
|
#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();
|
|
};
|
|
#endif
|