Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • videolan/vlc
  • chouquette/vlc
  • bakiewicz.marek122/vlc
  • devnexen/vlc
  • rohanrajpal/vlc
  • blurrrb/vlc
  • gsoc/gsoc2019/darkapex/vlc
  • b1ue/vlc
  • fkuehne/vlc
  • magsoft/vlc
  • chub/vlc
  • cramiro9/vlc
  • robUx4/vlc
  • rom1v/vlc
  • akshayaky/vlc
  • tmk907/vlc
  • akymaster/vlc
  • govind.sharma/vlc
  • psilokos/vlc
  • xjbeta/vlc
  • jahan/vlc
  • 1480c1/vlc
  • amanchande/vlc
  • aaqib/vlc
  • rist/vlc
  • apol/vlc
  • mindfreeze/vlc
  • alexandre-janniaux/vlc
  • sandsmark/vlc
  • jagannatharjun/vlc
  • gsoc/gsoc2020/matiaslgonzalez/vlc
  • gsoc/gsoc2020/jagannatharjun/vlc
  • mstorsjo/vlc
  • gsoc/gsoc2020/vedenta/vlc
  • gsoc/gsoc2020/arnav-ishaan/vlc
  • gsoc/gsoc2020/andreduong/vlc
  • fuzun/vlc
  • gsoc/gsoc2020/vatsin/vlc
  • gsoc/gsoc2020/sagid/vlc
  • yaron/vlc
  • Phoenix/vlc
  • Garf/vlc
  • ePiratWorkarounds/vlc
  • tguillem/vlc
  • jnqnfe/vlc
  • mdc/vlc
  • Vedaa/vlc
  • rasa/vlc
  • quink/vlc
  • yealo/vlc
  • aleksey_ak/vlc
  • ePirat/vlc
  • ilya.yanok/vlc
  • asenat/vlc
  • m/vlc
  • bunjee/vlc
  • BLumia/vlc
  • sagudev/vlc
  • hamedmonji30/vlc
  • nullgemm/vlc
  • DivyamAhuja/vlc
  • thesamesam/vlc
  • dag7/vlc
  • snehil101/vlc
  • haasn/vlc
  • jbk/vlc
  • ValZapod/vlc
  • mfkl/vlc
  • WangChuan/vlc
  • core1024/vlc
  • GhostVaibhav/vlc
  • dfuhrmann/vlc
  • davide.prade/vlc
  • tmatth/vlc
  • Courmisch/vlc
  • zouya/vlc
  • hpi/vlc
  • EwoutH/vlc
  • aleung27/vlc
  • hengwu0/vlc
  • saladin/vlc
  • ashuio/vlc
  • richselwood/vlc
  • verma16Ayush/vlc
  • chemicalflash/vlc
  • PoignardAzur/vlc
  • huangjieNT/vlc
  • Blake-Haydon/vlc
  • AnuthaDev/vlc
  • gsoc/gsoc2021/mpd/vlc
  • nicolas_lequec/vlc
  • sambassaly/vlc
  • thresh/vlc
  • bonniegong/vlc
  • myaashish/vlc
  • stavros.vagionitis/vlc
  • ileoo/vlc
  • louis-santucci/vlc
  • cchristiansen/vlc
  • sabyasachi07/vlc
  • AbduAmeen/vlc
  • ashishb0410/vlc
  • urbanhusky/vlc
  • davidepietrasanta/vlc
  • riksleutelstad/vlc
  • jeremyVignelles/vlc
  • komh/vlc
  • iamjithinjohn/vlc
  • JohannesKauffmann/vlc2
  • kunglao/vlc
  • natzberg/vlc
  • jill/vlc
  • cwendling/vlc
  • adufou/vlc
  • ErwanAirone/vlc
  • HasinduDilshan10/vlc
  • vagrantc/vlc
  • rafiv/macos-bigsur-icon
  • Aymeriic/vlc
  • saranshg20/vlc
  • metzlove24/vlc
  • linkfanel/vlc
  • Ds886/vlc
  • metehan-arslan/vlc
  • Skantes/vlc
  • kgsandundananjaya96/vlc
  • mitchcapper/vlc
  • advaitgupta/vlc
  • StefanBruens/vlc
  • ratajs/vlc
  • T.M.F.B.3761/vlc
  • m222059/vlc
  • casemerrick/vlc
  • joshuaword2alt/vlc
  • sjwaddy/vlc
  • dima/vlc
  • Ybalrid/vlc
  • umxprime/vlc
  • eschmidt/vlc
  • vannieuwenhuysenmichelle/vlc
  • badcf00d/vlc
  • wesinator/vlc
  • louis/vlc
  • xqq/vlc
  • EmperorYP7/vlc
  • NicoLiam/vlc
  • loveleen/vlc
  • rofferom/vlc
  • rbultje/vlc
  • TheUnamed/vlc
  • pratiksharma341/vlc
  • Saurab17/vlc
  • purist.coder/vlc
  • Shuicheng/vlc
  • mdrrubel292/vlc
  • silverbleu00/vlc
  • metif12/vlc
  • asher-m/vlc
  • jeffk/vlc
  • Brandonbr1/vlc
  • beautyyuyanli/vlc
  • rego21/vlc
  • muyangren907/vlc
  • collectionbylawrencejason/vlc
  • evelez/vlc
  • GSMgeeth/vlc
  • Oneric/vlc
  • TJ5/vlc
  • XuanTung95/vlc
  • darrenjenny21/vlc
  • Trenly/vlc
  • RockyTDR/vlc
  • mjakubowski/vlc
  • caprica/vlc
  • ForteFrankie/vlc
  • seannamiller19/vlc
  • junlon2006/vlc
  • kiwiren6666/vlc
  • iuseiphonexs/vlc
  • fenngtun/vlc
  • Rajdutt999/vlc
  • typx/vlc
  • leon.vitanos/vlc
  • robertogarci0938/vlc
  • gsoc/gsoc2022/luc65r/vlc-mpd
  • skeller/vlc
  • MCJack123/vlc
  • luc65r/vlc-mpd
  • popov895/vlc
  • claucambra/vlc
  • brad/vlc
  • matthewmurua88/vlc
  • Tomas8874/vlc
  • philenotfound/vlc
  • makita-do3/vlc
  • LZXCorp/vlc
  • mar0x/vlc
  • senojetkennedy0102/vlc
  • shaneb243/vlc
  • ahmadbader/vlc
  • rajduttcse26/vlc-audio-filters
  • Juniorzito8415/vlc
  • achernyakov/vlc
  • lucasjetgroup/vlc
  • pupdoggy666/vlc
  • gmde9363/vlc
  • alexnwayne/vlc
  • bahareebrahimi781/vlc
  • hamad633666/vlc
  • umghof3112/vlc
  • joe0199771874/vlc
  • Octocats66666666/vlc
  • jjm_223/vlc
  • btech10110.19/vlc
  • sunnykfc028/vlc-audio-filters
  • loic/vlc
  • nguyenminhducmx1/vlc
  • JanekKrueger/vlc
  • bstubbington2/vlc
  • rcombs/vlc
  • Ordissimo/vlc
  • king7532/vlc
  • noobsauce101/vlc
  • schong0525/vlc
  • myQwil/vlc
  • apisbg91/vlc
  • geeboy0101017/vlc
  • kim.faughey/vlc
  • nurupo/vlc
  • yyusea/vlc
  • 0711235879.khco/vlc
  • ialo/vlc
  • iloveyeye2/vlc
  • gdtdftdqtd/vlc
  • leandroconsiglio/vlc
  • AndyHTML2012/vlc
  • ncz/vlc
  • lucenticus/vlc
  • knr1931/vlc
  • kjoonlee/vlc
  • chandrakant100/vlc-qt
  • johge42/vlc
  • polter/vlc
  • hexchain/vlc
  • Tushwrld/vlc
  • mztea928/vlc
  • jbelloncastro/vlc
  • alvinhochun/vlc
  • ghostpiratecrow/vlc
  • ujjwaltwitx/vlc
  • alexsonarin06/vlc
  • adrianbon76/vlc
  • altsod/vlc
  • damien.lucas44/vlc
  • dmytrivtaisa/vlc
  • utk202/vlc
  • aaxhrj/vlc
  • thomas.hermes/vlc
  • structurenewworldorder/vlc
  • slomo/vlc
  • wantlamy/vlc
  • musc.o3cminc/vlc
  • thebarshablog/vlc
  • kerrick/vlc
  • kratos142518/vlc
  • leogps/vlc
  • vacantron/vlc
  • luna_koly/vlc
  • Ratio2/vlc
  • anuoshemohammad/vlc
  • apsun/vlc
  • aaa1115910/vlc
  • alimotmoyo/vlc
  • Ambossmann/vlc
  • Sam-LearnsToCode/vlc
  • Chilledheart/vlc
  • Labnann/vlc
  • ktcoooot1/vlc
  • mohit-marathe/vlc
  • johnddx/vlc
  • manstabuk/vlc
  • Omar-ahmed314/vlc
  • vineethkm/vlc
  • 9Enemi86/vlc
  • radoslav.m.panteleev/vlc
  • ashishami2002/vlc
  • Corbax/vlc
  • firnasahmed/vlc
  • pelayarmalam4/vlc
  • c0ff330k/vlc
  • shikhindahikar/vlc
  • l342723951/vlc
  • christianschwandner/vlc
  • douniwan5788/vlc
  • 7damian7/vlc
  • ferdnyc/vlc
  • f.ales1/vlc
  • pandagby/vlc
  • BaaBaa/vlc
  • jewe37/vlc
  • w00drow/vlc
  • russelltg/vlc
  • ironicallygod/vlc
  • soumyaDghosh/vlc
  • linzihao1999/vlc
  • deyayush6/vlc
  • mibi88/vlc
  • newabdallah10/vlc
  • jhorbincolombia/vlc
  • rimvihaqueshupto/vlc
  • andrewkhon98/vlc
  • fab78/vlc
  • lapaz17/vlc
  • amanna13/vlc
  • mdakram28/vlc
  • 07jw1980/vlc
  • sohamgupta/vlc
  • Eson-Jia1/vlc
  • Sumou/vlc
  • vikram-kangotra/vlc
  • chalice191/vlc
  • olivercalder/vlc
  • aaasg4001/vlc
  • zipdox/vlc
  • kwizart/vlc
  • Dragon-S/vlc
  • jdemeule/vlc
  • gabriel_lt/vlc
  • locutusofborg/vlc
  • sammirata/vlc-librist
  • another/vlc
  • Benjamin_Loison/vlc
  • ahmedmoselhi/vlc
  • petergaal/vlc
  • huynhsontung/vlc
  • dariusmihut/vlc
  • tvermaashutosh/vlc
  • buti/vlc
  • Niram7777/vlc
  • rohan-here/vlc
  • balaji-sivasakthi/vlc
  • rlindner81/vlc
  • Kakadus/vlc
  • djain/vlc
  • ABBurmeister/vlc
  • craighuggins/vlc
  • orbea/vlc
  • maxos/vlc
  • aakarshmj/vlc
  • kblaschke/vlc
  • ankitm/vlc
  • advait-0/vlc
  • mohak2003/vlc
  • yselkowitz/vlc
  • AZM999/vlc-azm
  • andrey.turkin/vlc
  • Disha-Baghel/vlc
  • nowrep/vlc
  • Apeng/vlc
  • Choucroute_melba/vlc
  • autra/vlc
  • eclipseo/vlc
  • fhuber/vlc
  • olafhering/vlc
  • sdasda7777/vlc
  • 1div0/vlc
  • skosnits/vlc-extended-playlist-support
  • dnicolson/vlc
  • Timshel/vlc
  • octopols/vlc
  • MangalK/vlc
  • nima64/vlc
  • misawai/vlc
  • Alexander-Wilms/vlc
  • Maxime2/vlc-fork-for-visualizer
  • ww/vlc
  • jeske/vlc
  • sgross-emlix/vlc
  • morenonatural/vlc
  • freakingLovesVLC/vlc
  • borisgolovnev/vlc
  • mpromonet/vlc
  • diogo.simao-marques/vlc
  • masstock/vlc
  • pratikpatel8982/vlc
  • hugok79/vlc
  • longervision/vlc
  • abhiudaysurya/vlc
  • rishabhgarg/vlc
  • tumic/vlc
  • cart/vlc
  • shubham442/vlc
  • Aditya692005/vlc
  • sammirata/vlc4
  • syrykh/vlc
  • Vvorcun/macos-new-icon
  • AyaanshC/vlc
  • nasso/vlc
  • Quark/vlc
  • sebastinas/vlc
  • rhstone/vlc
  • talregev/vlc
  • Managor/vlc
  • abdsaber000/vlc
404 results
Show changes
Commits on Source (3)
......@@ -28,6 +28,7 @@
#include "simple_preferences.hpp"
#include "preferences_widgets.hpp"
#include "dialogs/dialogs_provider.hpp"
#include "maininterface/mainctx.hpp"
#include "util/color_scheme_model.hpp"
#include "util/proxycolumnmodel.hpp"
......@@ -758,8 +759,8 @@ SPrefsPanel::SPrefsPanel( qt_intf_t *_p_intf, QWidget *_parent,
if( !module_exists( "skins2" ) )
{
ui.LooknfeelSelection->hide();
ui.mainPreview->hide();
ui.skins->hide();
ui.skinImage->hide();
}
else
{
......@@ -769,9 +770,6 @@ SPrefsPanel::SPrefsPanel( qt_intf_t *_p_intf, QWidget *_parent,
{
if( strstr( psz_intf, "skin" ) )
ui.skins->setChecked( true );
} else {
/* defaults to qt */
ui.qt->setChecked( true );
}
free( psz_intf );
}
......@@ -787,22 +785,35 @@ SPrefsPanel::SPrefsPanel( qt_intf_t *_p_intf, QWidget *_parent,
ui.stylesLabel->hide();
#endif
radioGroup = new QButtonGroup(this);
radioGroup->addButton( ui.qt, 0 );
radioGroup->addButton( ui.skins, 1 );
radioGroup->addButton( ui.modernButton, 0 );
radioGroup->addButton( ui.classicButton, 1 );
radioGroup->addButton( ui.skins, 2 );
configBool( "qt-minimal-view", ui.minimalviewBox );
/*Update layout radio buttons based on the checkState of the following checkboxes*/
connect(ui.menuBarCheck, &QCheckBox::stateChanged, this, &SPrefsPanel::updateLayoutSelection);
connect(ui.pinVideoControlsCheckbox, &QCheckBox::stateChanged, this, &SPrefsPanel::updateLayoutSelection);
#if QT_CLIENT_SIDE_DECORATION_AVAILABLE
connect(ui.titleBarCheckBox, &QCheckBox::stateChanged, this, &SPrefsPanel::updateLayoutSelection);
#endif
/*Clicking on image will check the corresponding layout radio button*/
layoutImages = new QButtonGroup( this );
layoutImages->addButton( ui.modernImage, 0 );
layoutImages->addButton( ui.classicImage, 1 );
layoutImages->addButton( ui.skinImage, 2 );
connect( layoutImages, qOverload<QAbstractButton*>( &QButtonGroup::buttonClicked ), this, &SPrefsPanel::imageLayoutClick );
/* Set checkboxes depending on the layout selected*/
#if QT_VERSION >= QT_VERSION_CHECK(5,15,0)
connect( radioGroup, &QButtonGroup::idClicked,
ui.styleStackedWidget, &QStackedWidget::setCurrentIndex );
connect(radioGroup, &QButtonGroup::idClicked, this, &SPrefsPanel::handleLayoutChange);
connect(layoutImages, &QButtonGroup::idClicked, this, &SPrefsPanel::handleLayoutChange);
#else
connect( radioGroup, QOverload<int>::of(&QButtonGroup::buttonClicked),
ui.styleStackedWidget, &QStackedWidget::setCurrentIndex );
connect(radioGroup, QOverload<int>::of(&QButtonGroup::buttonClicked), this, &SPrefsPanel::handleLayoutChange);
connect(layoutImages, QOverload<int>::of(&QButtonGroup::buttonClicked), this, &SPrefsPanel::handleLayoutChange);
#endif
ui.styleStackedWidget->setCurrentIndex( radioGroup->checkedId() );
connect( ui.minimalviewBox, &QCheckBox::toggled,
ui.mainPreview, &InterfacePreviewWidget::setNormalPreview );
configBool( "qt-minimal-view", ui.minimalviewBox );
ui.mainPreview->setNormalPreview( ui.minimalviewBox->isChecked() );
ui.skinsPreview->setPreview( InterfacePreviewWidget::SKINS );
configBool( "embedded-video", ui.embedVideo );
configBool( "qt-video-autoresize", ui.resizingBox );
......@@ -869,6 +880,10 @@ SPrefsPanel::SPrefsPanel( qt_intf_t *_p_intf, QWidget *_parent,
QObject::connect( ui.intfScaleFactorSpinBox, QOverload<int>::of(&QSpinBox::valueChanged)
, p_intf->p_mi , updateIntfUserScaleFactorFromControls );
DialogsProvider *provider = DialogsProvider::getInstance();
QObject::connect( ui.toolbarEditor, &QAbstractButton::clicked, provider, &DialogsProvider::showToolbarEditorDialog);
#if QT_CLIENT_SIDE_DECORATION_AVAILABLE
configBool( "qt-titlebar", ui.titleBarCheckBox );
#else
......@@ -1125,6 +1140,68 @@ SPrefsPanel::~SPrefsPanel()
free( lang );
}
/* Checks the layout radio button corresponding the image clicked */
void SPrefsPanel::imageLayoutClick( QAbstractButton* btn )
{
QAbstractButton* layoutBtn = radioGroup->buttons().at( layoutImages->id( btn ) );
assert( layoutBtn );
layoutBtn->setChecked( true );
}
/* Change configurations depending on the layout selected and set check states of radioGroup */
void SPrefsPanel::handleLayoutChange( int id )
{
auto ui = m_interfaceUI;
if (id == 0) {
// Modern layout selected
ui.styleStackedWidget->setCurrentIndex(0);
ui.menuBarCheck->setChecked(false);
#if QT_CLIENT_SIDE_DECORATION_AVAILABLE
ui.titleBarCheckBox->setChecked(false);
#endif
ui.pinVideoControlsCheckbox->setChecked(false);
}
else if (id == 1) {
// Classic layout selected
ui.styleStackedWidget->setCurrentIndex(0);
ui.menuBarCheck->setChecked(true);
#if QT_CLIENT_SIDE_DECORATION_AVAILABLE
ui.titleBarCheckBox->setChecked(true);
#endif
ui.pinVideoControlsCheckbox->setChecked(true);
}
else if (id == 2) {
ui.styleStackedWidget->setCurrentIndex(1);
}
}
void SPrefsPanel::updateLayoutSelection()
{
auto ui = m_interfaceUI;
bool isModern = !ui.menuBarCheck->isChecked()
#if QT_CLIENT_SIDE_DECORATION_AVAILABLE
&& !ui.titleBarCheckBox->isChecked()
#endif
&& !ui.pinVideoControlsCheckbox->isChecked();
ui.modernButton->setChecked(isModern);
bool isClassic = ui.menuBarCheck->isChecked()
#if QT_CLIENT_SIDE_DECORATION_AVAILABLE
&& ui.titleBarCheckBox->isChecked()
#endif
&& ui.pinVideoControlsCheckbox->isChecked();
ui.classicButton->setChecked(isClassic);
if (!isModern && !isClassic) {
radioGroup->setExclusive(false);
ui.modernButton->setChecked(false);
ui.classicButton->setChecked(false);
radioGroup->setExclusive(true);
}
}
void SPrefsPanel::updateAudioVolume( int volume )
{
m_audioUI.volumeValue->setValue( volume );
......
......@@ -135,6 +135,7 @@ private:
QHash<QString, AudioControlGroup> audioControlGroups;
QStringList qs_filter;
QButtonGroup *radioGroup;
QButtonGroup *layoutImages;
char *lang;
MLFoldersEditor *mlFoldersEditor {};
......@@ -163,6 +164,9 @@ private slots:
void updateAudioOptions( int );
void updateAudioVolume( int );
void langChanged( int );
void imageLayoutClick( QAbstractButton* );
void handleLayoutChange( int );
void updateLayoutSelection();
#ifdef _WIN32
void assoDialog();
void updateCheckBoxes( QTreeWidgetItem*, int );
......
......@@ -7,8 +7,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>808</height>
<width>1446</width>
<height>1378</height>
</rect>
</property>
<property name="sizePolicy">
......@@ -67,66 +67,129 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="4">
<widget class="QRadioButton" name="skins">
<property name="text">
<string>Use custom skin</string>
</property>
</widget>
</item>
<item row="0" column="5">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<item row="0" column="3">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QPushButton" name="skinImage">
<property name="toolTip">
<string>VLC will use custom skin.</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../vlc.qrc">
<normaloff>:/prefsmenu/sample_skins.png</normaloff>:/prefsmenu/sample_skins.png</iconset>
</property>
<property name="iconSize">
<size>
<width>244</width>
<height>145</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item alignment="Qt::AlignHCenter">
<widget class="QRadioButton" name="skins">
<property name="toolTip">
<string>VLC will use custom skin.</string>
</property>
<property name="text">
<string>Use custom skin</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QPushButton" name="modernImage">
<property name="toolTip">
<string>VLC will use a modern layout with
no menubar or pinned controls but
with client-side decoration.</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../vlc.qrc">
<normaloff>:/prefsmenu/sample_minimal.png</normaloff>:/prefsmenu/sample_minimal.png</iconset>
</property>
<property name="iconSize">
<size>
<width>244</width>
<height>145</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item alignment="Qt::AlignHCenter">
<widget class="QRadioButton" name="modernButton">
<property name="toolTip">
<string>VLC will use a modern layout with
no menubar or pinned controls but
with client-side decoration.</string>
</property>
<property name="text">
<string>Modern</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="2">
<widget class="QRadioButton" name="qt">
<property name="toolTip">
<string>This is VLC's default interface, with a native look and feel.</string>
</property>
<property name="text">
<string>Use native style</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QPushButton" name="classicImage">
<property name="toolTip">
<string>VLC will use a classic layout with
a menubar and pinned controls but
with no client-side decoration.</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../vlc.qrc">
<normaloff>:/prefsmenu/sample_complete.png</normaloff>:/prefsmenu/sample_complete.png</iconset>
</property>
<property name="iconSize">
<size>
<width>244</width>
<height>145</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item alignment="Qt::AlignHCenter">
<widget class="QRadioButton" name="classicButton">
<property name="toolTip">
<string>VLC will use a classic layout with
a menubar and pinned controls but
with no client-side decoration.</string>
</property>
<property name="text">
<string>Classic</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="2" colspan="3">
<item row="1" column="1" colspan="2">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
......@@ -136,6 +199,13 @@
</layout>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolbarEditor">
<property name="text">
<string>Customize Toolbar</string>
</property>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="styleStackedWidget">
<property name="currentIndex">
......@@ -149,28 +219,6 @@
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="InterfacePreviewWidget" name="mainPreview">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>122</width>
<height>50</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(192, 192, 192);</string>
</property>
<property name="alignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="native_zone" native="true">
<property name="sizePolicy">
......@@ -199,23 +247,49 @@
<item row="6" column="2" colspan="2">
<widget class="QComboBox" name="notificationCombo"/>
</item>
<item row="10" column="2" colspan="2">
<widget class="QComboBox" name="stylesCombo"/>
<item row="1" column="4">
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" colspan="5">
<widget class="QCheckBox" name="fsController">
<item row="1" column="1">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="2">
<widget class="QCheckBox" name="titleBarCheckBox">
<property name="text">
<string>Show controls in full screen mode</string>
<string>Enable window titlebar</string>
</property>
</widget>
</item>
<item row="3" column="2" colspan="2">
<widget class="QCheckBox" name="pauseMinimizedBox">
<item row="1" column="0">
<widget class="QCheckBox" name="embedVideo">
<property name="text">
<string>Pause playback when minimized</string>
<string>Integrate video in interface</string>
</property>
</widget>
</item>
<item row="12" column="2" colspan="2">
<widget class="QComboBox" name="autoRaiseComboBox"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="notificationComboLabel">
<property name="text">
......@@ -226,10 +300,10 @@
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="minimalviewBox">
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="systrayBox">
<property name="text">
<string>Start in minimal view mode</string>
<string>Show systray icon</string>
</property>
</widget>
</item>
......@@ -249,43 +323,30 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="embedVideo">
<property name="text">
<string>Integrate video in interface</string>
</property>
</widget>
</item>
<item row="1" column="1">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<item row="14" column="3">
<widget class="QSpinBox" name="intfScaleFactorSpinBox">
<property name="suffix">
<string> %</string>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
<property name="singleStep">
<number>5</number>
</property>
</spacer>
</widget>
</item>
<item row="1" column="4">
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<item row="13" column="0">
<widget class="QLabel" name="colorSchemeLabel">
<property name="text">
<string>Color scheme:</string>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
<property name="buddy">
<cstring>colorSchemeComboBox</cstring>
</property>
</spacer>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="systrayBox">
<item row="3" column="0">
<widget class="QCheckBox" name="minimalviewBox">
<property name="text">
<string>Show systray icon</string>
<string>Start in minimal view mode</string>
</property>
</widget>
</item>
......@@ -299,26 +360,23 @@
</property>
</widget>
</item>
<item row="12" column="2" colspan="2">
<widget class="QComboBox" name="autoRaiseComboBox"/>
<item row="10" column="2" colspan="2">
<widget class="QComboBox" name="stylesCombo"/>
</item>
<item row="13" column="0">
<widget class="QLabel" name="colorSchemeLabel">
<property name="text">
<string>Color scheme:</string>
<item row="14" column="2">
<widget class="QSlider" name="intfScaleFactorSlider">
<property name="tracking">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>colorSchemeComboBox</cstring>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="13" column="2" colspan="2">
<widget class="QComboBox" name="colorSchemeComboBox"/>
</item>
<item row="4" column="2">
<widget class="QCheckBox" name="menuBarCheck">
<item row="3" column="2" colspan="2">
<widget class="QCheckBox" name="pauseMinimizedBox">
<property name="text">
<string>Show the menu bar</string>
<string>Pause playback when minimized</string>
</property>
</widget>
</item>
......@@ -332,26 +390,23 @@
</property>
</widget>
</item>
<item row="14" column="2">
<widget class="QSlider" name="intfScaleFactorSlider">
<property name="tracking">
<bool>false</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
<item row="4" column="2">
<widget class="QCheckBox" name="menuBarCheck">
<property name="text">
<string>Show the menu bar</string>
</property>
</widget>
</item>
<item row="14" column="3">
<widget class="QSpinBox" name="intfScaleFactorSpinBox">
<property name="suffix">
<string> %</string>
</property>
<property name="singleStep">
<number>5</number>
<item row="0" column="0" colspan="5">
<widget class="QCheckBox" name="fsController">
<property name="text">
<string>Show controls in full screen mode</string>
</property>
</widget>
</item>
<item row="13" column="2" colspan="2">
<widget class="QComboBox" name="colorSchemeComboBox"/>
</item>
<item row="5" column="0" colspan="2">
<widget class="QCheckBox" name="pinVideoControlsCheckbox">
<property name="toolTip">
......@@ -362,13 +417,6 @@
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QCheckBox" name="titleBarCheckBox">
<property name="text">
<string>Enable window titlebar</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......@@ -382,28 +430,6 @@
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="InterfacePreviewWidget" name="skinsPreview">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>122</width>
<height>50</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(192, 192, 192);</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="skins_zone" native="true">
<property name="enabled">
......@@ -428,42 +454,6 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item row="1" column="1">
<widget class="QLabel" name="skinFileLabel">
<property name="text">
<string>Skin resource file:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>fileSkin</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="fileSkin">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="skinBrowse">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Choose...</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="3">
<widget class="QLabel" name="skinsLabel">
<property name="sizePolicy">
......@@ -498,6 +488,42 @@
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="skinBrowse">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Choose...</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="fileSkin">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="skinFileLabel">
<property name="text">
<string>Skin resource file:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>fileSkin</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......@@ -514,10 +540,10 @@
<string>Playlist and Instances</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="oneInstanceFromFile">
<property name="text">
<string>Use only one instance when started from file manager</string>
<item row="4" column="1">
<widget class="QComboBox" name="continuePlaybackComboBox">
<property name="enabled">
<bool>true</bool>
</property>
</widget>
</item>
......@@ -528,10 +554,17 @@
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="playPauseBox">
<item row="0" column="0">
<widget class="QCheckBox" name="OneInterfaceMode">
<property name="text">
<string>Pause on the last frame of a video</string>
<string>Allow only one instance</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="oneInstanceFromFile">
<property name="text">
<string>Use only one instance when started from file manager</string>
</property>
</widget>
</item>
......@@ -542,10 +575,10 @@
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="continuePlaybackComboBox">
<property name="enabled">
<bool>true</bool>
<item row="2" column="1">
<widget class="QCheckBox" name="playPauseBox">
<property name="text">
<string>Pause on the last frame of a video</string>
</property>
</widget>
</item>
......@@ -559,13 +592,6 @@
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="OneInterfaceMode">
<property name="text">
<string>Allow only one instance</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......@@ -575,27 +601,6 @@
<string>Privacy / Network Interaction</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="2" column="0">
<widget class="QCheckBox" name="MetadataNetworkAccessMode">
<property name="text">
<string>Allow metadata network access</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="updatesBox">
<property name="text">
<string>Activate updates notifier</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="saveRecentlyPlayed">
<property name="text">
<string>Save recently played items</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="updatesDays">
<property name="alignment">
......@@ -609,6 +614,13 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="saveRecentlyPlayed">
<property name="text">
<string>Save recently played items</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="clearRecent">
<property name="text">
......@@ -616,6 +628,13 @@
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="MetadataNetworkAccessMode">
<property name="text">
<string>Allow metadata network access</string>
</property>
</widget>
</item>
<item row="1" column="1">
<spacer name="clearRecentSpacer">
<property name="orientation">
......@@ -629,6 +648,13 @@
</property>
</spacer>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="updatesBox">
<property name="text">
<string>Activate updates notifier</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......@@ -717,17 +743,8 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>InterfacePreviewWidget</class>
<extends>QLabel</extends>
<header>dialogs/preferences/preferences_widgets.hpp</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>langCombo</tabstop>
<tabstop>qt</tabstop>
<tabstop>skins</tabstop>
<tabstop>fsController</tabstop>
<tabstop>embedVideo</tabstop>
<tabstop>resizingBox</tabstop>
......@@ -758,6 +775,8 @@
<tabstop>MetadataNetworkAccessMode</tabstop>
<tabstop>assoButton</tabstop>
</tabstops>
<resources/>
<resources>
<include location="../../vlc.qrc"/>
</resources>
<connections/>
</ui>
modules/gui/qt/pixmaps/prefs/sample_skins.png

4.12 KiB | W: | H:

modules/gui/qt/pixmaps/prefs/sample_skins.png

15.8 KiB | W: | H:

modules/gui/qt/pixmaps/prefs/sample_skins.png
modules/gui/qt/pixmaps/prefs/sample_skins.png
modules/gui/qt/pixmaps/prefs/sample_skins.png
modules/gui/qt/pixmaps/prefs/sample_skins.png
  • 2-up
  • Swipe
  • Onion skin