tilde~
Puredata Qt-based GUI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | List of all members
tilde::PatchWindow Class Reference

Patch window. Creates scroll view and cm_canvas; Creates menu commands, forwards them to cm_canvas. More...

#include <PatchWindow.h>

Inheritance diagram for tilde::PatchWindow:
tilde::BaseWindow

Public Member Functions

 PatchWindow ()
 
CanvasViewcanvasView ()
 
void setCanvasView (CanvasView *v)
 
void setController (PatchWindowController *c)
 
PatchWindowControllercontroller ()
 
void createActions ()
 
void createMenus ()
 
void moveEvent (QMoveEvent *)
 
void resizeEvent (QResizeEvent *)
 
void newObjectBox ()
 
void newMessageBox ()
 
void newFloatBox ()
 
void newCommentBox ()
 
void newBangBox ()
 
void newToggleBox ()
 
void newScriptBox ()
 
void newArrayBox ()
 
void newSliderBox ()
 
void newRadioBox ()
 
void newPdClassBox ()
 
void newPdInstanceBox ()
 
void objectMakerDone ()
 creates object TODO move to controller More...
 
void setEditMode ()
 
void setGridVisible ()
 
void setGridSnap ()
 
void closeEvent (QCloseEvent *event)
 
void setFileName (QString fname)
 set file name when opening patch file More...
 
void keyPressEvent (QKeyEvent *event)
 keys: ctrl for temporary lock; esc to stop editing actions More...
 
void keyReleaseEvent (QKeyEvent *event)
 
void zoomIn ()
 
void zoomOut ()
 
void zoom100 ()
 
- Public Member Functions inherited from tilde::BaseWindow
 BaseWindow (QWidget *parent=0)
 
void setAppController (ApplicationController *appController)
 
ApplicationControllerappController ()
 
void createActions ()
 
void createMenus ()
 create all menus More...
 
void createScriptsMenu ()
 

create all menus

More...
 
void setRecentMenu (QMenu *menu)
 

create scripts menu

More...
 

Additional Inherited Members

- Public Attributes inherited from tilde::BaseWindow
QAction * messageAct
 
QAction * openAct
 
QAction * saveAct
 
QAction * saveAsAct
 
QAction * closeAct
 
QAction * cutAct
 
QAction * copyAct
 
QAction * duplicateAct
 
QAction * pasteAct
 
QAction * undoAct
 
QAction * redoAct
 
QMenu * fileMenu
 
QMenu * editMenu
 
QMenu * putMenu
 
QMenu * arrangeMenu
 
QMenu * scriptsMenu
 
QMenu * helpMenu
 

Detailed Description

Patch window. Creates scroll view and cm_canvas; Creates menu commands, forwards them to cm_canvas.

Constructor & Destructor Documentation

tilde::PatchWindow::PatchWindow ( )

Member Function Documentation

CanvasView* tilde::PatchWindow::canvasView ( )
inline
void tilde::PatchWindow::closeEvent ( QCloseEvent *  event)
PatchWindowController* tilde::PatchWindow::controller ( )
inline
void tilde::PatchWindow::createActions ( )
void tilde::PatchWindow::createMenus ( )
void tilde::PatchWindow::keyPressEvent ( QKeyEvent *  event)

keys: ctrl for temporary lock; esc to stop editing actions

void tilde::PatchWindow::keyReleaseEvent ( QKeyEvent *  event)
void tilde::PatchWindow::moveEvent ( QMoveEvent *  )
void tilde::PatchWindow::newArrayBox ( )
void tilde::PatchWindow::newBangBox ( )
void tilde::PatchWindow::newCommentBox ( )
void tilde::PatchWindow::newFloatBox ( )
void tilde::PatchWindow::newMessageBox ( )
void tilde::PatchWindow::newObjectBox ( )
void tilde::PatchWindow::newPdClassBox ( )
void tilde::PatchWindow::newPdInstanceBox ( )
void tilde::PatchWindow::newRadioBox ( )
void tilde::PatchWindow::newScriptBox ( )
void tilde::PatchWindow::newSliderBox ( )
void tilde::PatchWindow::newToggleBox ( )
void tilde::PatchWindow::objectMakerDone ( )

creates object TODO move to controller

Deprecated:
move to controller
void tilde::PatchWindow::resizeEvent ( QResizeEvent *  event)
void tilde::PatchWindow::setCanvasView ( CanvasView v)
inline
void tilde::PatchWindow::setController ( PatchWindowController c)
void tilde::PatchWindow::setEditMode ( )
void tilde::PatchWindow::setFileName ( QString  fname)

set file name when opening patch file

Parameters
fname
void tilde::PatchWindow::setGridSnap ( )
void tilde::PatchWindow::setGridVisible ( )
void tilde::PatchWindow::zoom100 ( )
void tilde::PatchWindow::zoomIn ( )
void tilde::PatchWindow::zoomOut ( )

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