wip: file log

This commit is contained in:
Hane 2024-04-25 15:43:58 +02:00
commit 46224d331c
4 changed files with 58 additions and 4 deletions

View file

@ -106,9 +106,9 @@ void MainWindow::compose() {
log_debugcpp("epw loop");
log_debugcpp("epw roles: " + std::to_string(epw->getEndpointHandler()->getRoles()));
//std::bitset<sizeof(uint8_t)> content =
print_as_binary(8, uint8_t, (epw->getEndpointHandler()->getRoles()));
//print_as_binary(8, uint8_t, (epw->getEndpointHandler()->getRoles()));
//log_debugcpp(content);
varToBitset<sizeof(uint8_t), uint8_t>(epw->getEndpointHandler()->getRoles());
//varToBitset<sizeof(uint8_t), uint8_t>(epw->getEndpointHandler()->getRoles());
}
/*
@ -585,6 +585,7 @@ void EndpointWidget::calculateSize(uint64_t width, uint64_t height) {
/* og 1080p 120% testing values */
this->mainLabel->setMaximumWidth((int)width * 0.50 /* 1080p 120%*/);
this->mainLabel->setMinimumWidth((int)width * 0.50 /* 1080p 120%*/);
if (cw) {
this->cw->setMinimumSize(QSize(1, height * 0.06));
this->cw->setMaximumSize(QSize(QWIDGETSIZE_MAX, height * 0.06));