feat: add image support for FTB packs
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
		@@ -73,6 +73,8 @@ FtbPage::FtbPage(NewInstanceDialog* dialog, QWidget *parent)
 | 
			
		||||
    connect(ui->sortByBox, &QComboBox::currentTextChanged, this, &FtbPage::onSortingSelectionChanged);
 | 
			
		||||
    connect(ui->packView->selectionModel(), &QItemSelectionModel::currentChanged, this, &FtbPage::onSelectionChanged);
 | 
			
		||||
    connect(ui->versionSelectionBox, &QComboBox::currentTextChanged, this, &FtbPage::onVersionSelectionChanged);
 | 
			
		||||
 | 
			
		||||
    ui->packDescription->setMetaEntry("FTBPacks");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
FtbPage::~FtbPage()
 | 
			
		||||
 
 | 
			
		||||
@@ -57,7 +57,7 @@
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="0" column="1">
 | 
			
		||||
      <widget class="QTextBrowser" name="packDescription">
 | 
			
		||||
      <widget class="ProjectDescriptionPage" name="packDescription">
 | 
			
		||||
       <property name="openExternalLinks">
 | 
			
		||||
        <bool>true</bool>
 | 
			
		||||
       </property>
 | 
			
		||||
@@ -70,6 +70,13 @@
 | 
			
		||||
   </item>
 | 
			
		||||
  </layout>
 | 
			
		||||
 </widget>
 | 
			
		||||
 <customwidgets>
 | 
			
		||||
  <customwidget>
 | 
			
		||||
   <class>ProjectDescriptionPage</class>
 | 
			
		||||
   <extends>QTextBrowser</extends>
 | 
			
		||||
   <header>ui/widgets/ProjectDescriptionPage.h</header>
 | 
			
		||||
  </customwidget>
 | 
			
		||||
 </customwidgets>
 | 
			
		||||
 <tabstops>
 | 
			
		||||
  <tabstop>searchEdit</tabstop>
 | 
			
		||||
  <tabstop>versionSelectionBox</tabstop>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user