mirror of
				https://github.com/RetroShare/RetroShare.git
				synced 2025-10-31 06:42:04 -04:00 
			
		
		
		
	moved Forum Title Column as First column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3040 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
		
							parent
							
								
									f36f92eb24
								
							
						
					
					
						commit
						4f4bad4d5a
					
				
					 2 changed files with 7 additions and 5 deletions
				
			
		|  | @ -60,8 +60,8 @@ | |||
| #define VIEW_FLAT	2 | ||||
| 
 | ||||
| #define COLUMN_COUNT    7 | ||||
| #define COLUMN_DATE     0 | ||||
| #define COLUMN_TITLE    1 | ||||
| #define COLUMN_TITLE    0 | ||||
| #define COLUMN_DATE     1 | ||||
| #define COLUMN_AUTHOR   2 | ||||
| #define COLUMN_SIGNED   3 | ||||
| #define COLUMN_PARENTID 4 | ||||
|  | @ -147,6 +147,8 @@ ForumsDialog::ForumsDialog(QWidget *parent) | |||
|     ttheader->resizeSection ( COLUMN_DATE,  170 ); | ||||
|     ttheader->resizeSection ( COLUMN_TITLE, 170 ); | ||||
|     ttheader->hideSection (COLUMN_CONTENT); | ||||
|      | ||||
|     ui.threadTreeWidget->sortItems( COLUMN_DATE, Qt::DescendingOrder ); | ||||
| 
 | ||||
| 
 | ||||
|     m_ForumNameFont = QFont("Times", 12, QFont::Bold); | ||||
|  | @ -842,7 +844,7 @@ void ForumsDialog::insertThreads() | |||
|                     if (flatView) | ||||
|                     { | ||||
|                         child = new QTreeWidgetItem(); | ||||
|                         ui.threadTreeWidget->setRootIsDecorated( false ); | ||||
|                         ui.threadTreeWidget->setRootIsDecorated( true ); | ||||
|                     } | ||||
|                     else | ||||
|                     { | ||||
|  |  | |||
|  | @ -875,12 +875,12 @@ background: white;}</string> | |||
|           </property> | ||||
|           <column> | ||||
|            <property name="text"> | ||||
|             <string>Date</string> | ||||
|             <string>Title</string> | ||||
|            </property> | ||||
|           </column> | ||||
|           <column> | ||||
|            <property name="text"> | ||||
|             <string>Title</string> | ||||
|             <string>Date</string> | ||||
|            </property> | ||||
|           </column> | ||||
|           <column> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 defnax
						defnax