gui.h

changeset 99
920d51fec412
parent 97
52bcca21579e
child 100
e40358266290
--- a/gui.h	Thu Apr 11 02:26:14 2013 +0300
+++ b/gui.h	Thu Apr 11 17:15:01 2013 +0300
@@ -100,6 +100,8 @@
 	QTreeWidget* qObjList;
 	QTextEdit* qMessageLog;
 	QMenu* qFileMenu, *qEditMenu, *qInsertMenu, *qHelpMenu, *qControlMenu;
+	QMenu* qRecentFilesMenu;
+	std::vector<QAction*> qaRecentFiles;
 	
 #ifndef RELEASE
 	QMenu* qDebugMenu;
@@ -118,6 +120,7 @@
 	ulong getInsertionPoint ();
 	void deleteSelection (vector<ulong>* ulapIndices, std::vector<LDObject*>* papObjects);
 	void updateToolBars ();
+	void updateRecentFilesMenu ();
 
 private:
 	void createMenuActions ();
@@ -128,6 +131,7 @@
 private slots:
 	void slot_selectionChanged ();
 	void slot_action ();
+	void slot_recentFile ();
 };
 
 // -----------------------------------------------------------------------------

mercurial