Changed column order

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-12-23 17:07:07 +00:00
parent d958910089
commit 4ae50dd1f8
2 changed files with 13 additions and 31 deletions

View File

@ -78,9 +78,9 @@
#define COLUMN_COUNT 5 #define COLUMN_COUNT 5
#define COLUMN_NAME 0 #define COLUMN_NAME 0
#define COLUMN_STATE 1 #define COLUMN_AVATAR 1
#define COLUMN_LAST_CONTACT 2 #define COLUMN_STATE 2
#define COLUMN_AVATAR 3 #define COLUMN_LAST_CONTACT 3
#define COLUMN_IP 4 #define COLUMN_IP 4
#define COLUMN_DATA 0 // column for storing the userdata id #define COLUMN_DATA 0 // column for storing the userdata id
@ -296,7 +296,7 @@ void FriendList::initializeHeader(bool /*afterLoadSettings*/)
header->resizeSection(COLUMN_NAME, 150); header->resizeSection(COLUMN_NAME, 150);
header->resizeSection(COLUMN_LAST_CONTACT, 120); header->resizeSection(COLUMN_LAST_CONTACT, 120);
}*/ }*/
header->resizeSection(COLUMN_NAME, 220); header->resizeSection(COLUMN_NAME, 200);
header->resizeSection(COLUMN_AVATAR, COLUMN_AVATAR_WIDTH); header->resizeSection(COLUMN_AVATAR, COLUMN_AVATAR_WIDTH);
} }

View File

@ -6,24 +6,15 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>337</width> <width>475</width>
<height>229</height> <height>292</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<property name="leftMargin"> <property name="margin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
@ -38,16 +29,7 @@
<property name="spacing"> <property name="spacing">
<number>3</number> <number>3</number>
</property> </property>
<property name="leftMargin"> <property name="margin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number> <number>2</number>
</property> </property>
<item> <item>
@ -131,6 +113,11 @@
<string>Friends</string> <string>Friends</string>
</property> </property>
</column> </column>
<column>
<property name="text">
<string>Avatar</string>
</property>
</column>
<column> <column>
<property name="text"> <property name="text">
<string>Status</string> <string>Status</string>
@ -141,11 +128,6 @@
<string>Last Contact</string> <string>Last Contact</string>
</property> </property>
</column> </column>
<column>
<property name="text">
<string>Avatar</string>
</property>
</column>
<column> <column>
<property name="text"> <property name="text">
<string>IP</string> <string>IP</string>