Og & wip: names
This commit is contained in:
parent
544da49e32
commit
42b30b1bf8
5 changed files with 227 additions and 28 deletions
|
|
@ -326,6 +326,7 @@ SessionWidget::SessionWidget(uint64_t idx, SessionHandler* sh, QWidget *parent)
|
|||
|
||||
muteButton = new QCheckBox(this);
|
||||
mainLabel = new QLabel(QString::fromStdWString(sh->getName()), this);
|
||||
mainLabel->setToolTip(QString::fromStdWString(sh->getName()));
|
||||
mainSlider = new MeterSlider(Qt::Horizontal, this);
|
||||
|
||||
//mainLabel->setMaximumWidth(150 /*1/16ish 1080p*/);
|
||||
|
|
@ -368,8 +369,10 @@ SessionWidget::SessionWidget(uint64_t idx, SessionHandler* sh, QWidget *parent)
|
|||
connect(volumePoller, &QTimer::timeout, [this, sh](){
|
||||
//if (memcmp(osh->callbackInfo[idx]->caller, osh->getGuid(), sizeof(NGuid)) == 0) return; CHECK IF THIS PROGRAM GENERATED THE FUNSIES IS NO LONGER IN USE FOR NOW.
|
||||
//todo: global + constexpr + ratio
|
||||
if (sh->getVolumeInfo()->isNameChanged)
|
||||
if (sh->getVolumeInfo()->isNameChanged) {
|
||||
mainLabel->setText(QString::fromStdWString(sh->getName()));
|
||||
mainLabel->setToolTip(QString::fromStdWString(sh->getName()));
|
||||
}
|
||||
const float roundingFactor = 0.005;
|
||||
mainSlider->blockSignals(true);
|
||||
muteButton->blockSignals(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue