kivio

#include <stencilbardockmanager.h>

Inherits TQObject.

Signals

void positionChanged ()
 
void sizeChanged ()
 
void fixPosition (int &x, int &y, int &w, int &h)
 
void fixSize (int &x, int &y, int &w, int &h)
 

Public Member Functions

bool isWorking () const
 
void doXResize (TQWidget *, bool mirror)
 
void doYResize (TQWidget *, bool mirror)
 
void doXYResize (TQWidget *, bool _mirrorX, bool _mirrorY)
 
void doMove (TQWidget *)
 
void movePause (bool horizontal=true, bool vertical=true)
 
void moveContinue ()
 
void setGeometry (const TQRect &r)
 
void setGeometry (int x, int y, int w, int h)
 
TQRect geometry ()
 
void resize (const TQSize &s)
 
void resize (int rw, int rh)
 
void move (int rx, int ry)
 
void move (const TQPoint &p)
 
int x () const
 
int y () const
 
int width () const
 
int height () const
 
bool isXMirror () const
 
bool isYMirror () const
 
void stop ()
 
TQWidget * getWidget () const
 

Protected Member Functions

void doResize (TQWidget *)
 
void setWidget (TQWidget *)
 
void drawRectangle (int x, int y, int w, int h)
 
void paintProcess (bool onlyDeelete=true, int _x=0, int _y=0, int _w=0, int _h=0)
 
bool check (int &x, int &y, int &w, int &h, bool change=false)
 

Detailed Description

The move manager handles moving tooldocks or other widgets that it can manage, such as the Kivio stencil bar.

Definition at line 94 of file stencilbardockmanager.h.

Constructor & Destructor Documentation

◆ KoToolDockMoveManager()

KoToolDockMoveManager::KoToolDockMoveManager ( )

Definition at line 308 of file stencilbardockmanager.cpp.

◆ ~KoToolDockMoveManager()

KoToolDockMoveManager::~KoToolDockMoveManager ( )

Definition at line 333 of file stencilbardockmanager.cpp.

Member Function Documentation

◆ check()

bool KoToolDockMoveManager::check ( int &  x,
int &  y,
int &  w,
int &  h,
bool  change = false 
)
protected

Definition at line 595 of file stencilbardockmanager.cpp.

◆ doMove()

void KoToolDockMoveManager::doMove ( TQWidget *  _w)

Definition at line 339 of file stencilbardockmanager.cpp.

◆ doResize()

void KoToolDockMoveManager::doResize ( TQWidget *  _w)
protected

Definition at line 574 of file stencilbardockmanager.cpp.

◆ doXResize()

void KoToolDockMoveManager::doXResize ( TQWidget *  w,
bool  mirror 
)

Definition at line 477 of file stencilbardockmanager.cpp.

◆ doXYResize()

void KoToolDockMoveManager::doXYResize ( TQWidget *  w,
bool  _mirrorX,
bool  _mirrorY 
)

Definition at line 505 of file stencilbardockmanager.cpp.

◆ doYResize()

void KoToolDockMoveManager::doYResize ( TQWidget *  w,
bool  mirror 
)

Definition at line 491 of file stencilbardockmanager.cpp.

◆ drawRectangle()

void KoToolDockMoveManager::drawRectangle ( int  x,
int  y,
int  w,
int  h 
)
protected

Definition at line 433 of file stencilbardockmanager.cpp.

◆ geometry()

TQRect KoToolDockMoveManager::geometry ( )

Definition at line 634 of file stencilbardockmanager.cpp.

◆ getWidget()

TQWidget * KoToolDockMoveManager::getWidget ( ) const
inline

Definition at line 133 of file stencilbardockmanager.h.

◆ height()

int KoToolDockMoveManager::height ( ) const
inline

Definition at line 127 of file stencilbardockmanager.h.

◆ isWorking()

bool KoToolDockMoveManager::isWorking ( ) const
inline

Definition at line 104 of file stencilbardockmanager.h.

◆ isXMirror()

bool KoToolDockMoveManager::isXMirror ( ) const
inline

Definition at line 129 of file stencilbardockmanager.h.

◆ isYMirror()

bool KoToolDockMoveManager::isYMirror ( ) const
inline

Definition at line 130 of file stencilbardockmanager.h.

◆ move() [1/2]

void KoToolDockMoveManager::move ( const TQPoint &  p)
inline

Definition at line 122 of file stencilbardockmanager.h.

◆ move() [2/2]

void KoToolDockMoveManager::move ( int  rx,
int  ry 
)
inline

Definition at line 121 of file stencilbardockmanager.h.

◆ moveContinue()

void KoToolDockMoveManager::moveContinue ( )

Definition at line 471 of file stencilbardockmanager.cpp.

◆ movePause()

void KoToolDockMoveManager::movePause ( bool  horizontal = true,
bool  vertical = true 
)

Definition at line 465 of file stencilbardockmanager.cpp.

◆ paintProcess()

void KoToolDockMoveManager::paintProcess ( bool  onlyDeelete = true,
int  _x = 0,
int  _y = 0,
int  _w = 0,
int  _h = 0 
)
protected

Definition at line 449 of file stencilbardockmanager.cpp.

◆ resize() [1/2]

void KoToolDockMoveManager::resize ( const TQSize &  s)
inline

Definition at line 119 of file stencilbardockmanager.h.

◆ resize() [2/2]

void KoToolDockMoveManager::resize ( int  rw,
int  rh 
)
inline

Definition at line 120 of file stencilbardockmanager.h.

◆ setGeometry() [1/2]

void KoToolDockMoveManager::setGeometry ( const TQRect &  r)

Definition at line 412 of file stencilbardockmanager.cpp.

◆ setGeometry() [2/2]

void KoToolDockMoveManager::setGeometry ( int  x,
int  y,
int  w,
int  h 
)

Definition at line 417 of file stencilbardockmanager.cpp.

◆ setWidget()

void KoToolDockMoveManager::setWidget ( TQWidget *  _w)
protected

Definition at line 556 of file stencilbardockmanager.cpp.

◆ stop()

void KoToolDockMoveManager::stop ( )

Definition at line 396 of file stencilbardockmanager.cpp.

◆ width()

int KoToolDockMoveManager::width ( ) const
inline

Definition at line 126 of file stencilbardockmanager.h.

◆ x()

int KoToolDockMoveManager::x ( ) const
inline

Definition at line 124 of file stencilbardockmanager.h.

◆ y()

int KoToolDockMoveManager::y ( ) const
inline

Definition at line 125 of file stencilbardockmanager.h.


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