Back to index

Public Member Functions | Private Attributes
QTMMenuWidget Class Reference

List of all members.

Public Member Functions

 QTMMenuWidget (QWidget *parent=0)
void paintEvent (QPaintEvent *event)

Private Attributes

QStyleOptionMenuItem option

Detailed Description

Definition at line 125 of file qt_ui_element.cpp.

Constructor & Destructor Documentation

QTMMenuWidget::QTMMenuWidget ( QWidget *  parent = 0) [inline]

Definition at line 128 of file qt_ui_element.cpp.

                                     : QWidget(parent) {
    QTMAuxMenu m;
    m.myInitStyleOption (&option);

Here is the call graph for this function:

Member Function Documentation

void QTMMenuWidget::paintEvent ( QPaintEvent *  event)

Definition at line 136 of file qt_ui_element.cpp.

  (void) event;
  QPainter p (this);
  option.rect = rect ();
  //QRect r = rect ();
  style()->drawControl (QStyle::CE_MenuEmptyArea, &option, &p, this);

Member Data Documentation

QStyleOptionMenuItem QTMMenuWidget::option [private]

Definition at line 126 of file qt_ui_element.cpp.

The documentation for this class was generated from the following file: