Package mcbase :: Package libs :: Package designeditor :: Module framesettings :: Class FrameModel
[hide private]
[frames] | no frames]

Class FrameModel

source code


Instance Methods [hide private]
 
__init__(self, allFrames, plugin)
Çerçeveleri listeler.
source code
 
frameCode(self, row)
Satırdaki çerçeve kodunu döndürür.
source code
 
isSelected(self, frameCode)
Çerçevenin seçili olup olmadığını verir.
source code
 
setChosenFrames(self, chosenFrames)
Seçili çerçeveleri belirler.
source code
 
chosenFrames(self)
Seçili çerçeveleri döndürür.
source code
 
frameStart(self, row)
İstenilen sıradaki çerçevenin başladığı yeri verir.
source code
 
setFrameStart(self, row, value)
Çerçevenin başladığı satırı set eder.
source code
 
flags(self, index)
Hücrelerin durumlarını verir.
source code
 
rowCount(self, parent=QModelIndex())
Kaç tane çerçeve 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
 
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