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

mcallegari / qlcplus / 15805077468

22 Jun 2025 08:36AM UTC coverage: 31.876% (-0.01%) from 31.89%
15805077468

push

github

mcallegari
plugins/dmxusb: fix RDM discovery and commands while DMX is running

0 of 1 new or added line in 1 file covered. (0.0%)

3722 existing lines in 175 files now uncovered.

16438 of 51569 relevant lines covered (31.88%)

19266.08 hits per line

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

0.0
/ui/src/createfixturegroup.cpp
1
/*
2
  Q Light Controller
3
  createfixturegroup.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 <QSettings>
21

22
#include "createfixturegroup.h"
23

24
#define SETTINGS_GEOMETRY "createfixturegroup/geometry"
25

26
CreateFixtureGroup::CreateFixtureGroup(QWidget* parent)
×
27
    : QDialog(parent)
×
28
{
29
    setupUi(this);
×
30

31
    QSettings settings;
×
32
    QVariant geometrySettings = settings.value(SETTINGS_GEOMETRY);
×
33
    if (geometrySettings.isValid() == true)
×
34
        restoreGeometry(geometrySettings.toByteArray());
×
35
}
×
36

37
CreateFixtureGroup::~CreateFixtureGroup()
×
38
{
39
    QSettings settings;
×
40
    settings.setValue(SETTINGS_GEOMETRY, saveGeometry());
×
41
}
×
42

43
QString CreateFixtureGroup::name() const
×
44
{
UNCOV
45
    Q_ASSERT(m_nameEdit != NULL);
×
46
    return m_nameEdit->text();
×
47
}
48

49
void CreateFixtureGroup::setSize(const QSize& size)
×
50
{
UNCOV
51
    Q_ASSERT(m_widthSpin != NULL);
×
UNCOV
52
    Q_ASSERT(m_heightSpin != NULL);
×
53
    m_widthSpin->setValue(size.width());
×
54
    m_heightSpin->setValue(size.height());
×
55
}
×
56

57
QSize CreateFixtureGroup::size() const
×
58
{
UNCOV
59
    Q_ASSERT(m_widthSpin != NULL);
×
UNCOV
60
    Q_ASSERT(m_heightSpin != NULL);
×
61
    return QSize(m_widthSpin->value(), m_heightSpin->value());
×
62
}
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