Put the pjWidget into a HBoxLayer
- Define pjLayout in mainwindows.ui, not programmatically anymore
- Modified the main window layout to make it more dynamic
- Added a vertical spacer on the left toolbox
Set the minimum size of the IP QLineEdit to 120px
No need to explicitely delete children objects in a QObject hierarchy :
https://qt-project.org/doc/qt-5.1/qtcore/objecttrees.html
QString string should be passed as references, const in particular if
they won't be changed in the body of the method
Pass const QString& to avoid copy of the source QString
Send each command to qDebug() before sending them.
In case of problem, log a message to qWarning
Follow project naming convention about placement of the & (reference)
symbol
Follow project naming convention
Refactored commands that expect an answer into
Projector::sendCommandAndReceiveAnswer
Follow project conventions
Log connection error to qWarning()
Removed Projector::timeout as QTimer::start doesn't need to have a msec
value passed if it is set with QTimer::setInterval beforehand
Fixed typo