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=2)
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 = 2 
)

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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 1 Mar 2018 for OpenStructure by  doxygen 1.6.1