Ananas Library  0.9.5
atoolbar.h
1 /****************************************************************************
2 ** $Id: atoolbar.h,v 1.1 2004/11/04 08:57:36 avs Exp $
3 **
4 ** Header file of the Ananas Tool bar of Ananas
5 ** Designer and Engine applications
6 **
7 ** Created : 20031201
8 **
9 ** Copyright (C) 2003-2004 Leader InfoTech. All rights reserved.
10 **
11 ** This file is part of the Library of the Ananas
12 ** automation accounting system.
13 **
14 ** This file may be distributed and/or modified under the terms of the
15 ** GNU General Public License version 2 as published by the Free Software
16 ** Foundation and appearing in the file LICENSE.GPL included in the
17 ** packaging of this file.
18 **
19 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 **
22 ** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru
23 ** See http://www.leaderit.ru/gpl/ for GPL licensing information.
24 **
25 ** Contact org@leaderit.ru if any conditions of this licensing are
26 ** not clear to you.
27 **
28 **********************************************************************/
29 
30 /****************************************************************************
31 ****************************************************************************/
32 
33 #ifndef ATOOLBAR_H
34 #define ATOOLBAR_H
35 
36 #include <qtoolbar.h>
37 #include <qaction.h>
38 
39 #include "acfg.h"
40 #include "ananas.h"
41 
42 class ANANAS_EXPORT aToolBar : public QToolBar
43 {
44  Q_OBJECT
45 private:
46  aCfg *md;
47  aEngine *en;
48  QIntDict<QAction> actions;
49 
50 public:
51  aToolBar( aCfg *cfg, aCfgItem &obj, aEngine *e, QMainWindow* parent = 0, const char* name = 0 );
52  ~aToolBar();
53 
54  void ReadTool( aCfgItem &obj );
55 
56 public slots:
57  void on_Item();
58 };
59 
60 
61 #endif // ATOOLBAR_H
Definition: atoolbar.h:42
Класс реализует програмный интерфейс доступа к элемен...
Definition: acfg.h:436
Определяет программный интерфейс Runtime системы, который используется Ананас скриптом. Наследует QObject.
Definition: engine.h:87