• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mcallegari / qlcplus / 19409821768

16 Nov 2025 06:06PM UTC coverage: 34.233% (-0.01%) from 34.243%
19409821768

push

github

mcallegari
vc/soloframe: add an option to exclude functions monitored by buttons to be stopped

3 of 38 new or added lines in 9 files covered. (7.89%)

2 existing lines in 2 files now uncovered.

17724 of 51774 relevant lines covered (34.23%)

19630.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/ui/src/virtualconsole/vcsoloframeproperties.cpp
1
/*
2
  Q Light Controller Plus
3
  vcsoloframeproperties.cpp
4

5
  Copyright (c) David Garyga
6

7
  Licensed under the Apache License, Version 2.0 (the "License");
8
  you may not use this file except in compliance with the License.
9
  You may obtain a copy of the License at
10

11
      http://www.apache.org/licenses/LICENSE-2.0.txt
12

13
  Unless required by applicable law or agreed to in writing, software
14
  distributed under the License is distributed on an "AS IS" BASIS,
15
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
  See the License for the specific language governing permissions and
17
  limitations under the License.
18
*/
19

20
#include <QDebug>
21

22
#include "vcsoloframeproperties.h"
23
#include "vcsoloframe.h"
24

25
VCSoloFrameProperties::VCSoloFrameProperties(QWidget* parent, VCSoloFrame *frame, Doc *doc)
×
26
    : VCFrameProperties(parent, frame, doc)
27
    , m_soloframe(frame)
×
28
{
29
    // Setup UI
30
    setupSoloframeUi();
×
31

32
    // Setup state
NEW
33
    m_sliderMixingCheckBox->setChecked(m_soloframe->soloframeMixing());
×
NEW
34
    m_excludeMonitoredCheckBox->setChecked(m_soloframe->excludeMonitoredFunctions());
×
UNCOV
35
}
×
36

37
void VCSoloFrameProperties::setupSoloframeUi()
×
38
{
NEW
39
    QGroupBox *groupBox = new QGroupBox(tab);
×
40
    new QVBoxLayout(groupBox);
×
41
    groupBox->setTitle(tr("Solo Frame properties"));
×
42

NEW
43
    m_sliderMixingCheckBox = new QCheckBox(groupBox);
×
NEW
44
    m_sliderMixingCheckBox->setText(tr("Mix sliders in playback mode"));
×
NEW
45
    groupBox->layout()->addWidget(m_sliderMixingCheckBox);
×
46

NEW
47
    m_excludeMonitoredCheckBox = new QCheckBox(groupBox);
×
NEW
48
    m_excludeMonitoredCheckBox->setText(tr("Exclude Monitored Functions"));
×
NEW
49
    groupBox->layout()->addWidget(m_excludeMonitoredCheckBox);
×
50

51
    // insert groupBox before the vertical spacer
52
    tabLayout->insertWidget(tabLayout->count() - 1, groupBox);
×
53
}
×
54

55
VCSoloFrameProperties::~VCSoloFrameProperties()
×
56
{
57
}
×
58

59
void VCSoloFrameProperties::accept()
×
60
{
NEW
61
    m_soloframe->setSoloframeMixing(m_sliderMixingCheckBox->isChecked());
×
NEW
62
    m_soloframe->setExcludeMonitoredFunctions(m_excludeMonitoredCheckBox->isChecked());
×
63

64
    VCFrameProperties::accept();
×
65
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc