Package mcbase :: Package libs :: Package designeditor :: Module image :: Class Image
[hide private]
[frames] | no frames]

Class Image

source code


Instance Methods [hide private]
 
__init__(self, parent, editor, plugin)
Çizgi nesnesini oluşturur.
source code
 
setProperty(self, property, value)
Çizginin bir özelliğini değiştirir.
source code
 
propertyMeta(self)
Özellik editöründeki editörlerini döndürür.
source code
 
getAdjustSize(self)
İçindeki resmin kapladığı alanı bulup döndürüyoruz.
source code
 
setImageData(self, data)
İçeriği verilen resmi set eder.
source code
 
dumpToDict(self)
Çizginin özelliklerini bir dict'e yazar.
source code
 
mouseDoubleClickEvent(self, e)
Alanın içerisindeki yazı değişeceği zaman çalışır.
source code
 
restoreFromDict(self, dump, x, y)
Nesnenin özelliklerini dump'tan alarak nesneye ekler.
source code
 
sourceRect(self, image)
Yerleştirilecek resmin ne kadarının kullanılabileceğini bulur.
source code
 
targetPoint(self, image)
Yerleştirilecek resmin nesnenin neresine denk geldiğini bulur
source code
 
paint(self, painter, option, widget)
Dikdörtgenin şeklini çizer.
source code
Static Methods [hide private]
 
createFromDict(dump, parent, editor, x, y)
Dict tanımından yeni bir çizgi oluşturur.
source code