Clight GUI written in Qt.

Related tags

GUI clight-gui
Overview

CLight GUI

Clight GUI written in Qt.

Huge thanks to @FedeDP for writing Clight and Clightd, the daemons upon which this is built on. They are also a requirement for this program ;)

Features

Please make sure you are using the latest versions of Clight (4.4) and Clightd (5.3) for the best experience!

  • Configure all aspects of Clight with a pretty GUI!
  • Tray applet with quick access to settings (scroll on it to change brightness!)
  • Minimize to tray by closing window

Building

Requires cmake, Qt5/6, and Qt charts. The DBus C++ interfaces are generated based on the XML files for Clight.

cd clight-gui
cmake -S src -B build # It may be safe to ignore the CMAKE_PREFIX_PATH warning.
cd build
make
sudo make install
# You may need this to update the icons.
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/

Installing

An AUR package was created by user @yochananmarqos! You can check it out here. For users of other distributions, the executable is completely portable and requires no other dependencies.

Screenshots

tray context info-tab brightness-tab sensor-tab

Issues
  • Support for new monitor overrides feature?

    Support for new monitor overrides feature?

    i notice that if I add a monitor override manually to the .conf and then changes some settings in GUI and press store, the monitor override is deleted!

    could this be fixed?

    and of course, also, a new Tab in the GUI to insert custom monitor overrides, when you have time.

    thanks

    opened by taprobane99 12
  • fatal error: ../class/DBusTypes.h: No such file or directory

    fatal error: ../class/DBusTypes.h: No such file or directory

    I'm not sure if this is actually building yet, but I thought I'd give it a shot. I whipped up a PKGBUILD. Here's the result:

    -- The C compiler identification is GNU 10.2.0
    -- The CXX compiler identification is GNU 10.2.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    CMake Warning at CMakeLists.txt:42 (message):
      CMAKE_PREFIX_PATH is not defined, you may need to set it
      (-DCMAKE_PREFIX_PATH="path/to/Qt/lib/cmake" or
      -DCMAKE_PREFIX_PATH=/usr/include/{host}/qt{version}/ on Ubuntu)
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build
    make: Entering directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    make[1]: Entering directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    make[2]: Entering directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    Scanning dependencies of target clight-gui_autogen
    make[2]: Leaving directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    make[2]: Entering directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    [  1%] Automatic MOC and UIC for target clight-gui
    make[2]: Leaving directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    [  1%] Built target clight-gui_autogen
    make[2]: Entering directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    [  4%] Generating clight.cpp, clight.h
    [  4%] Generating Conf.cpp, Conf.h
    [  7%] Generating Gamma.cpp, Gamma.h
    [  7%] Generating Daytime.cpp, Daytime.h
    [  8%] Generating Dimmer.cpp, Dimmer.h
    [ 10%] Generating Dpms.cpp, Dpms.h
    [ 13%] Generating Inhibit.cpp, Inhibit.h
    [ 13%] Generating Backlight.cpp, Backlight.h
    [ 14%] Generating Kbd.cpp, Kbd.h
    [ 15%] Generating Screen.cpp, Screen.h
    [ 18%] Generating SysBacklight.cpp, SysBacklight.h
    [ 18%] Generating Sensor.cpp, Sensor.h
    [ 20%] Generating SysScreen.cpp, SysScreen.h
    [ 21%] Generating SysGamma.cpp, SysGamma.h
    [ 23%] Generating SysSensor.cpp, SysSensor.h
    [ 24%] Generating SysDpms.cpp, SysDpms.h
    [ 26%] Generating clight.moc
    [ 27%] Generating Backlight.moc
    [ 28%] Generating Daytime.moc
    [ 30%] Generating Conf.moc
    [ 31%] Generating Dimmer.moc
    [ 33%] Generating Dpms.moc
    [ 34%] Generating Inhibit.moc
    [ 36%] Generating Gamma.moc
    [ 37%] Generating Kbd.moc
    [ 39%] Generating SysBacklight.moc
    [ 42%] Generating Screen.moc
    [ 42%] Generating Sensor.moc
    [ 44%] Generating SysScreen.moc
    [ 44%] Generating SysGamma.moc
    [ 46%] Generating SysDpms.moc
    [ 47%] Generating SysSensor.moc
    Scanning dependencies of target clight-gui
    make[2]: Leaving directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    make[2]: Entering directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    [ 49%] Building CXX object CMakeFiles/clight-gui.dir/models/BacklightPctModel.cpp.o
    [ 50%] Building CXX object CMakeFiles/clight-gui.dir/gui/DimmerTab.cpp.o
    [ 52%] Building CXX object CMakeFiles/clight-gui.dir/clight-gui_autogen/mocs_compilation.cpp.o
    [ 55%] Building CXX object CMakeFiles/clight-gui.dir/gui/BacklightTab.cpp.o
    [ 55%] Building CXX object CMakeFiles/clight-gui.dir/main.cpp.o
    [ 56%] Building CXX object CMakeFiles/clight-gui.dir/util/initializeMetaTypes.cpp.o
    [ 57%] Building CXX object CMakeFiles/clight-gui.dir/gui/InfoTab.cpp.o
    [ 59%] Building CXX object CMakeFiles/clight-gui.dir/gui/MainWindow.cpp.o
    [ 60%] Building CXX object CMakeFiles/clight-gui.dir/gui/GammaTab.cpp.o
    In file included from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/models/BacklightPctModel.h:8,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/models/BacklightPctModel.cpp:5:
    /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/SysBacklight.h:22:10: fatal error: ../class/DBusTypes.h: No such file or directory
       22 | #include "../class/DBusTypes.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:297: CMakeFiles/clight-gui.dir/models/BacklightPctModel.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    In file included from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/../models/BacklightPctModel.h:8,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/BacklightTab.h:9,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/MainWindow.h:11,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/MainWindow.cpp:7:
    /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/SysBacklight.h:22:10: fatal error: ../class/DBusTypes.h: No such file or directory
       22 | #include "../class/DBusTypes.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:284: CMakeFiles/clight-gui.dir/gui/MainWindow.cpp.o] Error 1
    In file included from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/DimmerTab.h:9,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/DimmerTab.cpp:7:
    /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/Dimmer.h:22:10: fatal error: ../class/DBusTypes.h: No such file or directory
       22 | #include "../class/DBusTypes.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:336: CMakeFiles/clight-gui.dir/gui/DimmerTab.cpp.o] Error 1
    In file included from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/../models/BacklightPctModel.h:8,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/BacklightTab.h:9,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/BacklightTab.cpp:7:
    /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/SysBacklight.h:22:10: fatal error: ../class/DBusTypes.h: No such file or directory
       22 | #include "../class/DBusTypes.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:323: CMakeFiles/clight-gui.dir/gui/BacklightTab.cpp.o] Error 1
    In file included from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/../models/BacklightPctModel.h:8,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/BacklightTab.h:9,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/MainWindow.h:11,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/main.cpp:2:
    /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/SysBacklight.h:22:10: fatal error: ../class/DBusTypes.h: No such file or directory
       22 | #include "../class/DBusTypes.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:271: CMakeFiles/clight-gui.dir/main.cpp.o] Error 1
    In file included from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/InfoTab.h:9,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/InfoTab.cpp:7:
    /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/clight.h:22:10: fatal error: ../class/DBusTypes.h: No such file or directory
       22 | #include "../class/DBusTypes.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:362: CMakeFiles/clight-gui.dir/gui/InfoTab.cpp.o] Error 1
    In file included from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/GammaTab.h:9,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/clight-gui/src/gui/GammaTab.cpp:7:
    /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/Gamma.h:22:10: fatal error: ../class/DBusTypes.h: No such file or directory
       22 | #include "../class/DBusTypes.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:349: CMakeFiles/clight-gui.dir/gui/GammaTab.cpp.o] Error 1
    In file included from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/clight-gui_autogen/DMHXEJ42XS/../../../clight-gui/src/gui/../models/BacklightPctModel.h:8,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/clight-gui_autogen/DMHXEJ42XS/../../../clight-gui/src/gui/BacklightTab.h:9,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/clight-gui_autogen/DMHXEJ42XS/moc_BacklightTab.cpp:10,
                     from /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/clight-gui_autogen/mocs_compilation.cpp:2:
    /home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build/SysBacklight.h:22:10: fatal error: ../class/DBusTypes.h: No such file or directory
       22 | #include "../class/DBusTypes.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:258: CMakeFiles/clight-gui.dir/clight-gui_autogen/mocs_compilation.cpp.o] Error 1
    make[2]: Leaving directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/clight-gui.dir/all] Error 2
    make[1]: Leaving directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    make: *** [Makefile:103: all] Error 2
    make: Leaving directory '/home/yochanan/Documents/pkgbuilds/clight-gui-git/src/build'
    
    opened by yochananmarqos 11
  • Segfault on Arch build

    Segfault on Arch build

    Hi, Not sure how much help I can be but clight-gui segfaulted on my machine.

    I'm running a recent install of Arch with i3. Not much on the machine, so let me know which versions of other software I should check.

    edited for more info.

    opened by dwlazlo 10
  • Build fails after localization commit

    Build fails after localization commit

    I added qt5-tools for the new Qt5LinguistTools build requirement, but to no avail:

    -- The C compiler identification is GNU 10.2.0
    -- The CXX compiler identification is GNU 10.2.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    CMake Warning at CMakeLists.txt:63 (message):
      CMAKE_PREFIX_PATH is not defined, you may need to set it
      (-DCMAKE_PREFIX_PATH="path/to/Qt/lib/cmake" or
      -DCMAKE_PREFIX_PATH=/usr/include/{host}/qt{version}/ on Ubuntu)
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /build/clight-gui-git/src/build
    make: Entering directory '/build/clight-gui-git/src/build'
    make[1]: Entering directory '/build/clight-gui-git/src/build'
    make[2]: Entering directory '/build/clight-gui-git/src/build'
    make[2]: Leaving directory '/build/clight-gui-git/src/build'
    make[2]: Entering directory '/build/clight-gui-git/src/build'
    [  1%] Automatic MOC and UIC for target clight-gui
    make[2]: Leaving directory '/build/clight-gui-git/src/build'
    [  1%] Built target clight-gui_autogen
    make[2]: Entering directory '/build/clight-gui-git/src/build'
    [  6%] Generating /build/clight-gui-git/src/clight-gui/src/localization/clight-gui_ja.ts
    [  5%] Generating Conf.cpp, Conf.h
    [  6%] Generating Kbd.cpp, Kbd.h
    [  5%] Generating Dimmer.cpp, Dimmer.h
    [  7%] Generating Gamma.cpp, Gamma.h
    [  8%] Generating Inhibit.cpp, Inhibit.h
    [ 11%] Generating Dpms.cpp, Dpms.h
    [ 11%] Generating Backlight.cpp, Backlight.h
    [ 12%] Generating SysDpms.cpp, SysDpms.h
    [ 13%] Generating Screen.cpp, Screen.h
    [ 15%] Generating SysBacklight.cpp, SysBacklight.h
    [ 16%] Generating SysScreen.cpp, SysScreen.h
    [ 18%] Generating Daytime.cpp, Daytime.h
    [ 18%] Generating SysGamma.cpp, SysGamma.h
    [ 20%] Generating Sensor.cpp, Sensor.h
    Scanning directory '/build/clight-gui-git/src/clight-gui/src'...
    [ 21%] Generating SysSensor.cpp, SysSensor.h
    Updating '../clight-gui/src/localization/clight-gui_ja.ts'...
    [ 22%] Automatic RCC for resources/resources.qrc
        Found 136 source text(s) (136 new and 0 already existing)
    Cannot create /build/clight-gui-git/src/clight-gui/src/localization/clight-gui_ja.ts: No such file or directory
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:390: /build/clight-gui-git/src/clight-gui/src/localization/clight-gui_ja.ts] Error 1
    make[2]: *** Waiting for unfinished jobs....
    [ 24%] Generating clight.cpp, clight.h
    [ 25%] Generating /build/clight-gui-git/src/clight-gui/src/localization/clight-gui_en.ts
    Scanning directory '/build/clight-gui-git/src/clight-gui/src'...
    Updating '../clight-gui/src/localization/clight-gui_en.ts'...
        Found 136 source text(s) (136 new and 0 already existing)
    Cannot create /build/clight-gui-git/src/clight-gui/src/localization/clight-gui_en.ts: No such file or directory
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:334: /build/clight-gui-git/src/clight-gui/src/localization/clight-gui_en.ts] Error 1
    make[2]: Leaving directory '/build/clight-gui-git/src/build'
    make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/clight-gui.dir/all] Error 2
    make[1]: Leaving directory '/build/clight-gui-git/src/build'
    make: *** [Makefile:136: all] Error 2
    make: Leaving directory '/build/clight-gui-git/src/build'
    
    opened by yochananmarqos 9
  • invisible system tray icon

    invisible system tray icon

    hi,

    i am using kde plasma with dark theme. there is no tray icon just a blank space

    this happens both with "light tray icon" ticked, and unticked.

    opened by taprobane99 9
  • clight-gui, does not start minimized when launching by opening a kde session

    clight-gui, does not start minimized when launching by opening a kde session

    When opening a kde session clight-gui is automatically launched but not minimized. It's not handy. I did not find this feature in settings.

    It would be a good thing.

    Thanks

    opened by promeneur 8
  • clight*gui does not get anything about clight conf or state

    clight*gui does not get anything about clight conf or state

    openSuse 15.2 clight 4.0, clightd 4.0 i build clight-gui.

    If i launch clight-gui then

    in "info" tab i get strange values

    sunrise 1/1/1970 01 h 00 sunset 1/1/1970 01 h 00

    location 91.000, 181.000 << completly false, must be 44.841, 0.580

    in "day time" tab i get also strange value

    location 0.000 lat, 0.000 lon info

    opened by promeneur 8
  • no icon

    no icon

    openSuse 15.2 kde apps 20.12.1 kde plasma 5.20.5 kde frameworks 5.78.0 qt 5.15.2

    Hello

    I build clight-gui.

    There is no icon for the executable clight-gui just a default icon for an executable : a console with a "!".

    If i launch clight-gui a space is displayed in systray but no icon.

    Can you supply a script to be sure compilation is good because i don't know anything about C language and compilation. I just know we must execute cmake, make statements.

    Thanks

    opened by promeneur 5
  • Qt6 build

    Qt6 build

    In your README, you state:

    Requires cmake, Qt5/6

    However, if I change the QT_VERSION to 6 in CMakeLists.txt and use CMAKE_PREFIX_PATH=/usr/lib/cmake/Qt6, it fails to build.

    clang 13.0.1-2 cmake 3.23.1-1 qt6-base 6.3.0-3 qt6-charts 6.3.0-1 qt6-tools 6.3.0-1

    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
    -- Found Threads: TRUE  
    -- Performing Test HAVE_STDATOMIC
    -- Performing Test HAVE_STDATOMIC - Success
    -- Found WrapAtomic: TRUE  
    -- Found OpenGL: /usr/lib/libOpenGL.so   
    -- Found WrapOpenGL: TRUE  
    -- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0") 
    -- Found WrapVulkanHeaders: /usr/include  
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /build/clight-gui-git/src/build
    make: Entering directory '/build/clight-gui-git/src/build'
    make[1]: Entering directory '/build/clight-gui-git/src/build'
    make[2]: Entering directory '/build/clight-gui-git/src/build'
    make[2]: Leaving directory '/build/clight-gui-git/src/build'
    make[2]: Entering directory '/build/clight-gui-git/src/build'
    [  1%] Automatic MOC and UIC for target clight-gui
    make[2]: Leaving directory '/build/clight-gui-git/src/build'
    [  1%] Built target clight-gui_autogen
    make[2]: Entering directory '/build/clight-gui-git/src/build'
    [  4%] Generating .lupdate/clight-gui_en.ts.stamp
    [  8%] Generating .lupdate/clight-gui_ja.ts.stamp
    [  8%] Generating Conf.cpp, Conf.h
    [  8%] Generating Backlight.cpp, Backlight.h
    [  8%] Generating Dimmer.cpp, Dimmer.h
    [  9%] Generating Gamma.cpp, Gamma.h
    [ 10%] Generating Inhibit.cpp, Inhibit.h
    [ 11%] Generating Kbd.cpp, Kbd.h
    [  4%] Generating Daytime.cpp, Daytime.h
    [ 12%] Generating MonitorOverride.cpp, MonitorOverride.h
    [ 15%] Generating Dpms.cpp, Dpms.h
    [ 15%] Generating Screen.cpp, Screen.h
    [ 16%] Generating clight.cpp, clight.h
    [ 17%] Generating SysBacklight.cpp, SysBacklight.h
    [ 18%] Generating SysDpms.cpp, SysDpms.h
    [ 20%] Generating Sensor.cpp, Sensor.h
    [ 21%] Generating SysGamma.cpp, SysGamma.h
    [ 22%] Automatic RCC for resources/resources.qrc
    [ 23%] Generating SysSensor.cpp, SysSensor.h
    [ 24%] Generating SysScreen.cpp, SysScreen.h
    Scanning directory '/build/clight-gui-git/src/clight-gui/src'...
    Scanning directory '/build/clight-gui-git/src/clight-gui/src'...
    [ 27%] Generating Backlight.moc
    [ 27%] Generating Daytime.moc
    [ 28%] Generating clight.moc
    [ 29%] Generating Dimmer.moc
    [ 30%] Generating Gamma.moc
    [ 31%] Generating Dpms.moc
    [ 32%] Generating Conf.moc
    [ 34%] Generating Kbd.moc
    [ 35%] Generating Inhibit.moc
    [ 36%] Generating MonitorOverride.moc
    [ 37%] Generating Screen.moc
    [ 40%] Generating SysBacklight.moc
    [ 40%] Generating Sensor.moc
    [ 41%] Generating SysDpms.moc
    Updating '../clight-gui/src/localization/clight-gui_en.ts'...
    Updating '../clight-gui/src/localization/clight-gui_ja.ts'...
        Found 149 source text(s) (17 new and 132 already existing)
        Kept 4 obsolete entries
        Found 149 source text(s) (17 new and 132 already existing)
        Kept 4 obsolete entries
        Same-text heuristic provided 3 translation(s)
    [ 42%] Generating SysGamma.moc
    [ 43%] Generating SysSensor.moc
    [ 44%] Generating SysScreen.moc
    [ 45%] Generating clight-gui_en.qm
    [ 47%] Generating clight-gui_ja.qm
    Updating '/build/clight-gui-git/src/build/clight-gui_en.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
        Ignored 149 untranslated source text(s)
    Updating '/build/clight-gui-git/src/build/clight-gui_ja.qm'...
        Generated 135 translation(s) (132 finished and 3 unfinished)
        Ignored 14 untranslated source text(s)
    [ 48%] Automatic RCC for translations.qrc
    make[2]: Leaving directory '/build/clight-gui-git/src/build'
    make[2]: Entering directory '/build/clight-gui-git/src/build'
    [ 52%] Building CXX object CMakeFiles/clight-gui.dir/gui/MainWindow.cpp.o
    [ 52%] Building CXX object CMakeFiles/clight-gui.dir/main.cpp.o
    [ 52%] Building CXX object CMakeFiles/clight-gui.dir/util/initializeMetaTypes.cpp.o
    [ 52%] Building CXX object CMakeFiles/clight-gui.dir/models/BacklightPctModel.cpp.o
    [ 56%] Building CXX object CMakeFiles/clight-gui.dir/gui/BacklightTab.cpp.o
    [ 57%] Building CXX object CMakeFiles/clight-gui.dir/gui/GammaTab.cpp.o
    [ 58%] Building CXX object CMakeFiles/clight-gui.dir/gui/InfoTab.cpp.o
    [ 54%] Building CXX object CMakeFiles/clight-gui.dir/clight-gui_autogen/mocs_compilation.cpp.o
    [ 55%] Building CXX object CMakeFiles/clight-gui.dir/gui/DimmerTab.cpp.o
    [ 61%] Building CXX object CMakeFiles/clight-gui.dir/models/RegressionPointModel.cpp.o
    [ 61%] Building CXX object CMakeFiles/clight-gui.dir/gui/SensorTab.cpp.o
    [ 62%] Building CXX object CMakeFiles/clight-gui.dir/gui/KeyboardTab.cpp.o
    [ 63%] Building CXX object CMakeFiles/clight-gui.dir/gui/ScreenTab.cpp.o
    [ 64%] Building CXX object CMakeFiles/clight-gui.dir/gui/TrayMenu.cpp.o
    [ 65%] Building CXX object CMakeFiles/clight-gui.dir/gui/DaytimeTab.cpp.o
    [ 67%] Building CXX object CMakeFiles/clight-gui.dir/dbus/DBusSingle.cpp.o
    [ 68%] Building CXX object CMakeFiles/clight-gui.dir/class/ScrollSysTray.cpp.o
    [ 69%] Building CXX object CMakeFiles/clight-gui.dir/gui/SensorGraph.cpp.o
    [ 70%] Building CXX object CMakeFiles/clight-gui.dir/gui/AddOverrideDialog.cpp.o
    [ 71%] Building CXX object CMakeFiles/clight-gui.dir/Backlight.cpp.o
    [ 72%] Building CXX object CMakeFiles/clight-gui.dir/clight.cpp.o
    In file included from /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp:8:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:36:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       36 |     QtCharts::QLineSeries *series;
          |     ^~~~~~~~
          |     QChart
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:37:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       37 |     QtCharts::QChart *chart;
          |     ^~~~~~~~
          |     QChart
    In file included from /build/clight-gui-git/src/clight-gui/src/gui/SensorTab.h:16,
                     from /build/clight-gui-git/src/clight-gui/src/gui/SensorTab.cpp:7:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:36:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       36 |     QtCharts::QLineSeries *series;
          |     ^~~~~~~~
          |     QChart
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:37:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       37 |     QtCharts::QChart *chart;
          |     ^~~~~~~~
          |     QChart
    In file included from /build/clight-gui-git/src/clight-gui/src/gui/KeyboardTab.h:12,
                     from /build/clight-gui-git/src/clight-gui/src/gui/KeyboardTab.cpp:7:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:36:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       36 |     QtCharts::QLineSeries *series;
          |     ^~~~~~~~
          |     QChart
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:37:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       37 |     QtCharts::QChart *chart;
          |     ^~~~~~~~
          |     QChart
    In file included from /build/clight-gui-git/src/clight-gui/src/gui/SensorTab.h:16,
                     from /build/clight-gui-git/src/clight-gui/src/gui/MainWindow.h:17,
                     from /build/clight-gui-git/src/clight-gui/src/gui/MainWindow.cpp:7:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:36:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       36 |     QtCharts::QLineSeries *series;
          |     ^~~~~~~~
          |     QChart
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:37:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       37 |     QtCharts::QChart *chart;
          |     ^~~~~~~~
          |     QChart
    [ 74%] Building CXX object CMakeFiles/clight-gui.dir/Conf.cpp.o
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp:21:17: error: ‘QtCharts’ is not a namespace-name
       21 | using namespace QtCharts;
          |                 ^~~~~~~~
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp: In constructor ‘SensorGraph::SensorGraph(QWidget*, QString, RegressionPointModel*)’:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp:30:5: error: ‘series’ was not declared in this scope
       30 |     series = new QLineSeries(this);
          |     ^~~~~~
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp:48:5: error: ‘chart’ was not declared in this scope; did you mean ‘char’?
       48 |     chart = new QChart();
          |     ^~~~~
          |     char
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp: In member function ‘void SensorGraph::onDatChange(const QModelIndex&, const QModelIndex&, QVector<int>&)’:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp:71:5: error: ‘series’ was not declared in this scope
       71 |     series->replace(model->getPoints());
          |     ^~~~~~
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp: In member function ‘void SensorGraph::onDatReset()’:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp:75:5: error: ‘series’ was not declared in this scope
       75 |     series->replace(model->getPoints());
          |     ^~~~~~
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp: In member function ‘void SensorGraph::addBtnClicked()’:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp:83:5: error: ‘series’ was not declared in this scope
       83 |     series->replace(model->getPoints());
          |     ^~~~~~
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp: In member function ‘void SensorGraph::rmBtnClicked()’:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.cpp:91:5: error: ‘series’ was not declared in this scope
       91 |     series->replace(model->getPoints());
          |     ^~~~~~
    In file included from /build/clight-gui-git/src/clight-gui/src/gui/SensorTab.h:16,
                     from /build/clight-gui-git/src/clight-gui/src/gui/MainWindow.h:17,
                     from /build/clight-gui-git/src/clight-gui/src/main.cpp:2:
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:36:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       36 |     QtCharts::QLineSeries *series;
          |     ^~~~~~~~
          |     QChart
    /build/clight-gui-git/src/clight-gui/src/gui/SensorGraph.h:37:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       37 |     QtCharts::QChart *chart;
          |     ^~~~~~~~
          |     QChart
    /build/clight-gui-git/src/clight-gui/src/main.cpp: In function ‘int main(int, char**)’:
    /build/clight-gui-git/src/clight-gui/src/main.cpp:14:11: warning: ignoring return value of ‘bool QTranslator::load(const QLocale&, const QString&, const QString&, const QString&, const QString&)’, declared with attribute ‘nodiscard’ [-Wunused-result]
       14 |     t.load(QLocale::system(), "qtbase_");
          |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/qt6/QtCore/QtCore:255,
                     from /usr/include/qt6/QtDBus/QtDBusDepends:3,
                     from /usr/include/qt6/QtDBus/QtDBus:3,
                     from /build/clight-gui-git/src/build/SysBacklight.h:21,
                     from /build/clight-gui-git/src/clight-gui/src/gui/../models/BacklightPctModel.h:8,
                     from /build/clight-gui-git/src/clight-gui/src/gui/BacklightTab.h:9,
                     from /build/clight-gui-git/src/clight-gui/src/gui/MainWindow.h:12:
    /usr/include/qt6/QtCore/qtranslator.h:73:24: note: declared here
       73 |     [[nodiscard]] bool load(const QLocale & locale,
          |                        ^~~~
    /build/clight-gui-git/src/clight-gui/src/main.cpp:15:11: warning: ignoring return value of ‘bool QTranslator::load(const QLocale&, const QString&, const QString&, const QString&, const QString&)’, declared with attribute ‘nodiscard’ [-Wunused-result]
       15 |     t.load(QLocale::system(), "clight-gui_", QString(), ":/translations");
          |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/qt6/QtCore/qtranslator.h:73:24: note: declared here
       73 |     [[nodiscard]] bool load(const QLocale & locale,
          |                        ^~~~
    In file included from /build/clight-gui-git/src/build/clight-gui_autogen/DMHXEJ42XS/../../../clight-gui/src/gui/KeyboardTab.h:12,
                     from /build/clight-gui-git/src/build/clight-gui_autogen/DMHXEJ42XS/moc_KeyboardTab.cpp:10,
                     from /build/clight-gui-git/src/build/clight-gui_autogen/mocs_compilation.cpp:10:
    /build/clight-gui-git/src/build/clight-gui_autogen/DMHXEJ42XS/../../../clight-gui/src/gui/SensorGraph.h:36:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       36 |     QtCharts::QLineSeries *series;
          |     ^~~~~~~~
          |     QChart
    /build/clight-gui-git/src/build/clight-gui_autogen/DMHXEJ42XS/../../../clight-gui/src/gui/SensorGraph.h:37:5: error: ‘QtCharts’ does not name a type; did you mean ‘QChart’?
       37 |     QtCharts::QChart *chart;
          |     ^~~~~~~~
          |     QChart
    [ 75%] Building CXX object CMakeFiles/clight-gui.dir/Daytime.cpp.o
    [ 76%] Building CXX object CMakeFiles/clight-gui.dir/Dimmer.cpp.o
    [ 77%] Building CXX object CMakeFiles/clight-gui.dir/Dpms.cpp.o
    [ 78%] Building CXX object CMakeFiles/clight-gui.dir/Gamma.cpp.o
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:680: CMakeFiles/clight-gui.dir/gui/SensorGraph.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:596: CMakeFiles/clight-gui.dir/gui/KeyboardTab.cpp.o] Error 1
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:568: CMakeFiles/clight-gui.dir/gui/SensorTab.cpp.o] Error 1
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:470: CMakeFiles/clight-gui.dir/gui/MainWindow.cpp.o] Error 1
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:456: CMakeFiles/clight-gui.dir/main.cpp.o] Error 1
    make[2]: *** [CMakeFiles/clight-gui.dir/build.make:442: CMakeFiles/clight-gui.dir/clight-gui_autogen/mocs_compilation.cpp.o] Error 1
    make[2]: Leaving directory '/build/clight-gui-git/src/build'
    make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/clight-gui.dir/all] Error 2
    make[1]: Leaving directory '/build/clight-gui-git/src/build'
    make: *** [Makefile:136: all] Error 2
    make: Leaving directory '/build/clight-gui-git/src/build'
    
    opened by yochananmarqos 4
  • Settings not applied

    Settings not applied

    arch linux clight v 4.3 clightd v 5.2

    none of settings (time/location/backlight etc)are being applied. When re-opening clight-gui has reverted to default settings

    opened by ralphee 4
  • Tray icon stretched with QGnomePlatform 0.8.2

    Tray icon stretched with QGnomePlatform 0.8.2

    opened by yochananmarqos 2
  • No Sensor Curve Backlight AC

    No Sensor Curve Backlight AC

    As above, I have set a custom profile for battery & would like to set the very same for AC also but there are no percentages shown to edit in AC sensor box?

    In order to gain a editable sensor curve I need create new profile then the default profile has an AC sensor curve, however the newly created profile (Intel_Backlight) does not.

    opened by fleamour 5
This is a collection of widgets and utilities for the immediate mode GUI (imgui) that I am developing for the critic2 GUI

ImGui Goodies This is a collection of widgets and utilities for the immediate mode GUI (imgui) that I am developing for the critic2 GUI. Currently, th

null 95 Jun 22, 2022
Nvui: A NeoVim GUI written in C++ and Qt

Nvui: A NeoVim GUI written in C++ and Qt

Rohit Pradhan 1.6k Jun 25, 2022
ChessBurger is a modern chess GUI written by Progmaster.

ChessBurger ChessBurger is a modern chess GUI written in C++. The reason I started working on a new chess GUI, is because the GUIs out there are somew

Progmaster 1 Nov 9, 2021
A wallpaper changer using Wallhaven api. Written with C++/CLR, only 0.5 MB and have a GUI.

WHaven Wallpaper WHaven Wallpaper is a desktop wallpaper change program for change your wallpapers directly from wallhaven. Features You have a search

null 3 Dec 31, 2021
Purely native C++ cross-platform GUI framework for Android and iOS development. https://www.boden.io

BODEN CROSS-PLATFORM FRAMEWORK Build purely native cross-platform experiences with Boden Website ⬡ Getting Started ⬡ API Reference ⬡ Guides ⬡ Twitter

Ashampoo Systems GmbH & Co KG 1.5k Jun 26, 2022
Elements C++ GUI library

Elements C++ GUI library Introduction Elements is a lightweight, fine-grained, resolution independent, modular GUI library. Elements is designed with

Cycfi Research 2.3k Jun 25, 2022
Minimalistic C++/Python GUI library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL

NanoGUI NanoGUI is a minimalistic cross-platform widget library for OpenGL 3+, GLES 2/3, and Metal. It supports automatic layout generation, stateful

Mitsuba Physically Based Renderer 1k Jun 27, 2022
A single-header ANSI C immediate mode cross-platform GUI library

Nuklear This is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C and licensed under public domain. It was designed a

Immediate Mode UIs, Nuklear, etc. 5.8k Jul 1, 2022
A library for creating native cross-platform GUI apps

Yue A library for creating native cross-platform GUI apps. Getting started Documentations FAQ Development Examples Sample apps (with screenshots) Muba

Yue 2.8k Jun 26, 2022
A barebones single-header GUI library for Win32 and X11.

luigi A barebones single-header GUI library for Win32 and X11. Building example Windows Update luigi_example.c to #define UI_WINDOWS at the top of the

Nakst 168 Jun 17, 2022
YARA pattern matching scannner GUI

YARA GUI This is a GUI for the binary pattern matching scanner YARA. Features Drag and drop targets Directory scanning Compiled rule cache Favorite/re

null 9 Jul 2, 2021
It's a simple Canvas GUI for Unreal Engine 4 with mouse operation

ue4-canvas-gui It's a simple Canvas GUI for Unreal Engine 4 with mouse operation. Included elements: Rendering Text (left/center); Rendering Rects; Re

Superior. 38 Jun 12, 2022
Proof-of-concept code to reconstruct the GUI of a Xen guest running Windows

vmi-reconstruct-gui A proof-of-concept to reconstruct the GUI of a Xen VM running Windows 7. ❗ Disclaimer This repository is work in progress. It curr

Jan 12 Oct 22, 2021
✔️The smallest header-only GUI library(4 KLOC) for all platforms

Welcome to GUI-lite The smallest header-only GUI library (4 KLOC) for all platforms. 中文 Lightweight ✂️ Small: 4,000+ lines of C++ code, zero dependenc

null 6.3k Jun 27, 2022
GUI for calibrating the wacom tablet to a screen or window

wacom-settings GUI for calibrating the wacom tablet to a screen or window. Learning project for writing in C. Uses GTK4 library for the GUI and X11 li

null 21 Apr 30, 2022
rCalc is a Simple GUI Calculator

rCalc is a simple calculator created as a hobby project to improve my C programming language knowledge and GUI creation skills. GTK3 toolkit is used to create the GUI.

null 3 Jan 23, 2022
Python GUI for seeing what's happening inside a fuzzer

Fuzzwatch Fuzzwatch is a Python GUI made to show what's going on inside of a fuzzer. It is currently integrated with Manul, which is a coverage-guided

null 10 Jun 4, 2022
Low Latency GUI on top of Vulkan

Low Latency GUI on top of Vulkan

the ttauri project 361 Jul 4, 2022
HoI4 Modding Tool That Does It All! Now with a QT based GUI, all your work wil be easier!

Kadaif - HoI4 Modding Tool Kadaif is a cross-platform tool meant to help you make mods for Hearts of Iron IV. With VSCode and all it's extensions, man

null 1 Dec 28, 2021