mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
25 lines
474 B
C++
25 lines
474 B
C++
#ifndef ELEMENTS_PANEL_WIDGET_H
|
|
#define ELEMENTS_PANEL_WIDGET_H
|
|
#include <QtGui>
|
|
#include "elementspanel.h"
|
|
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
|