KDE Community

Tutorial - 1 Understanding signals and slots

In this task, you are supposed to create a simple dialogue box. This dialogue box will have only a single slider widget in it. This slider will control the background colour of the dialogue box.


  1. Create a simple dialogue box
  2. Add a slider to it.
  3. Now create a slot for valueChanged()
  4. Use styleSheet property of dialogue to change its colour (you can use CSS properties in styleSheet)

For submission:

  1. submit GitHub repository link
  2. Submit video/screenshot of your running program(video is preferable)

useful links:

Task tags

  • c++
  • qt
  • signals and slots

Students who completed this task

pranav, Tux, triplequantum, waleko, Greenscreener, Rohan2003, TURX, Terence, spen, BrettyJames, Ivan Fonseca, UA, Smehnov

Task type

  • code Code
  • chrome_reader_mode Documentation / Training