35 #include <qpopupmenu.h> 36 #include <qsobjectfactory.h> 37 #include <qsproject.h> 38 #include <qsinterpreter.h> 40 #include "adatabase.h" 42 #include "awindowslist.h" 43 #include <qmainwindow.h> 44 #include "adatafield.h" 67 QObject *create(
const QString &className,
68 const QSArgumentList &arguments,
87 class ANANAS_EXPORT
aEngine :
public QObject
150 virtual bool init(
const QString &rcfile );
152 void openEmbedCatalogueEditor(
int oid, QWidget *parent=NULL,
const bool toSelect=
true);
154 QString sourcePreprocessor(
const QString &src );
156 void timerEvent(QTimerEvent *e);
157 int on_systemstart();
159 aForm *openForm(
int oid,
int fid = 0 ,
int defaultfor = 1,
160 int mode = 0, ANANAS_UID
id = 0,
aWidget* caller = 0,
bool modal =
false);
167 void Message(
int n,
const QString &msg );
168 void StatusMessage(
const QString &msg );
169 void StatusMessage(
const QString &msg,
const int &pos );
170 void settimer(
int sec, QString proc);
171 aForm * OpenForm(QString fname,
int mode=0,
aObject * selecter=0,
bool modal=
false);
172 aForm * OpenForm(QString fname,
int mode,
int ido,
aObject * selecter=0,
bool modal=
false);
173 QVariant value(
const QString &name );
174 void setValue(
const QString &name, QVariant value = QVariant::Invalid );
176 void on_MenuBar(
int id );
177 void execAction( aCfgItem &act, QObject *context = 0 );
179 aDataField *enterValue(
const QString &FieldType,
const QString &title =
"" );
180 bool startTransaction();
181 bool commitTransaction();
182 bool rollbackTransaction();
184 void error (
const QString & message, QObject * context,
185 const QString & scriptName,
int lineNumber );
186 void on_event(
const QString &data );
188 void statusMessage(
const QString &msg );
189 void statusMessage(
const QString &msg,
const int &pos );
190 void statusIcon(
const int &status );
191 void event(
const QString &source,
const QString &data );
196 QDict <QVariant> values;
aCfg * md
Definition: engine.h:106
int next_obj_id
Definition: engine.h:146
QSProject project
Definition: engine.h:138
Класс определяет интерфейс управления списком открытых окон. Наследует QWidget.
Definition: awindowslist.h:49
Класс реализует програмный интерфейс доступа к элементам метаданных системы. Наследует QObject...
Definition: acfg.h:436
Метод aObjectsFactory::create регистрирует С++ классы Ананаса в интерпретаторе скриптов, делая доступным работу с объектами зарегистрированного класса из Ананас.Скрипта. Наследует QSObjectFactory.
Definition: engine.h:61
Класс определяет программный интерфейс для доступа к полям бизнес объектов Ананаса. Наследует QObject.
Definition: adatafield.h:60
QSInterpreter * code
Definition: engine.h:130
aDatabase db
Definition: engine.h:98
Класс для работы с СУБД. Ananas Data Abstraction Layer. Наследует QObject.
Definition: adatabase.h:77
Базовый класс для невизуальных классов (моделей в терминологии MVC) Ананаса, которым необходим доступ...
Definition: aobject.h:63
Определяет программный интерфейс Runtime системы, который используется Ананас скриптом. Наследует QObject.
Definition: engine.h:87
QWidget * ws
Definition: engine.h:114
aWindowsList * wl
Definition: engine.h:122