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

mcallegari / qlcplus / 6683238402

29 Oct 2023 12:10PM UTC coverage: 28.07%. Remained the same
6683238402

push

github

mcallegari
engine: fix build

15385 of 54809 relevant lines covered (28.07%)

20267.63 hits per line

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

64.71
/ui/src/virtualconsole/vcdockarea.cpp
1
/*
2
  Q Light Controller
3
  vcdockarea.cpp
4

5
  Copyright (c) Heikki Junnila
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 <QVBoxLayout>
21
#include <QString>
22
#include <QDebug>
23

24
#include "grandmasterslider.h"
25
#include "inputoutputmap.h"
26
#include "vcdockarea.h"
27

28
VCDockArea::VCDockArea(QWidget* parent, InputOutputMap *ioMap)
76✔
29
    : QFrame(parent)
76✔
30
{
31
    Q_ASSERT(ioMap != NULL);
76✔
32

33
    new QHBoxLayout(this);
76✔
34
    layout()->setContentsMargins(0, 0, 0, 0);
76✔
35
    layout()->setSpacing(1);
76✔
36

37
    m_gm = new GrandMasterSlider(this, ioMap);
76✔
38
    layout()->addWidget(m_gm);
76✔
39
}
76✔
40

41
VCDockArea::~VCDockArea()
152✔
42
{
43
}
152✔
44

45
void VCDockArea::setGrandMasterInvertedAppearance(GrandMaster::SliderMode mode)
×
46
{
47
    Q_ASSERT(m_gm != NULL);
×
48
    if (mode == GrandMaster::Normal)
×
49
        m_gm->setInvertedAppearance(false);
×
50
    else
51
        m_gm->setInvertedAppearance(true);
×
52
}
×
53

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