Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Protected Member Functions
StyleView Class Reference

#include <stylemanager.h>

List of all members.

Public Member Functions

 StyleView (QWidget *parent)
 ~StyleView ()

Protected Member Functions

void contentsMousePressEvent (QMouseEvent *e)
void contentsMouseDoubleClickEvent (QMouseEvent *e)

Detailed Description

Definition at line 152 of file stylemanager.h.


Constructor & Destructor Documentation

StyleView::StyleView ( QWidget *  parent)

Definition at line 1407 of file stylemanager.cpp.

                                    : QListView(parent, "StyleView")
{

}

Definition at line 1412 of file stylemanager.cpp.

{

}

Member Function Documentation

void StyleView::contentsMouseDoubleClickEvent ( QMouseEvent *  e) [protected]

Definition at line 1425 of file stylemanager.cpp.

{
       if (e->button() == Qt::LeftButton)
              emit doubleClicked(itemAt(e->pos()), e->globalPos(), 0);
       else
              QListView::contentsMouseDoubleClickEvent(e);
}
void StyleView::contentsMousePressEvent ( QMouseEvent *  e) [protected]

Definition at line 1417 of file stylemanager.cpp.

{
       if (e->button() == Qt::RightButton)
              emit rightButtonClicked(itemAt(e->pos()), e->globalPos(), 0);
       else
              QListView::contentsMousePressEvent(e);
}

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