|
Public Types- enum EventType { EV_Move=1,
EV_DragBegin,
EV_DragEnd,
EV_ResizeBegin,
EV_ResizeEnd
}
- enum AddWindowFlags { StandardAdd = 0,
Maximize = 1,
Minimize = 2,
Hide = 4,
Detach = 8,
ToolWindow = 16,
UseQextMDISizeHint = 32
}
- enum FrameDecor { Win95Look = 0,
KDE1Look = 1,
KDE2Look = 2,
KDE2LaptopLook = 3
}
- enum MdiMode { ToplevelMode = 0,
ChildframeMode = 1,
TabPageMode = 2
}
enum EventType { EV_Move=1,
EV_DragBegin,
EV_DragEnd,
EV_ResizeBegin,
EV_ResizeEnd
}
| EventType |
extent Qt events
bool
B_MyWidget::event( QEvent* e) {
if( e->type() == QEvent::Type(QEvent::User + int(QextMdi::EV_Move))) {
...
}
...
}
|
See also: QCustomEvent, QEvent::User
enum AddWindowFlags { StandardAdd = 0,
Maximize = 1,
Minimize = 2,
Hide = 4,
Detach = 8,
ToolWindow = 16,
UseQextMDISizeHint = 32
}
| AddWindowFlags |
standard is: show normal, attached, visible, document view (not toolview). Maximize, Minimize, Hide adds
appropriately. Detach adds a view that appears toplevel, ToolWindow adds the view as tool view.
That means it is stay-on-top and toplevel. UseQextMDISizeHint should use the restore geometry of the
latest current top childframe but is not supported yet.
enum FrameDecor { Win95Look = 0,
KDE1Look = 1,
KDE2Look = 2,
KDE2LaptopLook = 3
}
| FrameDecor |
enum MdiMode { ToplevelMode = 0,
ChildframeMode = 1,
TabPageMode = 2
}
| MdiMode |
Generated by: falk on pc9 on Fri Nov 30 14:44:26 2001, using kdoc 2.0a53. |
|