开发者ID:boundlessgeo,项目名称:qgis-geogiglight-plugin,代码行数:13,代码来源:testplugin.py 示例5: _exportAndCreateConflictWithNulls ▲点赞 1▼ def_exportAndCreateConflictWithNulls():layer = checkoutLayer(tests._lastRepo,"points",None) idx = layer.dataProvider().fieldNameIndex("n") features =...
# 需要导入模块: from qgis.gui import QgsFieldComboBox [as 别名]# 或者: from qgis.gui.QgsFieldComboBox importsetEditText[as 别名]classDialog(QtGui.QDialog):def__init__(self, curPointLayerName, curPolygonLayerName, curFiledName, parent=None):QtGui.QDialog.__init__(self, parent) self.r...
() self.main_form.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow) layout.addLayout(self.main_form) self._setup_gui_name() self._setup_gui_labels() def _setup_gui_name(self): self.name_edit = QLineEdit() self.main_form.addRow("Name", self.name_ed...
<EditText android:id="@+id/etPassword" android:layout_width="match_parent" android:layout_height="@dimen/user_input_field_height" android:layout_marginTop="40dp" android:hint="@string/password_hint" android:theme="@style/MyEditTextTheme" android:singleLine="true" /> Share Follow edited ...
项目名称:QGIS,代码行数:33, QWidget* QgsAttributeTableDelegate::createEditor( QWidget *parent,constQStyleOptionViewItem &option,constQModelIndex &index )const{ Q_UNUSED( option ); QgsVectorLayer *vl = layer( index.model() );if( !vl )returnnullptr;intfieldIdx = index.model()->data( index...
开发者ID:GemikGmbH,项目名称:wireshark,代码行数:39,代码来源:module_preferences_scroll_area.cpp 示例15: re ▲点赞 1▼ QWidget *CustomWizardFieldPage::registerLineEdit(constQString &fieldName,constCustomWizardField &field) { QLineEdit *lineEdit =newQLineEdit;...
{if( !widget )returnfalse;constQgsField &theField = vl->pendingFields()[idx]; QgsVectorLayer::EditType editType = vl->editType( idx );boolmodified =false; QString text; QSettings settings; QString nullValue = settings.value("qgis/nullValue","NULL").toString(); ...
# 需要导入模块: from qgis.PyQt.QtWidgets import QPlainTextEdit [as 别名]# 或者: from qgis.PyQt.QtWidgets.QPlainTextEdit importsetPlainText[as 别名]classErrorReportDialog(QDialog):def__init__(self, title, message, errors, username, parent=None):QDialog.__init__(self, parent) ...
开发者ID:GemikGmbH,项目名称:wireshark,代码行数:39,代码来源:module_preferences_scroll_area.cpp 示例15: re ▲点赞 1▼ QWidget *CustomWizardFieldPage::registerLineEdit(constQString &fieldName,constCustomWizardField &field) { QLineEdit *lineEdit =newQLineEdit;...