Skip to content

CopperSpice Journal

CopperSpice Journal

Source Code  (Gui Example 18)

Posted on March 15, 2022April 11, 2022 By Barbara Geller

The code in this example compares the three built in GUI widgets which are used to edit text. Each of these controls offers slightly different functionality and features.

Uncategorized

Source Code  (Gui Example 17)

Posted on March 4, 2022April 11, 2022 By Barbara Geller

The QLineEdit control appears in a user interface when a word or single line of text should be entered by the user. It is common for the entry to be a word which starts with the same letter. This example will show how to implement a completer which offers a list of predefined words for auto completion.

Uncategorized

Source Code  (Gui Example 16)

Posted on February 24, 2022April 11, 2022 By Barbara Geller

The QCalendarWidget displays a monthly calendar which allows a user a convenient way to select a date. In this example we will show how to change the colors for various days of the week.

Uncategorized

Source Code  (Gui Example 15)

Posted on February 24, 2022May 25, 2023 By Barbara Geller

The QCalendarWidget displays a monthly calendar which allows a user a convenient way to select a date. In this example we will show how to modify which day of the week the calendar should start on and various other appearance settings.

Uncategorized

Source Code  (Gui Example 14)

Posted on February 24, 2022April 11, 2022 By Barbara Geller

The QCalendarWidget displays a monthly calendar which allows a user a convenient way to select a date. This code shows how to set the minimum and maximum date range for a calendar.

Uncategorized

Finding the Documentation and Videos

Posted on February 15, 2022April 1, 2025 By Barbara Geller

The CopperSpice documentation is extensive, so let’s break it down into some smaller components. We have multiple tutorials and videos about programming and using C++. This article will explain where to find all of these.

Uncategorized

Source Code  (Gui Example 13)

Posted on February 11, 2022April 11, 2022 By Barbara Geller

This example shows how to use two other static methods in QFileDialog for the user to select a directory or file name.

Uncategorized

Source Code  (Gui Example 12)

Posted on February 11, 2022April 11, 2022 By Barbara Geller

This example shows how to use two other static methods in QInputDialog for the user to enter an item from a fixed list or some text.

Uncategorized

Source Code  (Gui Example 11)

Posted on February 11, 2022May 25, 2023 By Barbara Geller

This example shows how to use two static methods in QInputDialog for the user to enter a number.

Uncategorized

Source Code  (Gui Example 10)

Posted on February 4, 2022February 20, 2023 By Barbara Geller

This example introduces the QErrorMessage class and one additional message box static method.

Uncategorized

Source Code  (Gui Example 9)

Posted on February 4, 2022April 11, 2022 By Barbara Geller

In the next few examples we will look at how to use several different static methods provided by the CopperSpice GUI library.

Uncategorized

Source Code  (Gui Example 8)

Posted on January 26, 2022April 11, 2022 By Barbara Geller

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.

Uncategorized

Source Code  (Gui Example 7)

Posted on January 26, 2022April 11, 2022 By Barbara Geller

This example will show how to configure a QLineEdit when the user needs to enter a password.

Uncategorized

Source Code  (Gui Example 6)

Posted on January 20, 2022April 11, 2022 By Barbara Geller

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.

Uncategorized

Source Code  (Gui Example 5)

Posted on January 20, 2022April 11, 2022 By Barbara Geller

In these next few examples let’s look at some of the properties for a QLineEdit.

Uncategorized

Posts navigation

Previous 1 2 3 4 Next
  • CopperSpice Journal Homepage
    • Table of Contents
    • Example Source Code
    • Discussion Forum
  • CopperSpice Homepage
  • Github Repository
  • Videos About C++

Copyright © 2021-2025 CopperSpice