Package mcbase :: Package libs :: Package designeditor :: Module propertyeditor :: Class PropertyModel
[hide private]
[frames] | no frames]

Class PropertyModel

source code


Instance Methods [hide private]
 
__init__(self, propertyEditor, plugin)
Özellik editörünün değiştirme ve özel işlerini yapar.
source code
 
removeAllRows(self)
Tüm satırları siler.
source code
 
insertedAllRows(self)
Tüm satırların eklendiğini tabloya haber veriyoruz.
source code
 
refresh(self)
Tabloyu günceller.
source code
 
longestLabelText(self)
En geniş açıklama satırını bulur.
source code
 
setValues(self, newValues)
Editördeki alanların yeni değerlerini set eder.
source code
 
values(self)
Editör içerisindeki son değerleri verir.
source code
 
flags(self, index)
Hücrelerin durumlarını verir.
source code
 
rowCount(self, parent=QModelIndex())
Kaç tane ayar olduğunu döndürür.
source code
 
columnCount(self, parent=QModelIndex())
Kaç tane sütun olduğunu söyler
source code
 
setData(self, index, value, role=Qt.EditRole)
Editördeki değer değiştikten sonra, model'e yeni değeri tanıtıyoruz.
source code
 
propertyKey(self, index)
Belirtilen indeksteki özelliğin anahtarını verir.
source code
 
propertyData(self, index)
İstenilen yerdeki data'nın özellik değerini verir.
source code
 
data(self, index, role)
İndeksi ve durumu verilen yerin gösterilecek datasını gösterir.
source code
 
headerData(self, section, orientation, role=Qt.DisplayRole)
Sütunların başlıklarını döndürür.
source code
Method Details [hide private]

data(self, index, role)

source code 

İndeksi ve durumu verilen yerin gösterilecek datasını gösterir.

Decorators:
  • @returnQVariant

headerData(self, section, orientation, role=Qt.DisplayRole)

source code 

Sütunların başlıklarını döndürür.

Decorators:
  • @returnQVariant