kate
KateMDI::ToolView Class Reference
#include <katemdi.h>
Inheritance diagram for KateMDI::ToolView:
Signals | |
void | visibleChanged (bool visible) |
Public Member Functions | |
bool | visible () const |
virtual | ~ToolView () |
Protected Member Functions | |
void | childEvent (QChildEvent *ev) |
MainWindow * | mainWindow () |
void | setVisible (bool vis) |
Sidebar * | sidebar () |
ToolView (class MainWindow *mainwin, class Sidebar *sidebar, QWidget *parent) |
Detailed Description
Definition at line 102 of file katemdi.h.
Constructor & Destructor Documentation
KateMDI::ToolView::ToolView | ( | class MainWindow * | mainwin, | |
class Sidebar * | sidebar, | |||
QWidget * | parent | |||
) | [protected] |
ToolView Objects of this clas represent a toolview in the mainwindow you should only add one widget as child to this toolview, it will be automatically set to be the focus proxy of the toolview.
- Parameters:
-
mainwin main window for this toolview sidebar sidebar of this toolview parent parent widget, e.g. the splitter of one of the sidebars
Definition at line 228 of file katemdi.cpp.
KateMDI::ToolView::~ToolView | ( | ) | [virtual] |
destuct me, this is allowed for all, will care itself that the toolview is removed from the mainwindow and sidebar
Definition at line 237 of file katemdi.cpp.
Member Function Documentation
void KateMDI::ToolView::childEvent | ( | QChildEvent * | ev | ) | [protected] |
Definition at line 256 of file katemdi.cpp.
MainWindow* KateMDI::ToolView::mainWindow | ( | ) | [inline, protected] |
void KateMDI::ToolView::setVisible | ( | bool | vis | ) | [protected] |
Definition at line 242 of file katemdi.cpp.
Sidebar* KateMDI::ToolView::sidebar | ( | ) | [inline, protected] |
bool KateMDI::ToolView::visible | ( | ) | const |
Definition at line 251 of file katemdi.cpp.
void KateMDI::ToolView::visibleChanged | ( | bool | visible | ) | [signal] |
toolview hidden or shown
- Parameters:
-
bool is this toolview made visible?
The documentation for this class was generated from the following files: