Skip to content

CopperSpice Journal

CopperSpice Journal

Table of Contents

List of Articles

  • Installing and Compiling
    • Installing CopperSpice
    • Definition of a Toolchain
    • Build File (using Example 1)
    • Compile, Link, and Run (using Example 1)
  • Essays
    • Signals and Slots
    • CopperSpice and Verdigris
    • Finding the Documentation and Videos
    • Moving to C++20

List of Examples

  • Creating a Window with a single Push Button
    • Example 1
  • Display a dialog to select a Color
    • Example 2
  • Refactor code for modularity
    • Example 3
  • Use Color Dialog selection to change line edit background color
    • Example 4
  • Text alignment in a QLineEdit
    • Example 5
  • Input Mask in a QLineEdit
    • Example 6
  • Display Passwords (echo, stars, etc) in a QLineEdit
    • Example 7
  • SpinBox, ProgressBar, Slider, and a Dial
    • Example 8
  • Information, Question, and Warning Dialogs using QMessageBox
    • Example 9
  • Error Message and Critical Messages
    • Example 10
  • Integer or Double input using static methods in QInputDialog
    • Example 11
  • Fixed List selection or Text input using static methods in QInputDialog
    • Example 12
  • Directory and File Name selection using static methods in QFileDialog
    • Example 13
  • Calendar widget, set the min and max date range and select a date
    • Example 14
  • Calendar widget, modify starting day of the week and visibility of grid
    • Example 15
  • Calendar widget, colors for various days changed using a combo box
    • Example 16
  • Auto completion in a line edit control
    • Example 17
  • Comparison of three different ways to edit text
    • Example 18
  • Tab Control with three pages
    • Example 19
  • Load and Save Settings
    • Example 20
  • Drawing a Frame
    • Example 21
  • List of Strings displayed using QListView
    • Example 22
  • Data from an SQL table displayed using QTableView
    • Example 23
  • Display contents of a QList using QTreeView
    • Example 24
  • QTreeView display of a File System
    • Example 25
  • User application with a Menu Bar
    • Example 26
  • Adding a Toolbar to a Main Window
    • Example 27
  • Tool Tips on Toolbar Items and Push Buttons
    • Example 28
  • “What’s This” added to Menu, Toolbar, and Push Buttons
    • Example 29
  • Status Bar Messages on a Main Window
    • Example 30
  • Setting the Tab Order for Controls
    • Example 31
  • Render a Polygon
    • Example 32
  • Render other Shapes
    • Example 33
  • Syntax Highlighting
    • Example 34
  • Resource Files (.qrc)
    • Example 35
  • Split Screen
    • Example 36
  • Language Translations
    • Example 37
  • String processing using QStringParser
    • Example 38
  • Pattern matching using QRegularExpression
    • Example 39
  • Display currency, numbers, and dates using the selected locale
    • Example 40
  • Find the Operating System Name and Version
    • Example 41
  • Command Line Parsing, Optional Arguments
    • Example 42
  • Command Line Parsing, Display Help
    • Example 43
  • Console Output
    • Example 44
  • Display a Subset of Values using QComboBox
    • Example 45
  • Draw text using QPainter
    • Example 46
  • Finding the absolute and canonical path using QDir
    • Example 47

  • CopperSpice Journal Homepage
    • Table of Contents
    • Example Source Code
    • Discussion Forum
  • CopperSpice Homepage
  • Github Repository
  • Videos About C++

Copyright © 2021-2025 CopperSpice