Eneboo - Documentación para desarrolladores
Slots públicos | Métodos públicos | Métodos protegidos
Referencia de la Clase Workspace

#include <workspace.h>

Diagrama de herencias de Workspace
QListView QScrollView QScrollView QFrame QFrame QFrame QFrame QWidget QWidget QWidget QWidget QWidget QWidget QWidget QWidget

Lista de todos los miembros.

Slots públicos

void update ()
void update (FormFile *)
void activeFormChanged (FormWindow *fw)
void activeEditorChanged (SourceEditor *se)

Métodos públicos

 Workspace (QWidget *parent, MainWindow *mw)
void setCurrentProject (Project *pro)
void contentsDropEvent (QDropEvent *e)
void contentsDragEnterEvent (QDragEnterEvent *e)
void contentsDragMoveEvent (QDragMoveEvent *e)
void setBufferEdit (QCompletionEdit *edit)

Métodos protegidos

void closeEvent (QCloseEvent *e)
bool eventFilter (QObject *, QEvent *)

Documentación del constructor y destructor

Workspace::Workspace ( QWidget parent,
MainWindow mw 
)

Documentación de las funciones miembro

void Workspace::activeEditorChanged ( SourceEditor se) [slot]
void Workspace::activeFormChanged ( FormWindow fw) [slot]
void Workspace::closeEvent ( QCloseEvent e) [protected, virtual]

This event handler, for event e, can be reimplemented in a subclass to receive widget close events.

The default implementation calls e->accept(), which hides this widget. See the QCloseEvent documentation for more details.

Ver también:
event(), hide(), close(), QCloseEvent

Reimplementado de QWidget.

void Workspace::contentsDragEnterEvent ( QDragEnterEvent e) [virtual]

Reimplementado de QListView.

void Workspace::contentsDragMoveEvent ( QDragMoveEvent e) [virtual]

Reimplementado de QListView.

void Workspace::contentsDropEvent ( QDropEvent e) [virtual]

Reimplementado de QListView.

bool Workspace::eventFilter ( QObject o,
QEvent e 
) [protected, virtual]

Redirects the event e relating to object o, for the viewport to mousePressEvent(), keyPressEvent() and friends.

Reimplementado de QListView.

void Workspace::setBufferEdit ( QCompletionEdit edit)
void Workspace::setCurrentProject ( Project pro)
void Workspace::update ( FormFile ff) [slot]
void Workspace::update ( ) [slot]

Updates the widget unless updates are disabled or the widget is hidden.

Updating the widget will erase the widget contents and generate an appropriate paint event for the invalidated region. The paint event is processed after the program has returned to the main event loop. Calling update() many times in a row will generate a single paint event.

If the widgets sets the WRepaintNoErase flag, update() will not erase its contents.

Ver también:
repaint(), paintEvent(), setUpdatesEnabled(), erase(), setWFlags()

Updates the widget unless updates are disabled or the widget is hidden.

This function does not cause an immediate repaint; instead it schedules a paint event for processing when Qt returns to the main event loop. This permits Qt to optimize for more speed and less flicker than a call to repaint() does.

Calling update() several times normally results in just one paintEvent() call.

Qt normally erases the widget's area before the paintEvent() call. If the WRepaintNoErase widget flag is set, the widget is responsible for painting all its pixels itself.

Ver también:
repaint(), paintEvent(), setUpdatesEnabled(), erase(), setWFlags()

Reimplementado de QWidget.


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'