Classes | |
| class | Application |
| prepares the application to use Faith's graphics-related classes More... | |
| class | Bitmap |
| a monochrome Pixmap useful for masks More... | |
| class | Brush |
| used to fill in painter More... | |
| class | Clipboard |
| class | Color |
| Represents a color used in widgets. More... | |
| class | ColorGroup |
| Specifies the colors used by graphics elements. More... | |
| class | Event |
| An abstract object to distribute user events to objects. More... | |
| class | MouseEvent |
| Can contain many mouse input events. More... | |
| class | KeyPressEvent |
| Represents many types keyboard events. More... | |
| class | FocusEvent |
| notes when a widget gains or loses focus More... | |
| class | CloseEvent |
| A widget was closed. More... | |
| class | ResizeEvent |
| A Widget was resized. More... | |
| class | MoveEvent |
| A Widget was moved. More... | |
| class | PaintEvent |
| A new part of the Widget was exposed and this will say what needs repainting. More... | |
| class | TimerEvent |
| The timeout for a Timer event. More... | |
| class | Font |
| A font to draw text with. More... | |
| class | FontMetrics |
| Measures characters and strings in pixels. More... | |
| class | Layout |
| class | Object |
| An object that can receive events, and have slots/signals. More... | |
| struct | faith_callback_magna |
| class | PaintDevice |
| An abstract class representing anything Painter can be used on. More... | |
| class | Painter |
| Used for drawing things on a PaintDevice. More... | |
| class | Pen |
a Pen is what lines/borders are drawn with in Painter More... | |
| class | Pixmap |
| An image that can be efficiently drawn to the screen. More... | |
| class | PostScriptDevice |
| class | SizePolicy |
| class | SocketNotifier |
| tells you when a file descriptor has changed state (Linux) More... | |
| class | Style |
| class | Timer |
| Emits signals at regularly timed intervals. More... | |
| class | Widget |
| a Widget is a class which represents a user-interface component. More... | |
| class | ServerSocket |
| class | Socket |
| class | Char |
| A character from String. More... | |
| class | CharRef |
| class | CString |
| class | Dict |
| class | Dir |
| class | Image |
| class | MiniXML |
| class | Point |
| class | RandomSequence |
| class | Rect |
| class | Size |
| class | String |
| class | BoxLayout |
| class | VBoxLayout |
| class | HBoxLayout |
| class | ComboBox |
| class | GridLayout |
| class | IconSet |
| class | ImageEffect |
| class | Label |
| class | LineEdit |
| class | ListBox |
| class | GItemView |
| class | GListItemSet |
| class | GListView |
| class | GListViewThing |
| class | ListItemSet |
| class | ListView |
| class | ListViewThing |
| class | ListItem |
| class | MainWindow |
| class | MenuBar |
| class | MenuItem |
| class | MenuData |
| class | PixmapEffect |
| class | PopupMenu |
| class | PushButton |
| class | ScrollBar |
| class | ScrollView |
| class | Slider |
| class | ToolBar |
| class | ToolButton |
Namespaces | |
| namespace | Internal |
Typedefs | |
| typedef const char * | Slot |
| typedef const char * | Signal |
| typedef unsigned int | Rgb |
| typedef bool(*) | tryLoadImage (Image &image, const char *filename) |
Enumerations | |
| enum | ButtonState { NoButton = 0, LeftButton = 1, RightButton = 2, MidButton = 4, ShiftButton = 8, ControlButton = 16, AltButton = 32, MetaButton = 64, Keypad = 128, KeyButtonMask = ShiftButton|ControlButton|AltButton, MouseButtonMask = LeftButton|RightButton|MidButton } |
| enum | AlignmentFlags { AlignAuto = 1|2, AlignLeft = 1, AlignRight = 2, AlignCenter = 4, AlignHLeft = AlignLeft, AlignHRight = AlignRight, AlignHCenter = AlignCenter, AlignVTop = 8, AlignVCenter = 16, AlignVBottom = 32 } |
| enum | Orientation { Horizontal = 1, Vertical = 2 } |
| enum | TextFlags { SingleLine = 64, ShowPrefix = 128, DontClip = 256 } |
| enum | Key { Key_Unknown = 0, Key_F1 = 0x1011, Key_F2 = 0x1012, Key_F3 = 0x1013, Key_F4 = 0x1014, Key_F5 = 0x1015, Key_F6 = 0x1016, Key_F7 = 0x1017, Key_F8 = 0x1018, Key_F9 = 0x1019, Key_F10 = 0x101a, Key_F11 = 0x101b, Key_F12 = 0x101c, Key_F13 = 0x101d, Key_F14 = 0x101e, Key_F15 = 0x101f, Key_Home = 0x10a0, Key_Left = 0x10a1, Key_Up = 0x10a2, Key_Right = 0x10a3, Key_Down = 0x10a4, Key_PageUp = 0x10a5, Key_PageDown = 0x10a6, Key_End = 0x10a7, Key_Backspace = 0x08, Key_Tab = 0x09, Key_Return = 0x0d, Key_Delete = 0x10, Key_Escape = 0x1b, Key_Space = 0x20, Key_Exclam = 0x21, Key_Quotes = 0x22, Key_Hash = 0x23, Key_Dollar = 0x24, Key_Percent = 0x25, Key_Ampersand = 0x26, Key_SingleQuote = 0x27, Key_OpenParen = 0x28, Key_CloseParen = 0x29, Key_Star = 0x2A, Key_Plus = 0x2B, Key_Comma = 0x2C, Key_Minus = 0x2D, Key_Period = 0x2E, Key_ForwardSlash = 0x2F, Key_0 = 0x30, Key_1 = 0x31, Key_2 = 0x32, Key_3 = 0x33, Key_4 = 0x34, Key_5 = 0x35, Key_6 = 0x36, Key_7 = 0x37, Key_8 = 0x38, Key_9 = 0x39, Key_Colon = 0x3a, Key_Semicolon = 0x3b, Key_OpenAngle = 0x3c, Key_Equals = 0x3d, Key_CloseAngle = 0x3e, Key_Question = 0x3f, Key_At = 0x40, Key_A = 0x41, Key_B = 0x42, Key_C = 0x43, Key_D = 0x44, Key_E = 0x45, Key_F = 0x46, Key_G = 0x47, Key_H = 0x48, Key_I = 0x49, Key_J = 0x4a, Key_K = 0x4b, Key_L = 0x4c, Key_M = 0x4d, Key_N = 0x4e, Key_O = 0x4f, Key_P = 0x50, Key_Q = 0x51, Key_R = 0x52, Key_S = 0x53, Key_T = 0x54, Key_U = 0x55, Key_V = 0x56, Key_W = 0x57, Key_X = 0x58, Key_Y = 0x59, Key_Z = 0x5a, Key_OpenSquare = 0x5b, Key_Backslash = 0x5c, Key_CloseSquare = 0x5d, Key_Carat = 0x5e, Key_Backtick = 0x60, Key_a = 0x61, Key_b = 0x62, Key_c = 0x63, Key_d = 0x64, Key_e = 0x65, Key_f = 0x66, Key_g = 0x67, Key_h = 0x68, Key_i = 0x69, Key_j = 0x6a, Key_k = 0x6b, Key_l = 0x6c, Key_m = 0x6d, Key_n = 0x6e, Key_o = 0x6f, Key_p = 0x70, Key_q = 0x71, Key_r = 0x72, Key_s = 0x73, Key_t = 0x74, Key_u = 0x75, Key_v = 0x76, Key_w = 0x77, Key_x = 0x78, Key_y = 0x79, Key_z = 0x7a, Key_CurlyOpen = 0x7b, Key_Pipe = 0x7c, Key_CurlyClose = 0x7d, Key_Tilde = 0x7e } |
Functions | |
| int | qRed (Faith::Rgb rgb) |
| int | qGreen (Faith::Rgb rgb) |
| int | qBlue (Faith::Rgb rgb) |
| int | qAlpha (Faith::Rgb rgb) |
| Faith::Rgb | qRgb (int red, int green, int blue, int alpha=0xff) |
| int | qGray (int red, int green, int blue) |
| int | qGray (Faith::Rgb rgb) |
| Point | operator+ (Point a, const Point &b) |
| Point | operator- (Point a, const Point &b) |
| Rect | operator+ (const Point &d, const Rect &r) |
Variables | |
| FAITH_CORE_EXPORT Application * | faithapp |
| Color | black |
| Color | white |
| Color | darkGray |
| Color | gray |
| Color | lightGray |
| Color | red |
| Color | green |
| Color | blue |
| Color | cyan |
| Color | magenta |
| Color | yellow |
| Color | darkRed |
| Color | darkGreen |
| Color | darkBlue |
| Color | darkCyan |
| Color | darkMagenta |
| Color | darkYellow |
| Color | color0 |
| Color | color1 |
| typedef const char* Faith::Slot |
| typedef const char* Faith::Signal |
| typedef unsigned int Faith::Rgb |
| typedef bool(*) Faith::tryLoadImage(Image &image, const char *filename) |
| enum Faith::ButtonState |
| enum Faith::Orientation |
Specifies how to orient rotatable objects like Slider and Scrollbar
| enum Faith::TextFlags |
| enum Faith::Key |
All keys on the keyboard
| int Faith::qRed | ( | Faith::Rgb | rgb | ) | [inline] |
Red component of a rgb triplet
| rgb | the triplet |
| int Faith::qGreen | ( | Faith::Rgb | rgb | ) | [inline] |
Green component of a rgb triplet
| rgb | the triplet |
| int Faith::qBlue | ( | Faith::Rgb | rgb | ) | [inline] |
Blue component of a rgb triplet
| rgb | the triplet |
| int Faith::qAlpha | ( | Faith::Rgb | rgb | ) | [inline] |
| Faith::Rgb Faith::qRgb | ( | int | red, | |
| int | green, | |||
| int | blue, | |||
| int | alpha = 0xff | |||
| ) | [inline] |
Rgb triplet creation
| red | the red component | |
| green | the green component | |
| blue | the blue component |
| int Faith::qGray | ( | int | red, | |
| int | green, | |||
| int | blue | |||
| ) | [inline] |
Grey level computation
| red | the red component | |
| green | the green component | |
| blue | the blue component |
| int Faith::qGray | ( | Faith::Rgb | rgb | ) | [inline] |
Grey level computation
| rgb | the rgb triplet |
| Point Faith::operator+ | ( | Point | a, | |
| const Point & | b | |||
| ) | [inline] |
| Point Faith::operator- | ( | Point | a, | |
| const Point & | b | |||
| ) | [inline] |
| Rect Faith::operator+ | ( | const Point & | d, | |
| const Rect & | r | |||
| ) | [inline] |
| FAITH_CORE_EXPORT Application* Faith::faithapp |
Default colors
1.4.7