Qt-interest Archive, March 2002
=?gb2312?B?tPC4tDogUmU6IEhlbHAgbWUgYWJvdXQgdGhlIGJhY2tncm91ZCBjb2xvcg==?= of QPopupMenu
Message 1 in thread
Dear Greger Haga and other friend,
I have read the source code of QPopupMenu and some other classes.
QPopupMenu inherits QFrame and QMenuData, QFrame inherits QWidget. In the
function QPopupMenu::QPopupMenu(), there is a fuction setBackgroundMode(
PaletteButton ), and I found that it's a member function of QWidget. Then I
read the source code of QWiget, in it I found an enum BackgroundMode and
setBackgroundMode(BackgroundMode).
enum BackgroundMode { FixedColor, FixedPixmap, NoBackground,
PaletteForeground, PaletteButton, PaletteLight,
PaletteMidlight, PaletteDark, PaletteMid,
PaletteText, PaletteBrightText, PaletteBase,
PaletteBackground, PaletteShadow, PaletteHighlight,
PaletteHighlightedText, PaletteButtonText,
X11ParentRelative };
But I don't know what the every variable of BackgroundMode means? Who
help me?
Thanks in Advance.
--
[ signature omitted ]