2008-04-02 22:14:45 +00:00
|
|
|
|
|
|
|
#include "LayoutEditor.h"
|
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
lyx::MainWindow led;
|
|
|
|
QStringList args = app.arguments();
|
|
|
|
args.append("/data/lyx/trunk/lib/layouts/amsart.layout");
|
|
|
|
for (int i = 1; i != args.size(); ++i) {
|
|
|
|
led.loadLayoutFile(args[i]);
|
|
|
|
}
|
|
|
|
led.show();
|
|
|
|
return app.exec();
|
|
|
|
}
|
|
|
|
|
2008-04-02 23:06:22 +00:00
|
|
|
|
|
|
|
#include "LayoutEditor.h"
|
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
lyx::MainWindow led;
|
|
|
|
QStringList args = app.arguments();
|
|
|
|
args.append("/data/lyx/trunk/lib/layouts/amsart.layout");
|
|
|
|
for (int i = 1; i != args.size(); ++i) {
|
|
|
|
led.loadLayoutFile(args[i]);
|
|
|
|
}
|
|
|
|
led.show();
|
|
|
|
return app.exec();
|
|
|
|
}
|
|
|
|
|