|
|
|
@ -204,7 +204,7 @@ KDE_NO_CDTOR_EXPORT PrefGeneralPageGeneral::PrefGeneralPageGeneral(TQWidget *par
|
|
|
|
|
{
|
|
|
|
|
TQVBoxLayout *layout = new TQVBoxLayout(this, 5, 2);
|
|
|
|
|
|
|
|
|
|
TQGroupBox *windowbox = new TQGroupBox(1, Qt::Vertical, i18n("Window"), this);
|
|
|
|
|
TQGroupBox *windowbox = new TQGroupBox(1, TQt::Vertical, i18n("Window"), this);
|
|
|
|
|
TQWidget * wbox = new TQWidget (windowbox);
|
|
|
|
|
TQWidget * bbox = new TQWidget (wbox);
|
|
|
|
|
TQGridLayout * gridlayout = new TQGridLayout (bbox, 2, 2);
|
|
|
|
@ -217,14 +217,14 @@ KDE_NO_CDTOR_EXPORT PrefGeneralPageGeneral::PrefGeneralPageGeneral(TQWidget *par
|
|
|
|
|
gridlayout->addWidget (keepSizeRatio, 0, 0);
|
|
|
|
|
gridlayout->addWidget (dockSysTray, 1, 0);
|
|
|
|
|
gridlayout->addWidget (autoResize, 0, 1);
|
|
|
|
|
sizesChoice = new TQButtonGroup (2, Qt::Vertical, wbox);
|
|
|
|
|
sizesChoice = new TQButtonGroup (2, TQt::Vertical, wbox);
|
|
|
|
|
new TQRadioButton (i18n("Remember window size on exit"), sizesChoice);
|
|
|
|
|
new TQRadioButton (i18n("Always start with fixed size"), sizesChoice);
|
|
|
|
|
TQVBoxLayout * vbox = new TQVBoxLayout (wbox, 2, 2);
|
|
|
|
|
vbox->addWidget (bbox);
|
|
|
|
|
vbox->addWidget (sizesChoice);
|
|
|
|
|
|
|
|
|
|
TQGroupBox *playbox =new TQGroupBox(4, Qt::Vertical,i18n("Playing"),this);
|
|
|
|
|
TQGroupBox *playbox =new TQGroupBox(4, TQt::Vertical,i18n("Playing"),this);
|
|
|
|
|
loop = new TQCheckBox (i18n("Loop"), playbox);
|
|
|
|
|
TQWhatsThis::add(loop, i18n("Makes current movie loop"));
|
|
|
|
|
framedrop = new TQCheckBox (i18n ("Allow framedrops"), playbox);
|
|
|
|
@ -234,7 +234,7 @@ KDE_NO_CDTOR_EXPORT PrefGeneralPageGeneral::PrefGeneralPageGeneral(TQWidget *par
|
|
|
|
|
adjustcolors = new TQCheckBox(i18n("Auto set colors on start"), playbox);
|
|
|
|
|
TQWhatsThis::add (adjustcolors, i18n ("When a movie starts, the colors will be set according the sliders for colors"));
|
|
|
|
|
|
|
|
|
|
TQGroupBox * gbox =new TQGroupBox (1, Qt::Vertical, i18n("Control Panel"), this);
|
|
|
|
|
TQGroupBox * gbox =new TQGroupBox (1, TQt::Vertical, i18n("Control Panel"), this);
|
|
|
|
|
bbox =new TQWidget (gbox);
|
|
|
|
|
//TQGroupBox * bbox = gbox;
|
|
|
|
|
gridlayout = new TQGridLayout (bbox, 3, 2);
|
|
|
|
@ -272,7 +272,7 @@ KDE_NO_CDTOR_EXPORT PrefGeneralPageLooks::PrefGeneralPageLooks (TQWidget *parent
|
|
|
|
|
fonts (settings->fonts) {
|
|
|
|
|
TQVBoxLayout *layout = new TQVBoxLayout(this, 5, 2);
|
|
|
|
|
|
|
|
|
|
TQGroupBox *colorbox= new TQGroupBox(2, Qt::Horizontal, i18n("Colors"), this);
|
|
|
|
|
TQGroupBox *colorbox= new TQGroupBox(2, TQt::Horizontal, i18n("Colors"), this);
|
|
|
|
|
colorscombo = new TQComboBox (colorbox);
|
|
|
|
|
for (int i = 0; i < int (ColorSetting::last_target); i++)
|
|
|
|
|
colorscombo->insertItem (colors[i].title);
|
|
|
|
@ -284,7 +284,7 @@ KDE_NO_CDTOR_EXPORT PrefGeneralPageLooks::PrefGeneralPageLooks (TQWidget *parent
|
|
|
|
|
connect (colorbutton, TQT_SIGNAL (changed (const TQColor &)),
|
|
|
|
|
this, TQT_SLOT (colorCanged (const TQColor &)));
|
|
|
|
|
|
|
|
|
|
TQGroupBox *fontbox = new TQGroupBox (2,Qt::Horizontal, i18n ("Fonts"), this);
|
|
|
|
|
TQGroupBox *fontbox = new TQGroupBox (2,TQt::Horizontal, i18n ("Fonts"), this);
|
|
|
|
|
fontscombo = new TQComboBox (fontbox);
|
|
|
|
|
for (int i = 0; i < int (FontSetting::last_target); i++)
|
|
|
|
|
fontscombo->insertItem (fonts[i].title);
|
|
|
|
@ -365,7 +365,7 @@ KDE_NO_CDTOR_EXPORT PrefSourcePageURL::PrefSourcePageURL (TQWidget *parent)
|
|
|
|
|
gridlayout->addWidget (backendLabel, 0, 0);
|
|
|
|
|
gridlayout->addWidget (backend, 1, 0);
|
|
|
|
|
gridlayout->addMultiCell (new TQSpacerItem (0, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum), 0, 1, 1, 1);
|
|
|
|
|
TQGroupBox *cbox = new TQGroupBox(1, Qt::Vertical, i18n("Network bandwidth"), this);
|
|
|
|
|
TQGroupBox *cbox = new TQGroupBox(1, TQt::Vertical, i18n("Network bandwidth"), this);
|
|
|
|
|
TQWidget * wbox = new TQWidget (cbox);
|
|
|
|
|
TQGridLayout * bitratelayout = new TQGridLayout (wbox, 2, 3, 5);
|
|
|
|
|
prefBitRate = new TQLineEdit (wbox);
|
|
|
|
@ -408,13 +408,13 @@ KDE_NO_CDTOR_EXPORT PrefRecordPage::PrefRecordPage (TQWidget *parent, PartBase *
|
|
|
|
|
buttonlayout->addItem (new TQSpacerItem (0, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum));
|
|
|
|
|
buttonlayout->addWidget (recordButton);
|
|
|
|
|
source = new TQLabel (i18n ("Current source: ") + m_player->source ()->prettyName (), this);
|
|
|
|
|
recorder = new TQButtonGroup (m_recorders_length, Qt::Vertical, i18n ("Recorder"), this);
|
|
|
|
|
recorder = new TQButtonGroup (m_recorders_length, TQt::Vertical, i18n ("Recorder"), this);
|
|
|
|
|
for (RecorderPage * p = m_recorders; p; p = p->next)
|
|
|
|
|
new TQRadioButton (p->name (), recorder);
|
|
|
|
|
if (m_player->source ())
|
|
|
|
|
sourceChanged (0L, m_player->source ());
|
|
|
|
|
recorder->setButton(0); // for now
|
|
|
|
|
replay = new TQButtonGroup (4, Qt::Vertical, i18n ("Auto Playback"), this);
|
|
|
|
|
replay = new TQButtonGroup (4, TQt::Vertical, i18n ("Auto Playback"), this);
|
|
|
|
|
new TQRadioButton (i18n ("&No"), replay);
|
|
|
|
|
new TQRadioButton (i18n ("&When recording finished"), replay);
|
|
|
|
|
new TQRadioButton (i18n ("A&fter"), replay);
|
|
|
|
@ -539,7 +539,7 @@ KDE_NO_EXPORT void RecorderPage::record () {
|
|
|
|
|
|
|
|
|
|
KDE_NO_CDTOR_EXPORT PrefMEncoderPage::PrefMEncoderPage (TQWidget *parent, PartBase * player) : RecorderPage (parent, player) {
|
|
|
|
|
TQVBoxLayout *layout = new TQVBoxLayout (this, 5, 5);
|
|
|
|
|
format = new TQButtonGroup (3, Qt::Vertical, i18n ("Format"), this);
|
|
|
|
|
format = new TQButtonGroup (3, TQt::Vertical, i18n ("Format"), this);
|
|
|
|
|
new TQRadioButton (i18n ("Same as source"), format);
|
|
|
|
|
new TQRadioButton (i18n ("Custom"), format);
|
|
|
|
|
TQWidget * customopts = new TQWidget (format);
|
|
|
|
@ -656,7 +656,7 @@ KDE_NO_CDTOR_EXPORT PrefOPPagePostProc::PrefOPPagePostProc(TQWidget *parent) : T
|
|
|
|
|
TQWidget *presetSelectionWidget = new TQWidget( PostprocessingOptions, "presetSelectionWidget" );
|
|
|
|
|
TQGridLayout *presetSelectionWidgetLayout = new TQGridLayout( presetSelectionWidget, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
TQButtonGroup *presetSelection = new TQButtonGroup(3, Qt::Vertical, presetSelectionWidget);
|
|
|
|
|
TQButtonGroup *presetSelection = new TQButtonGroup(3, TQt::Vertical, presetSelectionWidget);
|
|
|
|
|
presetSelection->setInsideSpacing(KDialog::spacingHint());
|
|
|
|
|
|
|
|
|
|
defaultPreset = new TQRadioButton (i18n ("Default"), presetSelection);
|
|
|
|
@ -680,7 +680,7 @@ KDE_NO_CDTOR_EXPORT PrefOPPagePostProc::PrefOPPagePostProc(TQWidget *parent) : T
|
|
|
|
|
TQWidget *customFiltersWidget = new TQWidget( PostprocessingOptions, "customFiltersWidget" );
|
|
|
|
|
TQVBoxLayout *customFiltersWidgetLayout = new TQVBoxLayout( customFiltersWidget );
|
|
|
|
|
|
|
|
|
|
TQGroupBox *customFilters = new TQGroupBox(0, Qt::Vertical, customFiltersWidget, "customFilters" );
|
|
|
|
|
TQGroupBox *customFilters = new TQGroupBox(0, TQt::Vertical, customFiltersWidget, "customFilters" );
|
|
|
|
|
customFilters->setSizePolicy(TQSizePolicy((TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)2));
|
|
|
|
|
customFilters->setFlat(false);
|
|
|
|
|
customFilters->setEnabled( false );
|
|
|
|
@ -782,7 +782,7 @@ KDE_NO_CDTOR_EXPORT PrefOPPagePostProc::PrefOPPagePostProc(TQWidget *parent) : T
|
|
|
|
|
//
|
|
|
|
|
TQWidget *deintSelectionWidget = new TQWidget( PostprocessingOptions, "deintSelectionWidget" );
|
|
|
|
|
TQVBoxLayout *deintSelectionWidgetLayout = new TQVBoxLayout( deintSelectionWidget);
|
|
|
|
|
TQButtonGroup *deinterlacingGroup = new TQButtonGroup(5, Qt::Vertical, deintSelectionWidget, "deinterlacingGroup" );
|
|
|
|
|
TQButtonGroup *deinterlacingGroup = new TQButtonGroup(5, TQt::Vertical, deintSelectionWidget, "deinterlacingGroup" );
|
|
|
|
|
|
|
|
|
|
LinBlendDeinterlacer = new TQCheckBox (i18n ("Linear blend deinterlacer"), deinterlacingGroup);
|
|
|
|
|
LinIntDeinterlacer = new TQCheckBox (i18n ("Linear interpolating deinterlacer"), deinterlacingGroup);
|
|
|
|
|