[yast-commit] r39042 - /branches/tmp/sh/mod-ui/qt/src/
Author: sh-sh-sh Date: Wed Jun 27 11:24:49 2007 New Revision: 39042 URL: http://svn.opensuse.org/viewcvs/yast?rev=39042&view=rev Log: removed superfluous setFont() calls Modified: branches/tmp/sh/mod-ui/qt/src/YQBarGraph.cc branches/tmp/sh/mod-ui/qt/src/YQCheckBoxFrame.cc branches/tmp/sh/mod-ui/qt/src/YQComboBox.cc branches/tmp/sh/mod-ui/qt/src/YQDate.cc branches/tmp/sh/mod-ui/qt/src/YQDownloadProgress.cc branches/tmp/sh/mod-ui/qt/src/YQDumbTab.cc branches/tmp/sh/mod-ui/qt/src/YQFrame.cc branches/tmp/sh/mod-ui/qt/src/YQInputField.cc branches/tmp/sh/mod-ui/qt/src/YQIntField.cc branches/tmp/sh/mod-ui/qt/src/YQLogView.cc branches/tmp/sh/mod-ui/qt/src/YQMenuButton.cc branches/tmp/sh/mod-ui/qt/src/YQMultiLineEdit.cc branches/tmp/sh/mod-ui/qt/src/YQMultiSelectionBox.cc branches/tmp/sh/mod-ui/qt/src/YQPartitionSplitter.cc branches/tmp/sh/mod-ui/qt/src/YQProgressBar.cc branches/tmp/sh/mod-ui/qt/src/YQPushButton.cc branches/tmp/sh/mod-ui/qt/src/YQRadioButton.cc branches/tmp/sh/mod-ui/qt/src/YQRichText.cc branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc branches/tmp/sh/mod-ui/qt/src/YQSlider.cc branches/tmp/sh/mod-ui/qt/src/YQTable.cc branches/tmp/sh/mod-ui/qt/src/YQTime.cc branches/tmp/sh/mod-ui/qt/src/YQTree.cc branches/tmp/sh/mod-ui/qt/src/YQUI_x11.cc branches/tmp/sh/mod-ui/qt/src/YQWizard.cc branches/tmp/sh/mod-ui/qt/src/YQWizardButton.cc Modified: branches/tmp/sh/mod-ui/qt/src/YQBarGraph.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQBarGraph.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQBarGraph.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQBarGraph.cc Wed Jun 27 11:24:49 2007 @@ -31,7 +31,6 @@ { setWidgetRep( this ); _barGraph = new QY2BarGraph( this ); - _barGraph->setFont( YQUI::ui()->currentFont() ); _barGraph->move( YQWidgetMargin, YQWidgetMargin ); } Modified: branches/tmp/sh/mod-ui/qt/src/YQCheckBoxFrame.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQCheckBoxFrame.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQCheckBoxFrame.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQCheckBoxFrame.cc Wed Jun 27 11:24:49 2007 @@ -40,7 +40,6 @@ setWidgetRep ( this ); QGroupBox::setTitle( fromUTF8( label ) ); QGroupBox::setCheckable( true ); - setFont( YQUI::ui()->currentFont() ); preventQGroupBoxAutoEnablement(); setValue( checked ); Modified: branches/tmp/sh/mod-ui/qt/src/YQComboBox.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQComboBox.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQComboBox.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQComboBox.cc Wed Jun 27 11:24:49 2007 @@ -47,14 +47,11 @@ _qt_label = new QLabel( fromUTF8(label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); if ( _qt_label->text().isEmpty() ) _qt_label->hide(); _qt_combo_box = new QComboBox( opt.isEditable.value(), this ); - _qt_combo_box->setFont( YQUI::ui()->currentFont() ); - _qt_label->setBuddy( _qt_combo_box ); #if SEND_SELECTION_CHANGED_EVENT Modified: branches/tmp/sh/mod-ui/qt/src/YQDate.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQDate.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQDate.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQDate.cc Wed Jun 27 11:24:49 2007 @@ -39,7 +39,6 @@ _qt_label = new QLabel( fromUTF8(label->value()), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); if ( label->value() == "" ) _qt_label->hide(); Modified: branches/tmp/sh/mod-ui/qt/src/YQDownloadProgress.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQDownloadProgress.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQDownloadProgress.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQDownloadProgress.cc Wed Jun 27 11:24:49 2007 @@ -41,10 +41,8 @@ _qt_label = new QLabel( fromUTF8( label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); _qt_progress = new QProgressBar( this ); - _qt_progress->setFont( YQUI::ui()->currentFont() ); _qt_progress->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) ); _qt_progress->setTotalSteps( expectedSize ); Modified: branches/tmp/sh/mod-ui/qt/src/YQDumbTab.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQDumbTab.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQDumbTab.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQDumbTab.cc Wed Jun 27 11:24:49 2007 @@ -36,7 +36,6 @@ , YDumbTab( opt ) { setWidgetRep( this ); - setFont( YQUI::ui()->currentFont() ); addVSpacing( this, 4 ); _doingResize = false; @@ -47,7 +46,6 @@ _tabBar = new QTabBar( this ); CHECK_PTR( _tabBar ); - _tabBar->setFont( YQUI::ui()->currentFont() ); _tabBar->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Minimum ) ); // hor/vert setFocusProxy( _tabBar ); setFocusPolicy( TabFocus ); Modified: branches/tmp/sh/mod-ui/qt/src/YQFrame.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQFrame.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQFrame.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQFrame.cc Wed Jun 27 11:24:49 2007 @@ -34,7 +34,6 @@ { setWidgetRep ( this ); QGroupBox::setTitle( fromUTF8( label() ) ); - setFont( YQUI::ui()->currentFont() ); } Modified: branches/tmp/sh/mod-ui/qt/src/YQInputField.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQInputField.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQInputField.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQInputField.cc Wed Jun 27 11:24:49 2007 @@ -59,13 +59,11 @@ _qt_label = new QLabel( fromUTF8( label ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); if ( label.empty() ) _qt_label->hide(); _qt_lineEdit = new YQRawLineEdit( this ); - _qt_lineEdit->setFont( YQUI::ui()->currentFont() ); _qt_label->setBuddy( _qt_lineEdit ); @@ -228,7 +226,6 @@ // Simply leave it. _qt_label->setText( _( "CapsLock!" ) ); - _qt_label->setFont( YQUI::ui()->boldFont() ); _displayingCapsLockWarning = true; } @@ -243,7 +240,6 @@ return; _qt_label->setText( fromUTF8( label() ) ); - _qt_label->setFont( YQUI::ui()->currentFont() ); _displayingCapsLockWarning = false; } Modified: branches/tmp/sh/mod-ui/qt/src/YQIntField.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQIntField.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQIntField.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQIntField.cc Wed Jun 27 11:24:49 2007 @@ -42,14 +42,12 @@ setMargin( YQWidgetMargin ); _qt_label = new QLabel( fromUTF8( label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); _qt_label->setAlignment( Qt::AlignLeft ); _qt_spinbox = new QSpinBox( minValue, maxValue, 1, // step this ); _qt_spinbox->setValue( initialValue ); - _qt_spinbox->setFont( YQUI::ui()->currentFont() ); _qt_label->setBuddy( _qt_spinbox ); Modified: branches/tmp/sh/mod-ui/qt/src/YQLogView.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQLogView.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQLogView.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQLogView.cc Wed Jun 27 11:24:49 2007 @@ -45,13 +45,11 @@ _qt_label = new QLabel( fromUTF8( label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); if ( label->value() == "" ) _qt_label->hide(); _qt_text = new QMultiLineEdit( this ); - _qt_text->setFont( YQUI::ui()->currentFont() ); _qt_text->setReadOnly( true ); _qt_text->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) ); Modified: branches/tmp/sh/mod-ui/qt/src/YQMenuButton.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQMenuButton.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQMenuButton.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQMenuButton.cc Wed Jun 27 11:24:49 2007 @@ -44,7 +44,6 @@ { setWidgetRep( this ); _qt_pushbutton = new QPushButton( fromUTF8( label->value() ), this ); - _qt_pushbutton->setFont( YQUI::ui()->currentFont() ); _qt_pushbutton->setMinimumSize( 2,2 ); _qt_pushbutton->move( YQButtonBorder, YQButtonBorder ); setMinimumSize( _qt_pushbutton->minimumSize() Modified: branches/tmp/sh/mod-ui/qt/src/YQMultiLineEdit.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQMultiLineEdit.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQMultiLineEdit.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQMultiLineEdit.cc Wed Jun 27 11:24:49 2007 @@ -48,14 +48,12 @@ { _qt_label = new QLabel( fromUTF8( label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); } else _qt_label = 0; _qt_textedit = new QTextEdit( this ); _qt_textedit->setTextFormat( Qt::PlainText ); - _qt_textedit->setFont( YQUI::ui()->currentFont() ); _qt_textedit->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) ); _qt_textedit->setText( fromUTF8( initialText->value() ) ); Modified: branches/tmp/sh/mod-ui/qt/src/YQMultiSelectionBox.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQMultiSelectionBox.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQMultiSelectionBox.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQMultiSelectionBox.cc Wed Jun 27 11:24:49 2007 @@ -48,7 +48,6 @@ _qt_label = new QLabel( fromUTF8(label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); _qt_listview = new QListView( this ); _qt_listview->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) ); Modified: branches/tmp/sh/mod-ui/qt/src/YQPartitionSplitter.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQPartitionSplitter.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQPartitionSplitter.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQPartitionSplitter.cc Wed Jun 27 11:24:49 2007 @@ -79,7 +79,6 @@ _qt_freeFieldLabel = new QLabel( fromUTF8( freeFieldLabel()->value() ), _labels_hbox ); _qt_freeFieldLabel->setTextFormat( QLabel::PlainText ); - _qt_freeFieldLabel->setFont( YQUI::ui()->currentFont() ); _qt_freeFieldLabel->setAlignment( Qt::AlignLeft ); @@ -88,7 +87,6 @@ _qt_newPartFieldLabel = new QLabel( fromUTF8( newPartFieldLabel()->value() ), _labels_hbox ); _qt_newPartFieldLabel->setTextFormat( QLabel::PlainText ); - _qt_newPartFieldLabel->setFont( YQUI::ui()->currentFont() ); _qt_newPartFieldLabel->setAlignment( Qt::AlignRight ); @@ -103,7 +101,6 @@ _qt_freeSizeField = new QSpinBox( minFreeSize(), maxFreeSize(), 1, // step _fields_hbox ); - _qt_freeSizeField->setFont( YQUI::ui()->currentFont() ); _qt_freeFieldLabel->setBuddy( _qt_freeSizeField ); @@ -113,7 +110,6 @@ 1, // pageStep remainingFreeSize(), // initial value QSlider::Horizontal, _fields_hbox ); - _qt_freeSizeSlider->setFont( YQUI::ui()->currentFont() ); // SpinBox for the new partition size @@ -121,7 +117,6 @@ _qt_newPartSizeField = new QSpinBox( minNewPartSize(), maxNewPartSize(), 1, // step _fields_hbox ); - _qt_newPartSizeField->setFont( YQUI::ui()->currentFont() ); _qt_newPartFieldLabel->setBuddy( _qt_newPartSizeField ); // Initialize all fields and the bar graph Modified: branches/tmp/sh/mod-ui/qt/src/YQProgressBar.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQProgressBar.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQProgressBar.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQProgressBar.cc Wed Jun 27 11:24:49 2007 @@ -46,13 +46,11 @@ _qt_label = new QLabel( fromUTF8(label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); if ( label->value() == "" ) _qt_label->hide(); _qt_progressbar = new QProgressBar( this ); - _qt_progressbar->setFont( YQUI::ui()->currentFont() ); _qt_progressbar->setTotalSteps( MAX_PROGRESS ); _qt_label->setBuddy( _qt_progressbar ); Modified: branches/tmp/sh/mod-ui/qt/src/YQPushButton.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQPushButton.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQPushButton.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQPushButton.cc Wed Jun 27 11:24:49 2007 @@ -39,7 +39,6 @@ setQPushButton( button ); - button->setFont( YQUI::ui()->currentFont() ); button->setMinimumSize( 2, 2 ); button->move( YQButtonBorder, YQButtonBorder ); setMinimumSize( button->minimumSize() Modified: branches/tmp/sh/mod-ui/qt/src/YQRadioButton.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQRadioButton.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQRadioButton.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQRadioButton.cc Wed Jun 27 11:24:49 2007 @@ -51,6 +51,7 @@ QBoxLayout * layout = new QBoxLayout( this, QBoxLayout::LeftToRight ); _qt_radioButton = new QRadioButton( fromUTF8( label ), this ); + layout->addSpacing( SPACING ); layout->addWidget( _qt_radioButton ); layout->addSpacing( SPACING ); Modified: branches/tmp/sh/mod-ui/qt/src/YQRichText.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQRichText.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQRichText.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQRichText.cc Wed Jun 27 11:24:49 2007 @@ -40,7 +40,6 @@ _textBrowser = new YQTextBrowser( this ); _textBrowser->setMimeSourceFactory( 0 ); - _textBrowser->setFont( YQUI::ui()->currentFont() ); _textBrowser->installEventFilter( this ); if ( opt.plainTextMode.value() ) Modified: branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQSelectionBox.cc Wed Jun 27 11:24:49 2007 @@ -52,7 +52,6 @@ _qt_label = new QLabel( fromUTF8(label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); if ( _qt_label->text().isEmpty() ) _qt_label->hide(); Modified: branches/tmp/sh/mod-ui/qt/src/YQSlider.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQSlider.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQSlider.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQSlider.cc Wed Jun 27 11:24:49 2007 @@ -42,7 +42,6 @@ setMargin( YQWidgetMargin ); _qt_label = new QLabel( fromUTF8( label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); _qt_label->setAlignment( Qt::AlignRight ); _hbox = new QHBox( this ); @@ -52,13 +51,11 @@ 1, // pageStep initialValue, QSlider::Horizontal, _hbox ); - _qt_slider->setFont( YQUI::ui()->currentFont() ); _qt_spinbox = new QSpinBox( minValue, maxValue, 1, // step _hbox ); _qt_spinbox->setValue( initialValue ); - _qt_spinbox->setFont( YQUI::ui()->currentFont() ); _qt_label->setBuddy( _qt_spinbox ); Modified: branches/tmp/sh/mod-ui/qt/src/YQTable.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQTable.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQTable.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQTable.cc Wed Jun 27 11:24:49 2007 @@ -127,7 +127,6 @@ } } - _qt_listview->setFont( YQUI::ui()->currentFont() ); _qt_listview->setAllColumnsShowFocus( true ); if ( opt.notifyMode.value() ) Modified: branches/tmp/sh/mod-ui/qt/src/YQTime.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQTime.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQTime.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQTime.cc Wed Jun 27 11:24:49 2007 @@ -39,7 +39,6 @@ _qt_label = new QLabel( fromUTF8(label->value()), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); if ( label->value() == "" ) _qt_label->hide(); Modified: branches/tmp/sh/mod-ui/qt/src/YQTree.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQTree.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQTree.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQTree.cc Wed Jun 27 11:24:49 2007 @@ -52,10 +52,8 @@ _qt_label = new QLabel( fromUTF8( label->value() ), this ); _qt_label->setTextFormat( QLabel::PlainText ); - _qt_label->setFont( YQUI::ui()->currentFont() ); _listView = new QListView( this ); - _listView->setFont( YQUI::ui()->currentFont() ); _listView->addColumn( "" ); _listView->header()->hide(); _listView->setRootIsDecorated ( true ); Modified: branches/tmp/sh/mod-ui/qt/src/YQUI_x11.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQUI_x11.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQUI_x11.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQUI_x11.cc Wed Jun 27 11:24:49 2007 @@ -129,7 +129,7 @@ * * There are many fonts that claim to be Unicode, but most of them contain * just a sorry excuse for a complete Unicode character set. Qt can't know - * how complete a font is, so it chooses one that might be better in other + * how complete a font is, so it chooses one that might be better in otherf * aspects, but lacks necessary characters. **/ Modified: branches/tmp/sh/mod-ui/qt/src/YQWizard.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQWizard.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQWizard.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQWizard.cc Wed Jun 27 11:24:49 2007 @@ -175,7 +175,6 @@ _stepsList.setAutoDelete( true ); _stepsIDs.setAutoDelete( false ); // Only for one of both! - setFont( YQUI::ui()->currentFont() ); // Make sure qApp->font() is initialized YQUI::setTextdomain( TEXTDOMAIN ); @@ -702,7 +701,6 @@ YUI_CHECK_NEW( _helpBrowser ); _helpBrowser->setMimeSourceFactory( 0 ); - _helpBrowser->setFont( YQUI::ui()->currentFont() ); _helpBrowser->installEventFilter( this ); _helpBrowser->setTextFormat( Qt::RichText ); _helpBrowser->setMargin( 4 ); Modified: branches/tmp/sh/mod-ui/qt/src/YQWizardButton.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/qt/src/YQWizardButton.cc?rev=39042&r1=39041&r2=39042&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/qt/src/YQWizardButton.cc (original) +++ branches/tmp/sh/mod-ui/qt/src/YQWizardButton.cc Wed Jun 27 11:24:49 2007 @@ -42,7 +42,6 @@ setQPushButton( button ); setWidgetRep( button ); setId( new YCPValueWidgetID( id ) ); - button->setFont( YQUI::ui()->currentFont() ); connect( button, SIGNAL( clicked() ), this, SIGNAL( clicked() ) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
sh-sh-sh@svn.opensuse.org