#include <dockWidget.h>
Public Slots |
|
virtual void | dropEvent (QDropEvent *e) |
virtual void | dragEnterEvent (QDragEnterEvent *e) |
virtual void | showGuestContextMenu (const QPoint &) |
Public Member Functions |
|
DockWidget (QWidget *parent, const char *title=0) | |
Use this constructor! |
|
void | setGuest (QWidget &guest) |
Insert a widget with the content of
the window. |
|
virtual void | initializeWidget (MainControl &main_control) |
Initialize the widget. |
|
virtual void | fetchPreferences (INIFile &inifile) |
Load settings from an INIFile. |
|
virtual void | writePreferences (INIFile &inifile) |
Write settings to an INIFile. |
|
virtual void | setWidgetVisible (bool state) |
For usage with Python:. |
|
virtual void | registerForHelpSystem (const QObject *widget, const String &url) |
Register an QObject for the help
system. |
|
QGridLayout * | getGuestLayout () |
Protected Member Functions |
|
DockWidget (const DockWidget &) | |
Protected Attributes |
|
QWidget * | container_ |
QWidget * | guest_ |
QGridLayout * | layout_ |
Insert the widget with the main content as member with setGuest(). This class is very generic, to understand its concept better, have a look at the implementation in LogView.
virtual void BALL::VIEW::DockWidget::fetchPreferences | ( | INIFile & | inifile | ) | [virtual] |
Load settings from an INIFile.
Reimplemented from BALL::VIEW::ModularWidget.
Reimplemented in BALL::VIEW::MolecularControl, and BALL::VIEW::PyWidget.
virtual void BALL::VIEW::DockWidget::initializeWidget | ( | MainControl & | main_control | ) | [virtual] |
Initialize the widget.
Reimplemented from BALL::VIEW::ModularWidget.
Reimplemented in BALL::VIEW::DatasetControl, BALL::VIEW::EditFunctions, BALL::VIEW::FileObserver, BALL::VIEW::GenericControl, BALL::VIEW::GeometricControl, BALL::VIEW::HelpViewer, BALL::VIEW::LogView, BALL::VIEW::MolecularControl, and BALL::VIEW::PyWidget.
virtual void BALL::VIEW::DockWidget::registerForHelpSystem | ( | const QObject * | object, | |
const String & | url | |||
) | [virtual] |
Register an QObject for the help system.
Reimplemented from BALL::VIEW::ModularWidget.
Reimplemented in BALL::VIEW::HelpViewer.
virtual void BALL::VIEW::DockWidget::writePreferences | ( | INIFile & | inifile | ) | [virtual] |
Write settings to an INIFile.
Reimplemented from BALL::VIEW::ModularWidget.
Reimplemented in BALL::VIEW::MolecularControl, and BALL::VIEW::PyWidget.