This example shows how to use two static methods in QInputDialog for the user to enter a number.
This example introduces the QErrorMessage class and one additional message box static method.
In the next few examples we will look at how to use several different static methods provided by the CopperSpice GUI library.
The idea in this code is to set up a relationship between a QSpinBox, QProgressBar, QSlider, and a QDial. The progress bar is read only and can only react to value changes. Modifying the value of the other three widgets will cause all four to be updated automatically.
This example will show how to configure a QLineEdit when the user needs to enter a password.
In these next few examples let’s look at some of the properties for a QLineEdit. This example will show how to add a mask to the edit widget to restrict the formatting.
In these next few examples let’s look at some of the properties for a QLineEdit.
When developers are evaluating CopperSpice the subject of the Verdigris project is sometimes mentioned. So let’s talk about what Verdigris is, what it does, and what it can not do.
Opening a dialog to show color samples is interesting but now we want to do something with the selected color.
Signals and Slots are used for communication between objects.
Let’s take the prior example and refactor the source code to make it modular. This will give us the flexibility to add new functionality without affecting other areas of the software.
Our next example will add a new Push Button. When it is clicked, a built in dialog box will be displayed that allows the user to select a color.
This article will focus on how to build and run our first example.
In this article we will explain how to create the build file for Example 1.
This article shows the source code for our first example. It is a small C++ program which uses two of the CopperSpice libraries . . .