mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
11a0458d3f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24100 a592a061-630c-0410-9148-cb99ea01b6c8
37 lines
698 B
C++
37 lines
698 B
C++
|
|
#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();
|
|
}
|
|
|
|
|
|
#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();
|
|
}
|
|
|