Find the selected Qt radio button in a set of radio buttons in a Qt 5 application. How to find the selected radio button in Qt using Qt Creator and C++. This tutorial also shows how to copy and rename a Qt project created with Qt Creator. The following image shows the application built in … Continue reading Find Selected Qt Radio Button
Tag: radio button
Group Radio Buttons in Qt Creator
How to group radio buttons in Qt Creator in a Qt Widgets Application. This article shows the different ways to group radio buttons on a window in Qt Creator so that they behave like a group. Group sets of radio buttons as separate groups. Each group operates independently from the other groups. The following image … Continue reading Group Radio Buttons in Qt Creator
Change Label Color in GTK Game Tutorial
How to change label color in GTK using the gtk_label_set_markup function. Demonstrates changing text color in a simple heads or tails game programmed with C, GTK and Glade. Part 14 of GTK 3 Programming with C and Glade Tutorial See the full GTK3 tutorial index About this Tutorial This tutorial improves the world’s simplest game … Continue reading Change Label Color in GTK Game Tutorial
Qt Radio Button Example Tutorial
A simple Qt radio button example in Qt Creator using Qt version 5 programmed in C++. This tutorial shows how to place three radio buttons and change a text label depending on which radio button is selected. The GUI radio button application created in this tutorial is shown below. Part 12 of the Qt Creator … Continue reading Qt Radio Button Example Tutorial
GTK+ Find Selected Radio Button
Find selected radio button in a group of GTK+ 3 Glade radio buttons using the C programming language. The previous two blog posts showed how to group radio buttons in Glade and how to program radio buttons in C code. This article follows on showing how to read the states of the radio buttons and … Continue reading GTK+ Find Selected Radio Button
GTK+ 3 Glade Radio Buttons C Code
GTK+ 3 Glade radio buttons C code that demonstrates how to use radio buttons in a Glade GTK project. The tutorial in the previous blog post showed how to group radio buttons in Glade, but did not show how to use the radio buttons in a program. This tutorial shows how to use the radio … Continue reading GTK+ 3 Glade Radio Buttons C Code
Group Radio Buttons in Glade
How to group radio buttons in Glade so that they act as a unit. Clicking one radio button selects it and clears all other radio buttons in the group. This tutorial shows how to group radio buttons in Glade user interface designer without any code to operate the buttons. This allows the window to be … Continue reading Group Radio Buttons in Glade