Package mcbase :: Package libs :: Package pagesources :: Module textreportpagesource :: Class TextReportPageSource
[hide private]
[frames] | no frames]

Class TextReportPageSource

source code


Instance Methods [hide private]
 
__init__(self, reportResult)
Rapor sonucunu alır.
source code
 
setReportResult(self, reportResult)
Rapor sonucu değiştiği zaman dışarıdan set edilebilmesini sağlar.
source code
 
setPrinterSettings(self, printerSettings)
Yazıcı ayarlarından alınacak bir ayar varsa alıyoruz.
source code
 
setColorMode(self, mode)
Raporun renkli mi yoksa, siyah beyaz mı basılacağını belirtir.
source code
 
setHighlightsEnabled(self, flag)
Satır şeritlerinin olup olmayacağını belirtir.
source code
 
isHighlightsEnabled(self)
Satır şeritlerinin olup olmadığını belirtir.
source code
 
supportsHighlights(self)
Satır şeritlerini destekleyip desteklemediğini belirtir.
source code
 
resetWorldMatrix(self)
World matrix'i resetler.
source code
 
reportResult(self)
İstenirse, rapor sonucunun son hali döndürülür.
source code
 
setAbsoluteLengths(self, width, height)
Zorunlu sayfa boyu ve genişliklerini tanımlar.
source code
 
setMargins(self, left, top, right, bottom)
Sayfa marjinlerini belirler.
source code
 
setPrinterPageWidth(self, printerPageWidth)
Yazıcının sayfa genişliği ayarlarını yapar.
source code
 
setPageOrientation(self, pageOrientation)
Raporun sayfaya hangi doğrultuda çizileceğini gösterir.
source code
 
pageOrientation(self)
Sayfanın yön durum bilgisini verir.
source code
 
numberOfPages(self)
Raporda kaç sayfa olduğunu söyler.
source code
 
pageWidth(self, applyZoom=True)
Rapor tasarımındaki sayfa genişliği pixel cinsinden bulur.
source code
 
pageHeight(self, applyZoom=True)
Rapor tasarımındaki sayfa yüksekliğini pixel cinsinden bulur.
source code
 
fontMetrics(self)
Raporun basılacağı font ile ilgili sayısal değerleri verir.
source code
 
clearPages(self)
Sayfa kaynağındaki sayfaları siler.
source code
 
getPage(self, pageNumber)
İstenilen sayfayı oluşturup döndürür.
source code
 
setZoom(self, zoom)
Sayfanın hangi oranda büyültüleceğini söyler.
source code
 
zoom(self)
Zoom oranının döndürür.
source code
 
preferredPrinterType(self)
Rapor sonucunun hangi tür yazıcı kullanmak istediğini söyler.
source code
 
preferredPageOrientation(self)
Rapor sonucunun hangi tür sayfa yönü kullanmak istediğini söyler.
source code
 
printEndOfPage(self)
Nokta vuruşlu çıktılarda sayfa basılıp basılmayacağını söyler.
source code
 
supportsDotMatrixPrinter(self)
Bu raporun nokta vuruşlu yazıcı desteği olup olmadığını söyler.
source code
 
supportsLaserPrinter(self)
Bu raporun lazer yazıcı desteği olup olmadığını söyler.
source code
 
paperType(self) source code
 
copyNumber(self)
Raporun kaç kopya olduğunu verir.
source code
 
screenCaption(self)
Raporun görüntülenmesi sırasında ekranın olası başlığı
source code
 
refreshScreenCaption(self)
Rapor çalıştırılırken gösterilecek ekran başlığı.
source code
 
supportsRefreshResult(self)
Raporun yenileme özelliği var mı diye bakar.
source code
 
supportsChangeDesign(self)
Raporun tasarım değiştirme özelliği var mı diye sorar.
source code
 
isColoredPrinting(self) source code
 
executeReport(self, callerObj)
Raporu yeniden çalıştırır.
source code
 
refreshReport(self, callerObj)
Raporun tekrar çalıştırır ve rapor sonucunu değiştirir.
source code
 
designChanged(self, id, prm)
Tasarım değişmiş ise tasarımın değiştiğini haber verir.
source code
 
changeDesign(self, callerObj)
Raporun tasarımının değiştirilmesini sağlar.
source code

Inherited from PyQt4.QtCore.QObject: blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

Inherited from sip.simplewrapper: __delattr__, __getattribute__, __new__, __setattr__

Inherited from object: __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, reportResult)
(Constructor)

source code 

Rapor sonucunu alır.

Overrides: object.__init__

setPrinterSettings(self, printerSettings)

source code 

Yazıcı ayarlarından alınacak bir ayar varsa alıyoruz.

Overrides: pagesource.PageSource.setPrinterSettings

setColorMode(self, mode)

source code 

Raporun renkli mi yoksa, siyah beyaz mı basılacağını belirtir.

Overrides: pagesource.PageSource.setColorMode

supportsHighlights(self)

source code 

Satır şeritlerini destekleyip desteklemediğini belirtir.

Overrides: pagesource.PageSource.supportsHighlights

setPrinterPageWidth(self, printerPageWidth)

source code 

Yazıcının sayfa genişliği ayarlarını yapar. Bu kısım yazıcıdan yatay çıktı alırken önemlidir.

numberOfPages(self)

source code 

Raporda kaç sayfa olduğunu söyler.

Overrides: pagesource.PageSource.numberOfPages

pageWidth(self, applyZoom=True)

source code 

Rapor tasarımındaki sayfa genişliği pixel cinsinden bulur.

Overrides: pagesource.PageSource.pageWidth

pageHeight(self, applyZoom=True)

source code 

Rapor tasarımındaki sayfa yüksekliğini pixel cinsinden bulur.

Overrides: pagesource.PageSource.pageHeight

clearPages(self)

source code 

Sayfa kaynağındaki sayfaları siler.

Overrides: pagesource.PageSource.clearPages

getPage(self, pageNumber)

source code 

İstenilen sayfayı oluşturup döndürür.

Overrides: pagesource.PageSource.getPage

preferredPrinterType(self)

source code 

Rapor sonucunun hangi tür yazıcı kullanmak istediğini söyler.

Örneğin lazer ve nokta vuruşlu.

Overrides: pagesource.PageSource.preferredPrinterType

preferredPageOrientation(self)

source code 

Rapor sonucunun hangi tür sayfa yönü kullanmak istediğini söyler.

Overrides: pagesource.PageSource.preferredPageOrientation

printEndOfPage(self)

source code 

Nokta vuruşlu çıktılarda sayfa basılıp basılmayacağını söyler.

Bu standart olmayan kağıtlar için kullanılır.

Overrides: pagesource.PageSource.printEndOfPage

supportsDotMatrixPrinter(self)

source code 

Bu raporun nokta vuruşlu yazıcı desteği olup olmadığını söyler.

Yazdırma penceresindeki ayarları etkiler.

Overrides: pagesource.PageSource.supportsDotMatrixPrinter

supportsLaserPrinter(self)

source code 

Bu raporun lazer yazıcı desteği olup olmadığını söyler.

Yazdırma penceresindeki ayarları etkiler.

Overrides: pagesource.PageSource.supportsLaserPrinter

paperType(self)

source code 
Overrides: pagesource.PageSource.paperType

copyNumber(self)

source code 

Raporun kaç kopya olduğunu verir.

Overrides: pagesource.PageSource.copyNumber

screenCaption(self)

source code 

Raporun görüntülenmesi sırasında ekranın olası başlığı

Overrides: pagesource.PageSource.screenCaption

supportsRefreshResult(self)

source code 

Raporun yenileme özelliği var mı diye bakar.

Overrides: pagesource.PageSource.supportsRefreshResult

supportsChangeDesign(self)

source code 

Raporun tasarım değiştirme özelliği var mı diye sorar. Tablo raporu ise tasarım opsiyonunu kaldırır. Normal rapor ise ekler.

Overrides: pagesource.PageSource.supportsChangeDesign

isColoredPrinting(self)

source code 
Overrides: pagesource.PageSource.isColoredPrinting

designChanged(self, id, prm)

source code 

Tasarım değişmiş ise tasarımın değiştiğini haber verir.

Parameters:
  • prm (dict) - Kapanan tasarım ekranının kapanırken attığı parametreler.