Skip to content

Commit 0fb0ca8

Browse files
committedJun 2, 2015
Fix #12756 - Reduce plugin repositry box size
1 parent e295c1f commit 0fb0ca8

File tree

1 file changed

+127
-171
lines changed

1 file changed

+127
-171
lines changed
 

‎src/ui/qgspluginmanagerbase.ui

Lines changed: 127 additions & 171 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>936</width>
10-
<height>565</height>
9+
<width>796</width>
10+
<height>594</height>
1111
</rect>
1212
</property>
1313
<property name="minimumSize">
@@ -370,8 +370,8 @@
370370
<number>0</number>
371371
</property>
372372
<item>
373-
<widget class="QgsWebView" name="wvDetails">
374-
<property name="url">
373+
<widget class="QgsWebView" name="wvDetails" native="true">
374+
<property name="url" stdset="0">
375375
<url>
376376
<string>about:blank</string>
377377
</url>
@@ -519,8 +519,8 @@
519519
<rect>
520520
<x>0</x>
521521
<y>0</y>
522-
<width>355</width>
523-
<height>695</height>
522+
<width>552</width>
523+
<height>611</height>
524524
</rect>
525525
</property>
526526
<layout class="QVBoxLayout" name="verticalLayout_10">
@@ -617,22 +617,6 @@ p, li { white-space: pre-wrap; }
617617
</layout>
618618
</widget>
619619
</item>
620-
<item>
621-
<spacer name="verticalSpacer">
622-
<property name="orientation">
623-
<enum>Qt::Vertical</enum>
624-
</property>
625-
<property name="sizeType">
626-
<enum>QSizePolicy::Fixed</enum>
627-
</property>
628-
<property name="sizeHint" stdset="0">
629-
<size>
630-
<width>20</width>
631-
<height>10</height>
632-
</size>
633-
</property>
634-
</spacer>
635-
</item>
636620
<item>
637621
<widget class="QgsCollapsibleGroupBox" name="ckbExperimental">
638622
<property name="title">
@@ -689,22 +673,6 @@ p, li { white-space: pre-wrap; }
689673
</layout>
690674
</widget>
691675
</item>
692-
<item>
693-
<spacer name="verticalSpacer_2">
694-
<property name="orientation">
695-
<enum>Qt::Vertical</enum>
696-
</property>
697-
<property name="sizeType">
698-
<enum>QSizePolicy::Fixed</enum>
699-
</property>
700-
<property name="sizeHint" stdset="0">
701-
<size>
702-
<width>20</width>
703-
<height>10</height>
704-
</size>
705-
</property>
706-
</spacer>
707-
</item>
708676
<item>
709677
<widget class="QgsCollapsibleGroupBox" name="ckbDeprecated">
710678
<property name="title">
@@ -762,158 +730,146 @@ p, li { white-space: pre-wrap; }
762730
</widget>
763731
</item>
764732
<item>
765-
<spacer name="verticalSpacer_3">
766-
<property name="orientation">
767-
<enum>Qt::Vertical</enum>
768-
</property>
769-
<property name="sizeType">
770-
<enum>QSizePolicy::Fixed</enum>
771-
</property>
772-
<property name="sizeHint" stdset="0">
773-
<size>
774-
<width>20</width>
775-
<height>10</height>
776-
</size>
777-
</property>
778-
</spacer>
779-
</item>
780-
<item>
781-
<widget class="QLabel" name="lblRepositories">
782-
<property name="text">
733+
<widget class="QGroupBox" name="groupBox">
734+
<property name="title">
783735
<string>Plugin repositories</string>
784736
</property>
785-
<property name="buddy">
786-
<cstring>treeRepositories</cstring>
787-
</property>
788-
</widget>
789-
</item>
790-
<item>
791-
<widget class="QTreeWidget" name="treeRepositories">
792-
<property name="sizePolicy">
793-
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
794-
<horstretch>0</horstretch>
795-
<verstretch>0</verstretch>
796-
</sizepolicy>
797-
</property>
798-
<property name="minimumSize">
799-
<size>
800-
<width>0</width>
801-
<height>30</height>
802-
</size>
803-
</property>
804-
<property name="rootIsDecorated">
805-
<bool>false</bool>
806-
</property>
807-
<property name="itemsExpandable">
808-
<bool>false</bool>
809-
</property>
810-
<column>
811-
<property name="text">
812-
<string>Status</string>
813-
</property>
814-
</column>
815-
<column>
816-
<property name="text">
817-
<string>Name</string>
818-
</property>
819-
</column>
820-
<column>
821-
<property name="text">
822-
<string>URL</string>
823-
</property>
824-
</column>
825-
</widget>
826-
</item>
827-
<item>
828-
<widget class="QFrame" name="frameRepBut">
829-
<property name="sizePolicy">
830-
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
831-
<horstretch>0</horstretch>
832-
<verstretch>0</verstretch>
833-
</sizepolicy>
834-
</property>
835-
<property name="frameShape">
836-
<enum>QFrame::NoFrame</enum>
837-
</property>
838-
<property name="frameShadow">
839-
<enum>QFrame::Raised</enum>
737+
<property name="flat">
738+
<bool>true</bool>
840739
</property>
841-
<layout class="QHBoxLayout" name="horizontalLayout_3">
842-
<property name="margin">
843-
<number>0</number>
844-
</property>
740+
<layout class="QVBoxLayout" name="verticalLayout_13">
845741
<item>
846-
<widget class="QPushButton" name="buttonRefreshRepos">
847-
<property name="toolTip">
848-
<string>Reload repository contents
849-
(useful when you uploaded a plugin there)</string>
850-
</property>
851-
<property name="text">
852-
<string>Reload repository</string>
853-
</property>
854-
</widget>
855-
</item>
856-
<item>
857-
<spacer name="spacer_3">
858-
<property name="orientation">
859-
<enum>Qt::Horizontal</enum>
860-
</property>
861-
<property name="sizeHint" stdset="0">
862-
<size>
863-
<width>316</width>
864-
<height>10</height>
865-
</size>
866-
</property>
867-
</spacer>
868-
</item>
869-
<item>
870-
<widget class="QPushButton" name="buttonAddRep">
871-
<property name="toolTip">
872-
<string>Configure an additional plugin repository</string>
873-
</property>
874-
<property name="whatsThis">
875-
<string>Add a new plugin repository</string>
876-
</property>
877-
<property name="text">
878-
<string>Add...</string>
879-
</property>
880-
</widget>
881-
</item>
882-
<item>
883-
<widget class="QPushButton" name="buttonEditRep">
742+
<widget class="QTreeWidget" name="treeRepositories">
884743
<property name="sizePolicy">
885-
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
744+
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
886745
<horstretch>0</horstretch>
887746
<verstretch>0</verstretch>
888747
</sizepolicy>
889748
</property>
890-
<property name="toolTip">
891-
<string>Edit the selected repository</string>
749+
<property name="minimumSize">
750+
<size>
751+
<width>0</width>
752+
<height>30</height>
753+
</size>
754+
</property>
755+
<property name="maximumSize">
756+
<size>
757+
<width>16777215</width>
758+
<height>100</height>
759+
</size>
892760
</property>
893-
<property name="whatsThis">
894-
<string>Edit the selected repository</string>
761+
<property name="rootIsDecorated">
762+
<bool>false</bool>
895763
</property>
896-
<property name="text">
897-
<string>Edit...</string>
764+
<property name="itemsExpandable">
765+
<bool>false</bool>
898766
</property>
767+
<column>
768+
<property name="text">
769+
<string>Status</string>
770+
</property>
771+
</column>
772+
<column>
773+
<property name="text">
774+
<string>Name</string>
775+
</property>
776+
</column>
777+
<column>
778+
<property name="text">
779+
<string>URL</string>
780+
</property>
781+
</column>
899782
</widget>
900783
</item>
901784
<item>
902-
<widget class="QPushButton" name="buttonDeleteRep">
903-
<property name="toolTip">
904-
<string>Remove the selected repository</string>
905-
</property>
906-
<property name="whatsThis">
907-
<string>Remove the selected repository</string>
908-
</property>
909-
<property name="text">
910-
<string>Delete</string>
911-
</property>
912-
</widget>
785+
<layout class="QHBoxLayout" name="horizontalLayout">
786+
<item>
787+
<widget class="QPushButton" name="buttonRefreshRepos">
788+
<property name="toolTip">
789+
<string>Reload repository contents
790+
(useful when you uploaded a plugin there)</string>
791+
</property>
792+
<property name="text">
793+
<string>Reload repository</string>
794+
</property>
795+
</widget>
796+
</item>
797+
<item>
798+
<spacer name="spacer_3">
799+
<property name="orientation">
800+
<enum>Qt::Horizontal</enum>
801+
</property>
802+
<property name="sizeHint" stdset="0">
803+
<size>
804+
<width>316</width>
805+
<height>10</height>
806+
</size>
807+
</property>
808+
</spacer>
809+
</item>
810+
<item>
811+
<widget class="QPushButton" name="buttonAddRep">
812+
<property name="toolTip">
813+
<string>Configure an additional plugin repository</string>
814+
</property>
815+
<property name="whatsThis">
816+
<string>Add a new plugin repository</string>
817+
</property>
818+
<property name="text">
819+
<string>Add...</string>
820+
</property>
821+
</widget>
822+
</item>
823+
<item>
824+
<widget class="QPushButton" name="buttonEditRep">
825+
<property name="sizePolicy">
826+
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
827+
<horstretch>0</horstretch>
828+
<verstretch>0</verstretch>
829+
</sizepolicy>
830+
</property>
831+
<property name="toolTip">
832+
<string>Edit the selected repository</string>
833+
</property>
834+
<property name="whatsThis">
835+
<string>Edit the selected repository</string>
836+
</property>
837+
<property name="text">
838+
<string>Edit...</string>
839+
</property>
840+
</widget>
841+
</item>
842+
<item>
843+
<widget class="QPushButton" name="buttonDeleteRep">
844+
<property name="toolTip">
845+
<string>Remove the selected repository</string>
846+
</property>
847+
<property name="whatsThis">
848+
<string>Remove the selected repository</string>
849+
</property>
850+
<property name="text">
851+
<string>Delete</string>
852+
</property>
853+
</widget>
854+
</item>
855+
</layout>
913856
</item>
914857
</layout>
915858
</widget>
916859
</item>
860+
<item>
861+
<spacer name="verticalSpacer">
862+
<property name="orientation">
863+
<enum>Qt::Vertical</enum>
864+
</property>
865+
<property name="sizeHint" stdset="0">
866+
<size>
867+
<width>20</width>
868+
<height>40</height>
869+
</size>
870+
</property>
871+
</spacer>
872+
</item>
917873
</layout>
918874
</widget>
919875
</widget>

0 commit comments

Comments
 (0)
Please sign in to comment.