Skip to content

Commit

Permalink
Dialog layout tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 29, 2020
1 parent f4b260e commit 9a0fded
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 110 deletions.
3 changes: 3 additions & 0 deletions src/gui/raster/qgsrasterlayerproperties.cpp
Expand Up @@ -120,6 +120,9 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanv
connect( mProjectTemporalRange, &QRadioButton::toggled, this, &QgsRasterLayerProperties::passProjectTemporalRange_toggled );
connect( mStaticTemporalRange, &QRadioButton::toggled, this, &QgsRasterLayerProperties::staticTemporalRange_toggled );

connect( mStaticTemporalRange, &QRadioButton::toggled, mStaticWmstFrame, &QWidget::setEnabled );
connect( mReferenceTime, &QCheckBox::toggled, mWmstReferenceTimeFrame, &QWidget::setEnabled );

mBtnStyle = new QPushButton( tr( "Style" ) );
QMenu *menuStyle = new QMenu( this );
menuStyle->addAction( tr( "Load Style…" ), this, &QgsRasterLayerProperties::loadStyle_clicked );
Expand Down

0 comments on commit 9a0fded

Please sign in to comment.