Last change
on this file since 88bb6b was 7641d4, checked in by Michael Ankele <ankele@…>, 13 years ago |
added a toolbar
|
-
Property mode
set to
100644
|
File size:
588 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * QtToolBar.hpp
|
---|
3 | *
|
---|
4 | * Created on: Apr 26, 2012
|
---|
5 | * Author: ankele
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef QTTOOLBAR_HPP_
|
---|
9 | #define QTTOOLBAR_HPP_
|
---|
10 |
|
---|
11 | // include config.h
|
---|
12 | #ifdef HAVE_CONFIG_H
|
---|
13 | #include <config.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 |
|
---|
17 | #include <Qt/qaction.h>
|
---|
18 | #include <QtGui/QToolBar>
|
---|
19 |
|
---|
20 | #include "Menu/Qt4/QtMenuPipe.hpp"
|
---|
21 |
|
---|
22 |
|
---|
23 | class QtToolBar : public QToolBar
|
---|
24 | {
|
---|
25 | Q_OBJECT
|
---|
26 | public:
|
---|
27 | QtToolBar(QWidget * _parent=0);
|
---|
28 | virtual ~QtToolBar();
|
---|
29 |
|
---|
30 | private:
|
---|
31 | std::list<QtMenuPipe*> plumbing;
|
---|
32 |
|
---|
33 | void addActionItem(const std::string &token, const std::string &description, const std::string &icon_name);
|
---|
34 |
|
---|
35 | };
|
---|
36 |
|
---|
37 |
|
---|
38 | #endif /* QTTOOLBAR_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.