MainWindow Class Reference

#include <main_window.hh>

Inherits QMainWindow.

Inherited by DataViewer.


Public Slots

void OnDockMenu (QAction *a)
void OnDockClose (QDockWidget *dock)

Public Member Functions

 MainWindow (QWidget *parent=0, Qt::WindowFlags flags=0)
void AddDockWidget (QWidget *w, const QString &name, bool show=true, int area=0)
void RemoveDockWidget (QWidget *w)

Protected Member Functions

QMenu * WindowMenu ()
const QMenu * WindowMenu () const


Detailed Description

Definition at line 40 of file main_window.hh.


Constructor & Destructor Documentation

MainWindow ( QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)


Member Function Documentation

void AddDockWidget ( QWidget *  w,
const QString &  name,
bool  show = true,
int  area = 0 
)

add a custom docking widget

void OnDockClose ( QDockWidget *  dock  )  [slot]

void OnDockMenu ( QAction *  a  )  [slot]

void RemoveDockWidget ( QWidget *  w  ) 

remove a previously added custom docking widget

const QMenu* WindowMenu (  )  const [protected]

QMenu* WindowMenu (  )  [protected]


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

Generated on Fri Jul 2 14:23:06 2010 for OpenStructure by  doxygen 1.5.8