Today I worked on finishing the command line widget, it now supports coordinates and numbers.

I had to add the support of Coordinate in Qt signals/slots, that needed the macro

Q_DECLARE_METATYPE(lc::geo::Coordinate); 

with the function

qRegisterMetaType<lc::geo::Coordinate>();

that return the type id, which helped me a lot to send a signal with Coordinate to Lua.

The command line is now case insensitive. If a command is entered, it always uses the result of the completion if they have the same length.

I began to separate the Lua code into different files because the file was too big. There are still some bugs due to variables moved between files.
Tomorrow I'll fix those bugs and send a PR for the command line.

Here is a screenshot of a line created with command line: