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

The Patch window controller. More...

#include <PatchWindowController.h>

Inheritance diagram for tilde::PatchWindowController:

Public Slots

void menuSave ()
 first save of the patch More...
 
void menuSaveAs ()
 
void menuCut ()
 
void menuCopy ()
 
void menuPaste ()
 
void menuDuplicate ()
 
void menuDelete ()
 
void menuSelectAll ()
 
void menuUndo ()
 
void menuRedo ()
 
void openPropertiesWindow ()
 
void slotAlignLeft ()
 
void slotAlignRight ()
 
void slotAlignTop ()
 
void slotAlignBottom ()
 
void slotAlignCenter ()
 
void slotHDistribute ()
 
void slotVDistribute ()
 
void slotRecentMenuAction ()
 
void slotObjectHoverEnter ()
 
void slotObjectHoverLeave ()
 

Signals

Object * signalCreateObject (Canvas *canvas, string name)
 
void signalEnableUndo (bool v)
 
void signalEnableRedo (bool v)
 

Public Member Functions

 PatchWindowController (ApplicationController *appController)
 
 PatchWindowController (ApplicationController *appController, CanvasPtr canvas)
 
ProcessPtr serverInstance ()
 

this is for subpatches

More...
 
ObjectId serverCanvasAsObject ()
 
CanvasPtr serverCanvas ()
 
void setAppController (ApplicationController *a)
 
ApplicationControllerappController ()
 
CanvasDatacanvasData ()
 
PatchWindowmainWindow ()
 
vector< PatchWindow * > windows ()
 
PatchWindownewWindow ()
 

unused/reserved

More...
 
UIObjectcreateObject (string name, QPoint pos)
 

unused/reserved

More...
 
UIObjectcreateObjectWithoutUndo (string name, QPoint pos)
 
void restoreUIBoxForSubpatch (PatchWindowController *controller, QString data, QPoint pos)
 
void createPatchcord (UIObject *src, int out, UIObject *dest, int in)
 

used in patch parsing with 'restore'

More...
 
UIPatchcordcreatePatchcordWithoutUndo (UIObject *src, int out, UIObject *dest, int in)
 
void syncObjectsOnParent ()
 
UIObjectcopyObject (UIObject *src)
 
void addObjectToParent (UIObject *src)
 
UIBoxasUIBox ()
 
void enableObjectsOnParent (UIObject *parentObject)
 
void disableObjectsOnParent ()
 
QUndoStack * undoStack ()
 
void openFile (QString fileName)
 
void saveFile (QString fileName)
 
void saveFileDialog ()
 
void deleteSelectedPatchcords ()
 
void deletePatchcordsFor (UIItem *obj)
 
void deletePatchcordsForObject (UIObject *o)
 
void deleteObject (UIObject *o)
 
void deleteObjectWithoutUndo (UIObject *o)
 
void deleteSelectedObjects (vector< UIObject * >)
 
void deleteSelectedObjects ()
 
void deleteSinglePatchcord (UIPatchcord *p)
 
void deleteSelectedPatchcords (vector< UIPatchcord * >)
 
void selectPatchcordsForSelectedBoxes ()
 
void dataCut ()
 
void dataCopy ()
 
void dataDuplicate ()
 
void dataPaste ()
 
void dataSelectAllObjects ()
 
void updateViewports ()
 
void setFileName (QString fname)
 
void setNewFileName (QString fname)
 
void selectBox (UIItem *box)
 
void moveSelectedBoxes (QPoint eventPos)
 
void sizeBoxShow (UIObject *object)
 
void sizeBoxHide ()
 
void enableUndo (bool v)
 
void sendMessageToObject (ObjectId object, QString msg)
 

Detailed Description

The Patch window controller.

Constructor & Destructor Documentation

tilde::PatchWindowController::PatchWindowController ( ApplicationController appController)
tilde::PatchWindowController::PatchWindowController ( ApplicationController appController,
CanvasPtr  canvas = 0 
)

Member Function Documentation

void tilde::PatchWindowController::addObjectToParent ( UIObject src)
ApplicationController* tilde::PatchWindowController::appController ( )
inline
UIBox * tilde::PatchWindowController::asUIBox ( )
CanvasData* tilde::PatchWindowController::canvasData ( )
inline
UIObject * tilde::PatchWindowController::copyObject ( UIObject src)
UIObject * tilde::PatchWindowController::createObject ( string  name,
QPoint  pos 
)

unused/reserved

UIObject * tilde::PatchWindowController::createObjectWithoutUndo ( string  name,
QPoint  pos 
)
void tilde::PatchWindowController::createPatchcord ( UIObject src,
int  out,
UIObject dest,
int  in 
)

used in patch parsing with 'restore'

UIPatchcord * tilde::PatchWindowController::createPatchcordWithoutUndo ( UIObject src,
int  out,
UIObject dest,
int  in 
)
void tilde::PatchWindowController::dataCopy ( )
void tilde::PatchWindowController::dataCut ( )
void tilde::PatchWindowController::dataDuplicate ( )
void tilde::PatchWindowController::dataPaste ( )
void tilde::PatchWindowController::dataSelectAllObjects ( )
void tilde::PatchWindowController::deleteObject ( UIObject o)
void tilde::PatchWindowController::deleteObjectWithoutUndo ( UIObject o)
void tilde::PatchWindowController::deletePatchcordsFor ( UIItem obj)
void tilde::PatchWindowController::deletePatchcordsForObject ( UIObject o)
void tilde::PatchWindowController::deleteSelectedObjects ( vector< UIObject * >  )
void tilde::PatchWindowController::deleteSelectedObjects ( )
void tilde::PatchWindowController::deleteSelectedPatchcords ( )
void tilde::PatchWindowController::deleteSelectedPatchcords ( vector< UIPatchcord * >  )
void tilde::PatchWindowController::deleteSinglePatchcord ( UIPatchcord p)
void tilde::PatchWindowController::disableObjectsOnParent ( )
void tilde::PatchWindowController::enableObjectsOnParent ( UIObject parentObject)
void tilde::PatchWindowController::enableUndo ( bool  v)
PatchWindow * tilde::PatchWindowController::mainWindow ( )
void tilde::PatchWindowController::menuCopy ( )
slot
void tilde::PatchWindowController::menuCut ( )
slot
void tilde::PatchWindowController::menuDelete ( )
slot
void tilde::PatchWindowController::menuDuplicate ( )
slot
void tilde::PatchWindowController::menuPaste ( )
slot
void tilde::PatchWindowController::menuRedo ( )
slot
void tilde::PatchWindowController::menuSave ( )
slot

first save of the patch

void tilde::PatchWindowController::menuSaveAs ( )
slot
void tilde::PatchWindowController::menuSelectAll ( )
slot
void tilde::PatchWindowController::menuUndo ( )
slot
void tilde::PatchWindowController::moveSelectedBoxes ( QPoint  eventPos)
PatchWindow * tilde::PatchWindowController::newWindow ( )

unused/reserved

void tilde::PatchWindowController::openFile ( QString  fileName)
void tilde::PatchWindowController::openPropertiesWindow ( )
slot
void tilde::PatchWindowController::restoreUIBoxForSubpatch ( PatchWindowController controller,
QString  data,
QPoint  pos 
)
void tilde::PatchWindowController::saveFile ( QString  fileName)
void tilde::PatchWindowController::saveFileDialog ( )
void tilde::PatchWindowController::selectBox ( UIItem box)
void tilde::PatchWindowController::selectPatchcordsForSelectedBoxes ( )
void tilde::PatchWindowController::sendMessageToObject ( ObjectId  object,
QString  msg 
)
CanvasPtr tilde::PatchWindowController::serverCanvas ( )
ObjectId tilde::PatchWindowController::serverCanvasAsObject ( )
ProcessPtr tilde::PatchWindowController::serverInstance ( )

this is for subpatches

void tilde::PatchWindowController::setAppController ( ApplicationController a)
void tilde::PatchWindowController::setFileName ( QString  fname)
void tilde::PatchWindowController::setNewFileName ( QString  fname)
Object* tilde::PatchWindowController::signalCreateObject ( Canvas *  canvas,
string  name 
)
signal
void tilde::PatchWindowController::signalEnableRedo ( bool  v)
signal
void tilde::PatchWindowController::signalEnableUndo ( bool  v)
signal
void tilde::PatchWindowController::sizeBoxHide ( )
void tilde::PatchWindowController::sizeBoxShow ( UIObject object)
void tilde::PatchWindowController::slotAlignBottom ( )
slot
void tilde::PatchWindowController::slotAlignCenter ( )
slot
void tilde::PatchWindowController::slotAlignLeft ( )
slot
void tilde::PatchWindowController::slotAlignRight ( )
slot
void tilde::PatchWindowController::slotAlignTop ( )
slot
void tilde::PatchWindowController::slotHDistribute ( )
slot
void tilde::PatchWindowController::slotObjectHoverEnter ( )
slot
void tilde::PatchWindowController::slotObjectHoverLeave ( )
slot
void tilde::PatchWindowController::slotRecentMenuAction ( )
slot
void tilde::PatchWindowController::slotVDistribute ( )
slot
void tilde::PatchWindowController::syncObjectsOnParent ( )
QUndoStack * tilde::PatchWindowController::undoStack ( )
void tilde::PatchWindowController::updateViewports ( )
vector< PatchWindow * > tilde::PatchWindowController::windows ( )

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