KDEUI
kmenubar.cpp
Go to the documentation of this file.
370 // kDebug() << "RS:" << w << ":" << h << ":" << width() << ":" << height() << ":" << minimumWidth() << ":" << minimumHeight();
392 // QMenuBar's sizeHint() gives wrong size (insufficient width), which causes wrapping in the kicker applet
400 // find the minimum useful height, and enlarge the width until the menu fits in that height (one row)
text
void eraseRect(const QRectF &rectangle)
const QRect screenGeometry(int screen) const
Type type() const
const QPalette & palette() const
bool isHidden() const
void setTopLevelMenu(bool top_level=true)
This controls whether or not this menubar will be a top-level bar similar to the way Macintosh handle...
Definition: kmenubar.cpp:155
int width() const
void setBackgroundMode(Qt::BackgroundMode widgetBackground, Qt::BackgroundMode paletteBackground)
int timeout
Display * display()
QStyle * style() const
void erase()
icon
bool isVisible() const
bool isVisible() const
void setAttribute(Qt::WidgetAttribute attribute, bool on)
bool isTopLevel() const
int height() const
typedef State
int x() const
int y() const
virtual bool x11Event(XEvent *event)
static KGlobalSettings * self()
Return the KGlobalSettings singleton.
Definition: kglobalsettings.cpp:188
static void setType(WId win, NET::WindowType windowType)
Sets the type of window win to windowType.
Definition: kwindowsystem_mac.cpp:473
void setParent(QWidget *parent)
bool isTopLevelMenu() const
Is our menubar a top-level (Macintosh style) menubar?
Definition: kmenubar.cpp:224
bool isFullScreen() const
const QRect & geometry() const
KSharedConfigPtr config()
int width() const
QSize size() const
void setMinimumSize(const QSize &)
bool isEnabled() const
BackgroundOrigin backgroundOrigin() const
void ignore()
QWidget * topLevelWidget() const
int top() const
void setUpdatesEnabled(bool enable)
This class implements watching manager selections, as described in the ICCCM section 2...
Definition: kmanagerselection.h:155
int left() const
bool sendEvent(QObject *receiver, QEvent *event)
static void setStrut(WId win, int left, int right, int top, int bottom)
Convenience function for setExtendedStrut() that automatically makes struts as wide/high as the scree...
Definition: kwindowsystem_mac.cpp:591
void move(int x, int y)
void setBackgroundOrigin(BackgroundOrigin background)
bool spontaneous() const
WId winId() const
void hide()
bool isActiveWindow() const
QRect rect() const
void setFixedSize(const QSize &s)
bool isEmpty() const
void setMaximumSize(const QSize &)
static void setMainWindow(QWidget *subwindow, WId mainwindow)
Sets the parent window of subwindow to be mainwindow.
Definition: kwindowsystem_mac.cpp:412
int width() const
void setClipRect(const QRectF &rectangle, Qt::ClipOperation operation)
QDesktopWidget * desktop()
QWidget * parentWidget() const
QColorGroup inactive() const
Qt::BackgroundMode backgroundMode() const
virtual void drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const =0
int height() const
bool isUpdatesEnabled() const
void init(const QWidget *widget)
QColorGroup colorGroup() const
QColorGroup active() const
void show()
virtual void closeEvent(QCloseEvent *event)
void setBackgroundRole(QPalette::ColorRole role)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
T readEntry(const QString &key, const T &aDefault) const
QColorGroup disabled() const
bool isEnabled() const
int height() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.