Corrected RegisterHistoryItem member variable name
This commit is contained in:
@@ -24,15 +24,15 @@ RegisterHistoryItem::RegisterHistoryItem(
|
|||||||
).toHex()).toUpper());
|
).toHex()).toUpper());
|
||||||
this->valueLabel->setObjectName("value-label");
|
this->valueLabel->setObjectName("value-label");
|
||||||
|
|
||||||
this->descriptionLayout->setText("Register Written");
|
this->descriptionLabel->setText("Register Written");
|
||||||
this->descriptionLayout->setObjectName("description-label");
|
this->descriptionLabel->setObjectName("description-label");
|
||||||
|
|
||||||
auto* subLabelLayout = new QHBoxLayout();
|
auto* subLabelLayout = new QHBoxLayout();
|
||||||
subLabelLayout->setSpacing(0);
|
subLabelLayout->setSpacing(0);
|
||||||
subLabelLayout->setContentsMargins(0, 0, 0, 0);
|
subLabelLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
subLabelLayout->addWidget(this->valueLabel, 0, Qt::AlignmentFlag::AlignLeft);
|
subLabelLayout->addWidget(this->valueLabel, 0, Qt::AlignmentFlag::AlignLeft);
|
||||||
subLabelLayout->addStretch(1);
|
subLabelLayout->addStretch(1);
|
||||||
subLabelLayout->addWidget(this->descriptionLayout, 0, Qt::AlignmentFlag::AlignRight);
|
subLabelLayout->addWidget(this->descriptionLabel, 0, Qt::AlignmentFlag::AlignRight);
|
||||||
|
|
||||||
this->layout->setSpacing(5);
|
this->layout->setSpacing(5);
|
||||||
this->layout->addWidget(this->dateLabel, 0, Qt::AlignmentFlag::AlignTop);
|
this->layout->addWidget(this->dateLabel, 0, Qt::AlignmentFlag::AlignTop);
|
||||||
|
|||||||
@@ -23,6 +23,6 @@ namespace Bloom::Widgets
|
|||||||
QVBoxLayout* layout = new QVBoxLayout(this);
|
QVBoxLayout* layout = new QVBoxLayout(this);
|
||||||
QLabel* dateLabel = new QLabel(this);
|
QLabel* dateLabel = new QLabel(this);
|
||||||
QLabel* valueLabel = new QLabel(this);
|
QLabel* valueLabel = new QLabel(this);
|
||||||
QLabel* descriptionLayout = new QLabel(this);
|
QLabel* descriptionLabel = new QLabel(this);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user