]> git.lyx.org Git - lyx.git/blobdiff - src/lyxled/LayoutEditor.h
Comment
[lyx.git] / src / lyxled / LayoutEditor.h
index 9a9eab85fdc82bf10cfb45d8f6b474e87da89f1f..7e33ad88973222786c54f8b9a388556c1f585879 100644 (file)
@@ -46,6 +46,81 @@ public:
 };
 
 
+/////////////////////////////////////////////////////////////////////////
+//
+// MainWindow
+//
+/////////////////////////////////////////////////////////////////////////
+
+class MainWindow : public QMainWindow
+{
+       Q_OBJECT
+
+public:
+       MainWindow();
+       ~MainWindow();
+
+       void loadLayoutFile(QString const & file);
+
+public:
+       void loadLayoutFile(QString const & file, QStandardItem * parent);
+
+       Ui::MainWindow * ui_;
+       LayoutTree * view_;
+       QStandardItemModel * model_;
+};
+
+} // namespace lyx
+
+#endif // LAYOUTEDITOR_H
+#ifndef LAYOUTEDITOR_H
+#define LAYOUTEDITOR_H
+
+#include <QMainWindow>
+#include <QObject>
+#include <QTreeView>
+#include <QWidget>
+
+class QStandardItem;
+class QStandardItemModel;
+
+namespace Ui { class MainWindow; }
+
+namespace lyx {
+
+class LayoutTree;
+class LayoutEditor;
+
+/////////////////////////////////////////////////////////////////////////
+//
+// LayoutTree
+//
+/////////////////////////////////////////////////////////////////////////
+
+class LayoutTree : public QTreeView
+{
+       Q_OBJECT
+
+public:
+       LayoutTree(QWidget * parent);
+};
+
+
+/////////////////////////////////////////////////////////////////////////
+//
+// LayoutTree
+//
+/////////////////////////////////////////////////////////////////////////
+
+class LayoutEditor : public QWidget
+{
+       Q_OBJECT
+
+public:
+       LayoutEditor(QWidget * parent);
+};
+
+
 /////////////////////////////////////////////////////////////////////////
 //
 // MainWindow