mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 01:14:35 +02:00
Fixed issue-969 plus a Qt warning
This commit is contained in:
@@ -455,6 +455,7 @@ Class<PCellDeclarationImpl> decl_PCellDeclaration (decl_PCellDeclaration_Native,
|
||||
gsi::method ("parameters_from_shape", &PCellDeclarationImpl::parameters_from_shape_fb, "@hide") +
|
||||
gsi::method ("transformation_from_shape", &PCellDeclarationImpl::transformation_from_shape_fb, "@hide") +
|
||||
gsi::method ("display_text", &PCellDeclarationImpl::get_display_name_fb, "@hide") +
|
||||
gsi::method ("wants_lazy_evaluation", &PCellDeclarationImpl::wants_lazy_evaluation_fb, "@hide") +
|
||||
gsi::callback ("get_layers", &PCellDeclarationImpl::get_layer_declarations_impl, &PCellDeclarationImpl::cb_get_layer_declarations, gsi::arg ("parameters"),
|
||||
"@brief Returns a list of layer declarations\n"
|
||||
"Reimplement this method to return a list of layers this PCell wants to create.\n"
|
||||
|
||||
@@ -201,7 +201,7 @@ PCellParametersPage::init ()
|
||||
mp_error_frame->setFrameShape (QFrame::NoFrame);
|
||||
frame_layout->addWidget (mp_error_frame, 1, 0, 1, 1);
|
||||
|
||||
QGridLayout *error_frame_layout = new QGridLayout (mp_update_frame);
|
||||
QGridLayout *error_frame_layout = new QGridLayout (mp_error_frame);
|
||||
mp_error_frame->setLayout (error_frame_layout);
|
||||
if (m_dense) {
|
||||
error_frame_layout->setMargin (4);
|
||||
|
||||
Reference in New Issue
Block a user