Program Listing for File slint_enums.h¶
↰ Return to documentation for file (cppdocs/generated_include/private/slint_enums.h)
#pragma once
// This file is auto-generated from xtask/src/../../api/cpp/cbindgen.rs
namespace slint {
enum class PointerEventKind {
Cancel,
Down,
Up,
Move,
};
enum class PointerEventButton {
Other,
Left,
Right,
Middle,
Back,
Forward,
};
namespace testing {
enum class AccessibleRole {
None,
Button,
Checkbox,
Combobox,
Groupbox,
Image,
List,
Slider,
Spinbox,
Tab,
TabList,
TabPanel,
Text,
Table,
Tree,
ProgressIndicator,
TextInput,
Switch,
ListItem,
RadioButton,
};
}
enum class AccessibleLive {
Off,
Polite,
Assertive,
};
enum class Orientation {
Horizontal,
Vertical,
};
}
namespace slint::platform::key_codes {
constexpr std::u8string_view Backspace = u8"\u0008";
constexpr std::u8string_view Tab = u8"\u0009";
constexpr std::u8string_view Return = u8"\u000a";
constexpr std::u8string_view Escape = u8"\u001b";
constexpr std::u8string_view Backtab = u8"\u0019";
constexpr std::u8string_view Delete = u8"\u007f";
constexpr std::u8string_view Shift = u8"\u0010";
constexpr std::u8string_view Control = u8"\u0011";
constexpr std::u8string_view Alt = u8"\u0012";
constexpr std::u8string_view AltGr = u8"\u0013";
constexpr std::u8string_view CapsLock = u8"\u0014";
constexpr std::u8string_view ShiftR = u8"\u0015";
constexpr std::u8string_view ControlR = u8"\u0016";
constexpr std::u8string_view Meta = u8"\u0017";
constexpr std::u8string_view MetaR = u8"\u0018";
constexpr std::u8string_view Space = u8"\u0020";
constexpr std::u8string_view UpArrow = u8"\uf700";
constexpr std::u8string_view DownArrow = u8"\uf701";
constexpr std::u8string_view LeftArrow = u8"\uf702";
constexpr std::u8string_view RightArrow = u8"\uf703";
constexpr std::u8string_view F1 = u8"\uf704";
constexpr std::u8string_view F2 = u8"\uf705";
constexpr std::u8string_view F3 = u8"\uf706";
constexpr std::u8string_view F4 = u8"\uf707";
constexpr std::u8string_view F5 = u8"\uf708";
constexpr std::u8string_view F6 = u8"\uf709";
constexpr std::u8string_view F7 = u8"\uf70a";
constexpr std::u8string_view F8 = u8"\uf70b";
constexpr std::u8string_view F9 = u8"\uf70c";
constexpr std::u8string_view F10 = u8"\uf70d";
constexpr std::u8string_view F11 = u8"\uf70e";
constexpr std::u8string_view F12 = u8"\uf70f";
constexpr std::u8string_view F13 = u8"\uf710";
constexpr std::u8string_view F14 = u8"\uf711";
constexpr std::u8string_view F15 = u8"\uf712";
constexpr std::u8string_view F16 = u8"\uf713";
constexpr std::u8string_view F17 = u8"\uf714";
constexpr std::u8string_view F18 = u8"\uf715";
constexpr std::u8string_view F19 = u8"\uf716";
constexpr std::u8string_view F20 = u8"\uf717";
constexpr std::u8string_view F21 = u8"\uf718";
constexpr std::u8string_view F22 = u8"\uf719";
constexpr std::u8string_view F23 = u8"\uf71a";
constexpr std::u8string_view F24 = u8"\uf71b";
constexpr std::u8string_view Insert = u8"\uf727";
constexpr std::u8string_view Home = u8"\uf729";
constexpr std::u8string_view End = u8"\uf72b";
constexpr std::u8string_view PageUp = u8"\uf72c";
constexpr std::u8string_view PageDown = u8"\uf72d";
constexpr std::u8string_view ScrollLock = u8"\uf72f";
constexpr std::u8string_view Pause = u8"\uf730";
constexpr std::u8string_view SysReq = u8"\uf731";
constexpr std::u8string_view Stop = u8"\uf734";
constexpr std::u8string_view Menu = u8"\uf735";
constexpr std::u8string_view Back = u8"\uf748";
constexpr std::u8string_view A = u8"\u0061";
constexpr std::u8string_view B = u8"\u0062";
constexpr std::u8string_view C = u8"\u0063";
constexpr std::u8string_view D = u8"\u0064";
constexpr std::u8string_view E = u8"\u0065";
constexpr std::u8string_view F = u8"\u0066";
constexpr std::u8string_view G = u8"\u0067";
constexpr std::u8string_view H = u8"\u0068";
constexpr std::u8string_view I = u8"\u0069";
constexpr std::u8string_view J = u8"\u006a";
constexpr std::u8string_view K = u8"\u006b";
constexpr std::u8string_view L = u8"\u006c";
constexpr std::u8string_view M = u8"\u006d";
constexpr std::u8string_view N = u8"\u006e";
constexpr std::u8string_view O = u8"\u006f";
constexpr std::u8string_view P = u8"\u0070";
constexpr std::u8string_view Q = u8"\u0071";
constexpr std::u8string_view R = u8"\u0072";
constexpr std::u8string_view S = u8"\u0073";
constexpr std::u8string_view T = u8"\u0074";
constexpr std::u8string_view U = u8"\u0075";
constexpr std::u8string_view V = u8"\u0076";
constexpr std::u8string_view W = u8"\u0077";
constexpr std::u8string_view X = u8"\u0078";
constexpr std::u8string_view Y = u8"\u0079";
constexpr std::u8string_view Z = u8"\u007a";
constexpr std::u8string_view Digit0 = u8"\u0030";
constexpr std::u8string_view Digit1 = u8"\u0031";
constexpr std::u8string_view Digit2 = u8"\u0032";
constexpr std::u8string_view Digit3 = u8"\u0033";
constexpr std::u8string_view Digit4 = u8"\u0034";
constexpr std::u8string_view Digit5 = u8"\u0035";
constexpr std::u8string_view Digit6 = u8"\u0036";
constexpr std::u8string_view Digit7 = u8"\u0037";
constexpr std::u8string_view Digit8 = u8"\u0038";
constexpr std::u8string_view Digit9 = u8"\u0039";
constexpr std::u8string_view Circumflex = u8"\u005e";
constexpr std::u8string_view Exclamation = u8"\u0021";
constexpr std::u8string_view DoubleQuote = u8"\u0022";
constexpr std::u8string_view Hash = u8"\u0023";
constexpr std::u8string_view Dollar = u8"\u0024";
constexpr std::u8string_view Percent = u8"\u0025";
constexpr std::u8string_view Ampersand = u8"\u0026";
constexpr std::u8string_view Underscore = u8"\u005f";
constexpr std::u8string_view OpenParen = u8"\u0028";
constexpr std::u8string_view CloseParen = u8"\u0029";
constexpr std::u8string_view Asterisk = u8"\u002a";
constexpr std::u8string_view Plus = u8"\u002b";
constexpr std::u8string_view Pipe = u8"\u007c";
constexpr std::u8string_view HyphenMinus = u8"\u002d";
constexpr std::u8string_view OpenCurlyBracket = u8"\u007b";
constexpr std::u8string_view CloseCurlyBracket = u8"\u007d";
constexpr std::u8string_view Tilde = u8"\u007e";
constexpr std::u8string_view Colon = u8"\u003a";
constexpr std::u8string_view Semicolon = u8"\u003b";
constexpr std::u8string_view LessThan = u8"\u003c";
constexpr std::u8string_view Equals = u8"\u003d";
constexpr std::u8string_view GreaterThan = u8"\u003e";
constexpr std::u8string_view QuestionMark = u8"\u003f";
constexpr std::u8string_view At = u8"\u0040";
constexpr std::u8string_view Comma = u8"\u002c";
constexpr std::u8string_view Period = u8"\u002e";
constexpr std::u8string_view Slash = u8"\u002f";
constexpr std::u8string_view BackQuote = u8"\u0060";
constexpr std::u8string_view OpenBracket = u8"\u005b";
constexpr std::u8string_view BackSlash = u8"\u005c";
constexpr std::u8string_view CloseBracket = u8"\u005d";
constexpr std::u8string_view Quote = u8"\u0027";
}