示例#1
0
 def testSettings(self):
     # test that widget correctly sets and returns matching settings
     s = self.createFormatSettings()
     w = QgsTextFormatWidget(s)
     self.checkTextFormat(w.format())
示例#2
0
 def testSettings(self):
     # test that widget correctly sets and returns matching settings
     s = self.createFormatSettings()
     w = QgsTextFormatWidget(s)
     self.checkTextFormat(w.format())