KanoopGuiQt 1.3.0
Qt GUI utility library
Loading...
Searching...
No Matches
GUI Namespace Reference

KanoopGuiQt namespace containing GUI-specific enumerations and helpers. More...

Enumerations

enum  DragState { NotDragging , MaybeDrag , Dragging }
 Drag-and-drop gesture state. More...
 
enum  WindowState { NormalState , Closed , Minimized , Maximized }
 Top-level window state. More...
 
enum  TitlebarButtonOption { NoButton = 0 , MaximizeButton = 0x01 , MinimizeButton = 0x02 , CloseButton = 0x04 }
 Title-bar button visibility flags. More...
 

Functions

LIBKANOOPGUI_EXPORT void registerMetatypes ()
 Register KanoopGuiQt metatypes with Qt's type system.
 

Detailed Description

KanoopGuiQt namespace containing GUI-specific enumerations and helpers.

Enumeration Type Documentation

◆ DragState

Drag-and-drop gesture state.

Enumerator
NotDragging 

No drag in progress.

MaybeDrag 

Mouse pressed but threshold not reached.

Dragging 

Active drag in progress.

Definition at line 25 of file guitypes.h.

◆ TitlebarButtonOption

Title-bar button visibility flags.

Enumerator
MaximizeButton 

Show the maximize button.

MinimizeButton 

Show the minimize button.

CloseButton 

Show the close button.

Definition at line 46 of file guitypes.h.

◆ WindowState

Top-level window state.

Enumerator
NormalState 

Window is in normal (restored) state.

Closed 

Window has been closed.

Minimized 

Window is minimized.

Maximized 

Window is maximized.

Definition at line 35 of file guitypes.h.

Function Documentation

◆ registerMetatypes()

LIBKANOOPGUI_EXPORT void GUI::registerMetatypes ( )

Register KanoopGuiQt metatypes with Qt's type system.

Call this once at application startup (e.g. from main()) before using GUI types in signals, slots, or QVariant containers.