فهرست منبع

Drag and drop

George King 8 ماه پیش
والد
کامیت
97b1a00285
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      mapeditor/mainwindow.h

+ 3 - 0
mapeditor/mainwindow.h

@@ -206,4 +206,7 @@ private:
 
 	// command line options
 	QString mapFilePath;			// FilePath to the H3 or VCMI map to open
+
+	void dragEnterEvent(QDragEnterEvent* event) override;
+	void dropEvent(QDropEvent* event) override;
 };