Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->objectName = PQNAME;
     $this->currentPath = QDir::CurrentPath;
     $this->iconsPath = $this->currentPath . '/core/design/faenza-icons';
     $this->qticonsPath = $this->currentPath . '/core/design/qt-icons';
     $this->pqpackPath = ___pq_prepare_path(getenv("PROGRAMFILES")) . '/PQPack';
     // Components
     $this->csPath = $this->currentPath . '/core/components';
     $this->csName = 'component.php';
     $this->csProperties = 'properties.php';
     $this->csEvents = 'events.php';
     $this->csIcon = 'icon.png';
     $this->init();
 }
Ejemplo n.º 2
0
 public function __construct(&$codegen, $container, $object, $gridSize, $offset = 0)
 {
     parent::__construct();
     $this->offset = $offset;
     $this->gridSize = $gridSize;
     $this->codegen =& $codegen;
     $this->container = $container;
     $this->selobj =& $object;
     $this->lt = $this->createSel("lt", Qt::SizeFDiagCursor);
     $this->lb = $this->createSel("lb", Qt::SizeBDiagCursor);
     $this->lm = $this->createSel("lm", Qt::SizeHorCursor);
     $this->rt = $this->createSel("rt", Qt::SizeBDiagCursor);
     $this->rb = $this->createSel("rb", Qt::SizeFDiagCursor);
     $this->rm = $this->createSel("rm", Qt::SizeHorCursor);
     $this->tm = $this->createSel("tm", Qt::SizeVerCursor);
     $this->bm = $this->createSel("bm", Qt::SizeVerCursor);
     $this->updateSels();
 }
Ejemplo n.º 3
0
 public function __construct($parent)
 {
     parent::__construct($parent);
 }