OpenStructure
Public Slots | Public Member Functions | Protected Member Functions
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=Qt::WindowFlags())
 
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()

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

Member Function Documentation

◆ AddDockWidget()

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

add a custom docking widget

◆ OnDockClose

void OnDockClose ( QDockWidget *  dock)
slot

◆ OnDockMenu

void OnDockMenu ( QAction *  a)
slot

◆ RemoveDockWidget()

void RemoveDockWidget ( QWidget *  w)

remove a previously added custom docking widget

◆ WindowMenu() [1/2]

QMenu* WindowMenu ( )
protected

◆ WindowMenu() [2/2]

const QMenu* WindowMenu ( ) const
protected

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