dialogBox->setSizeGripEnabled( false );
/* Add a tooltip */
- dialogBox->setToolTip( qtr( "Select one or multiple files, or a folder" ));
+ dialogBox->setToolTip( qtr( "Select one or multiple files, or a folder" ) );
// Add it to the layout
ui.gridLayout->addWidget( dialogBox, 0, 0, 1, 3 );
/* Build the subs size combo box */
setfillVLCConfigCombo( "freetype-rel-fontsize" , p_intf,
- ui.sizeSubComboBox );
+ ui.sizeSubComboBox );
/* Build the subs align combo box */
setfillVLCConfigCombo( "subsdec-align", p_intf, ui.alignSubComboBox );
return THEDP->showSimpleOpen( help );
}
+#if 0
/* Unused. FIXME ? */
void FileOpenPanel::browseFile()
{
ui.fileInput->setEditText( fileString );
updateMRL();
}
+#endif
void FileOpenPanel::browseFileSub()
{
const char *psz_filepath = config_GetPsz( p_intf, "qt-filedialog-path" );
if( ( NULL == psz_filepath )
- || strcmp( psz_filepath,dialogBox->directory().absolutePath().toUtf8()) )
+ || strcmp( psz_filepath, qtu( dialogBox->directory().absolutePath() )) )
{
/* set dialog box current directory as last known path */
config_PutPsz( p_intf, "qt-filedialog-path",
- dialogBox->directory().absolutePath().toUtf8() );
+ qtu( dialogBox->directory().absolutePath() ) );
}
delete psz_filepath;
{
ui.setupUi( this );
+ /*Win 32 Probe as in WX ? */
+
/* CONNECTs */
BUTTONACT( ui.dvdRadioButton, updateButtons());
BUTTONACT( ui.vcdRadioButton, updateButtons());
void DiscOpenPanel::updateMRL()
{
QString mrl = "";
+
+ /* CDDAX and VCDX not implemented. FIXME ? */
/* DVD */
if( ui.dvdRadioButton->isChecked() ) {
if( !ui.dvdsimple->isChecked() )
public slots:
virtual void updateMRL();
private slots:
+#if 0
void browseFile();
+#endif
void browseFileSub();
void toggleSubtitleFrame();
};
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="toolTip" >
+ <string>Change the start time for the media</string>
+ </property>
<property name="alignment" >
<set>Qt::AlignRight</set>
</property>
</widget>
</item>
<item row="5" column="1" colspan="4" >
- <widget class="QLineEdit" name="advancedLineInput" />
+ <widget class="QLineEdit" name="advancedLineInput" >
+ <property name="toolTip" >
+ <string>Complete MRL for VLC internal</string>
+ </property>
+ </widget>
</item>
<item row="2" column="0" colspan="5" >
<widget class="QCheckBox" name="slaveCheckbox" >
</item>
<item row="3" column="4" >
<widget class="QToolButton" name="slaveBrowseButton" >
+ <property name="toolTip" >
+ <string>Select the file</string>
+ </property>
<property name="text" >
<string>Browse...</string>
</property>
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="toolTip" >
+ <string>Change the caching for the media</string>
+ </property>
<property name="alignment" >
<set>Qt::AlignRight</set>
</property>
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="toolTip" >
+ <string>Select the capture device type</string>
+ </property>
</widget>
</item>
<item row="0" column="0" >
</item>
<item row="3" column="0" >
<widget class="QPushButton" name="advancedButton" >
+ <property name="toolTip" >
+ <string>Access advanced options to tweak the device</string>
+ </property>
<property name="text" >
<string>Advanced options...</string>
</property>
</item>
<item row="3" column="7" >
<widget class="QToolButton" name="toolButton" >
+ <property name="toolTip" >
+ <string>Select the device</string>
+ </property>
<property name="text" >
<string>Browse...</string>
</property>
<height>0</height>
</size>
</property>
- <property name="toolTip" >
- <string>Set subtitle alignement</string>
- </property>
<property name="currentIndex" >
<number>-1</number>
</property>
<height>0</height>
</size>
</property>
- <property name="toolTip" >
- <string>Set default subtitle size</string>
- </property>
</widget>
</item>
<item row="1" column="1" >
</item>
<item row="0" column="6" colspan="2" >
<widget class="QPushButton" name="subBrowseButton" >
+ <property name="toolTip" >
+ <string>Select the subtitle file</string>
+ </property>
<property name="text" >
<string>Browse...</string>
</property>
</item>
<item row="1" column="2" >
<widget class="QSpinBox" name="portSpin" >
+ <property name="toolTip" >
+ <string>Set the port used</string>
+ </property>
<property name="maximum" >
<number>65535</number>
</property>
</property>
<item>
<widget class="QCheckBox" name="timeShift" >
+ <property name="toolTip" >
+ <string/>
+ </property>
<property name="text" >
<string>Allow timeshifting</string>
</property>