Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
d84e7c94
Commit
d84e7c94
authored
Feb 17, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1252 from DonLakeFlyer/SetupViewResize
Resize setup view to fill space available
parents
59aca962
59b32fd7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
39 deletions
+3
-39
SetupView.cc
src/VehicleSetup/SetupView.cc
+1
-1
SetupView.ui
src/VehicleSetup/SetupView.ui
+0
-36
PX4RCCalibration.ui
src/ui/px4_configuration/PX4RCCalibration.ui
+1
-1
QGCPX4AirframeConfig.ui
src/ui/px4_configuration/QGCPX4AirframeConfig.ui
+1
-1
No files found.
src/VehicleSetup/SetupView.cc
View file @
d84e7c94
...
...
@@ -110,7 +110,7 @@ void SetupView::_changeSetupWidget(QWidget* newWidget)
delete
_currentSetupWidget
;
}
_currentSetupWidget
=
newWidget
;
_ui
->
setupWidget
Layout
->
addWidget
(
newWidget
);
_ui
->
horizontal
Layout
->
addWidget
(
newWidget
);
}
void
SetupView
::
firmwareButtonClicked
(
void
)
...
...
src/VehicleSetup/SetupView.ui
View file @
d84e7c94
...
...
@@ -39,42 +39,6 @@
</property>
</widget>
</item>
<item>
<widget
class=
"QWidget"
name=
"setupWidget"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
400
</width>
<height>
300
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
<string>
Form
</string>
</property>
<property
name=
"autoFillBackground"
>
<bool>
true
</bool>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_2"
>
<item>
<layout
class=
"QVBoxLayout"
name=
"setupWidgetLayout"
/>
</item>
<item>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
20
</width>
<height>
40
</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
...
...
src/ui/px4_configuration/PX4RCCalibration.ui
View file @
d84e7c94
...
...
@@ -11,7 +11,7 @@
</rect>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
Fixed"
vsizetype=
"Fixed
"
>
<sizepolicy
hsizetype=
"
MinimumExpanding"
vsizetype=
"MinimumExpanding
"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
src/ui/px4_configuration/QGCPX4AirframeConfig.ui
View file @
d84e7c94
...
...
@@ -11,7 +11,7 @@
</rect>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
Fixed"
vsizetype=
"Fixed
"
>
<sizepolicy
hsizetype=
"
MinimumExpanding"
vsizetype=
"MinimumExpanding
"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment