Eneboo - Documentación para desarrolladores
|
#include <workspace.h>
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 *) |
Workspace::Workspace | ( | QWidget * | parent, |
MainWindow * | mw | ||
) |
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.
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.
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.
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.
Reimplementado de QWidget.