|
|
@ -11,12 +11,13 @@ const QString ICON_SUFFIX = ".png"; |
|
|
|
MapInstructions::MapInstructions(QWidget *parent) : QWidget(parent) { |
|
|
|
MapInstructions::MapInstructions(QWidget *parent) : QWidget(parent) { |
|
|
|
is_rhd = Params().getBool("IsRhdDetected"); |
|
|
|
is_rhd = Params().getBool("IsRhdDetected"); |
|
|
|
QVBoxLayout *main_layout = new QVBoxLayout(this); |
|
|
|
QVBoxLayout *main_layout = new QVBoxLayout(this); |
|
|
|
main_layout->setContentsMargins(11, UI_BORDER_SIZE, 11, 11); |
|
|
|
main_layout->setContentsMargins(11, UI_BORDER_SIZE, 11, 20); |
|
|
|
|
|
|
|
|
|
|
|
QHBoxLayout *top_layout = new QHBoxLayout; |
|
|
|
QHBoxLayout *top_layout = new QHBoxLayout; |
|
|
|
top_layout->addWidget(icon_01 = new QLabel, 0, Qt::AlignTop); |
|
|
|
top_layout->addWidget(icon_01 = new QLabel, 0, Qt::AlignTop); |
|
|
|
|
|
|
|
|
|
|
|
QVBoxLayout *right_layout = new QVBoxLayout; |
|
|
|
QVBoxLayout *right_layout = new QVBoxLayout; |
|
|
|
|
|
|
|
right_layout->setContentsMargins(9, 9, 9, 0); |
|
|
|
right_layout->addWidget(distance = new QLabel); |
|
|
|
right_layout->addWidget(distance = new QLabel); |
|
|
|
distance->setStyleSheet(R"(font-size: 90px;)"); |
|
|
|
distance->setStyleSheet(R"(font-size: 90px;)"); |
|
|
|
|
|
|
|
|
|
|
|