Skip to content

Commit

Permalink
Fix/add tabstops to widgets for a better keyboard use
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Aug 18, 2020
1 parent 97fd45a commit 71bb7d0
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 22 deletions.
1 change: 1 addition & 0 deletions src/ui/3d/animationexport3ddialog.ui
Expand Up @@ -157,6 +157,7 @@
</customwidgets>
<tabstops>
<tabstop>mTemplateLineEdit</tabstop>
<tabstop>mFpsSpinBox</tabstop>
<tabstop>mWidthSpinBox</tabstop>
<tabstop>mHeightSpinBox</tabstop>
</tabstops>
Expand Down
19 changes: 14 additions & 5 deletions src/ui/3d/goochmaterialwidget.ui
Expand Up @@ -163,18 +163,27 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsColorButton</class>
<extends>QToolButton</extends>
<header>qgscolorbutton.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>btnDiffuse</tabstop>
<tabstop>btnWarm</tabstop>
<tabstop>btnCool</tabstop>
<tabstop>btnSpecular</tabstop>
<tabstop>spinShininess</tabstop>
<tabstop>spinAlpha</tabstop>
<tabstop>spinBeta</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>
24 changes: 13 additions & 11 deletions src/ui/3d/map3dconfigwidget.ui
Expand Up @@ -378,17 +378,6 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsPhongMaterialWidget</class>
<extends>QWidget</extends>
<header>qgsphongmaterialwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsCollapsibleGroupBox</class>
<extends>QGroupBox</extends>
Expand All @@ -401,6 +390,17 @@
<header>qgsscrollarea.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsPhongMaterialWidget</class>
<extends>QWidget</extends>
<header>qgsphongmaterialwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsMapLayerComboBox</class>
<extends>QComboBox</extends>
Expand All @@ -427,13 +427,15 @@
<tabstop>spinTerrainResolution</tabstop>
<tabstop>spinTerrainSkirtHeight</tabstop>
<tabstop>groupTerrainShading</tabstop>
<tabstop>groupSkyboxSettings</tabstop>
<tabstop>spinMapResolution</tabstop>
<tabstop>spinScreenError</tabstop>
<tabstop>spinGroundError</tabstop>
<tabstop>chkShowLabels</tabstop>
<tabstop>chkShowTileInfo</tabstop>
<tabstop>chkShowBoundingBoxes</tabstop>
<tabstop>chkShowCameraViewCenter</tabstop>
<tabstop>chkShowLightSourceOrigins</tabstop>
</tabstops>
<resources/>
<connections/>
Expand Down
6 changes: 6 additions & 0 deletions src/ui/3d/phongmaterialwidget.ui
Expand Up @@ -112,6 +112,12 @@
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>btnDiffuse</tabstop>
<tabstop>btnAmbient</tabstop>
<tabstop>btnSpecular</tabstop>
<tabstop>spinShininess</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>
19 changes: 13 additions & 6 deletions src/ui/3d/phongtexturedmaterialwidgetbase.ui
Expand Up @@ -137,9 +137,9 @@
</widget>
<customwidgets>
<customwidget>
<class>QgsColorButton</class>
<extends>QToolButton</extends>
<header>qgscolorbutton.h</header>
<class>QgsImageSourceLineEdit</class>
<extends>QWidget</extends>
<header>qgsfilecontentsourcelineedit.h</header>
<container>1</container>
</customwidget>
<customwidget>
Expand All @@ -148,12 +148,19 @@
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsImageSourceLineEdit</class>
<extends>QWidget</extends>
<header>qgsfilecontentsourcelineedit.h</header>
<class>QgsColorButton</class>
<extends>QToolButton</extends>
<header>qgscolorbutton.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>btnAmbient</tabstop>
<tabstop>btnSpecular</tabstop>
<tabstop>spinShininess</tabstop>
<tabstop>textureScaleSpinBox</tabstop>
<tabstop>textureRotationSpinBox</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>
13 changes: 13 additions & 0 deletions src/ui/3d/qgslightswidget.ui
Expand Up @@ -370,13 +370,26 @@
</customwidget>
</customwidgets>
<tabstops>
<tabstop>tabWidget</tabstop>
<tabstop>cboLights</tabstop>
<tabstop>btnAddLight</tabstop>
<tabstop>btnRemoveLight</tabstop>
<tabstop>spinPositionX</tabstop>
<tabstop>spinPositionY</tabstop>
<tabstop>spinPositionZ</tabstop>
<tabstop>btnColor</tabstop>
<tabstop>spinIntensity</tabstop>
<tabstop>spinA0</tabstop>
<tabstop>spinA1</tabstop>
<tabstop>spinA2</tabstop>
<tabstop>cboDirectionalLights</tabstop>
<tabstop>btnAddDirectionalLight</tabstop>
<tabstop>btnRemoveDirectionalLight</tabstop>
<tabstop>spinDirectionX</tabstop>
<tabstop>spinDirectionY</tabstop>
<tabstop>spinDirectionZ</tabstop>
<tabstop>btnDirectionalColor</tabstop>
<tabstop>spinDirectionalIntensity</tabstop>
</tabstops>
<resources/>
<connections/>
Expand Down

0 comments on commit 71bb7d0

Please sign in to comment.