coastline 0.0.4
Loading...
Searching...
No Matches
coastline::WizardControl Struct Reference

A control positioned on the grid. More...

#include <setupwizard.h>

Collaboration diagram for coastline::WizardControl:

Public Types

enum class  Kind {
  Button , CheckBox , TextBox , List ,
  Choice
}
 The kind of control. More...

Public Attributes

WizardControlId id = WizardControlId::Next
Kind kind = Kind::Button
int column = 0
int row = 0
int width = 0
int height = 1
std::string label
 The label, with & before the letter Alt chooses it by.
std::string value
bool enabled = true
bool checked = false
bool bad = false

Detailed Description

A control positioned on the grid.

Member Enumeration Documentation

◆ Kind

enum class coastline::WizardControl::Kind
strong

The kind of control.

Enumerator
Button 

A button, < Label >.

CheckBox 

A check box, [X] Label.

TextBox 

A line of text, with its label above it.

List 

A list with a scroll bar, with its label above its frame.

Choice 

One of a few values, with its label at its left.

Member Data Documentation

◆ id

WizardControlId coastline::WizardControl::id = WizardControlId::Next

The control.

◆ kind

Kind coastline::WizardControl::kind = Kind::Button

The kind of control.

◆ column

int coastline::WizardControl::column = 0

The left column.

◆ row

int coastline::WizardControl::row = 0

The top row.

◆ width

int coastline::WizardControl::width = 0

The columns.

◆ height

int coastline::WizardControl::height = 1

The rows.

◆ label

std::string coastline::WizardControl::label

The label, with & before the letter Alt chooses it by.

◆ value

std::string coastline::WizardControl::value

The value of a Choice.

◆ enabled

bool coastline::WizardControl::enabled = true

Whether the control accepts focus and presses.

◆ checked

bool coastline::WizardControl::checked = false

Whether a check box is checked.

◆ bad

bool coastline::WizardControl::bad = false

Whether a text box stores a path that failed its check.


The documentation for this struct was generated from the following file: