|
|
|
@ -230,7 +230,7 @@ namespace KBibTeX
|
|
|
|
|
|
|
|
|
|
m_pushButtonOpenURL = new KPushButton( this );
|
|
|
|
|
gridLayout->addWidget( m_pushButtonOpenURL, 0, 2 );
|
|
|
|
|
m_pushButtonOpenURL->setIconSet( TQIconSet( SmallIcon( "fileopen" ) ) );
|
|
|
|
|
m_pushButtonOpenURL->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
|
|
|
|
|
m_pushButtonOpenURL->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
|
|
|
|
|
TQToolTip::add( m_pushButtonOpenURL, TQString( i18n( "Open %1" ) ).arg( i18n( "URL" ) ) );
|
|
|
|
|
connect( m_pushButtonOpenURL, SIGNAL( clicked() ), this, SLOT( openURL() ) );
|
|
|
|
@ -248,7 +248,7 @@ namespace KBibTeX
|
|
|
|
|
|
|
|
|
|
m_pushButtonOpenDoi = new KPushButton( this );
|
|
|
|
|
gridLayout->addWidget( m_pushButtonOpenDoi, 1, 2 );
|
|
|
|
|
m_pushButtonOpenDoi->setIconSet( TQIconSet( SmallIcon( "fileopen" ) ) );
|
|
|
|
|
m_pushButtonOpenDoi->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
|
|
|
|
|
m_pushButtonOpenDoi->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
|
|
|
|
|
TQToolTip::add( m_pushButtonOpenDoi, i18n( "Open DOI" ) );
|
|
|
|
|
connect( m_pushButtonOpenDoi, SIGNAL( clicked() ), this, SLOT( openDoi() ) );
|
|
|
|
@ -263,7 +263,7 @@ namespace KBibTeX
|
|
|
|
|
|
|
|
|
|
m_pushButtonOpenLocalFile = new KPushButton( this );
|
|
|
|
|
gridLayout->addWidget( m_pushButtonOpenLocalFile, 2, 2 );
|
|
|
|
|
m_pushButtonOpenLocalFile->setIconSet( TQIconSet( SmallIcon( "fileopen" ) ) );
|
|
|
|
|
m_pushButtonOpenLocalFile->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
|
|
|
|
|
m_pushButtonOpenLocalFile->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
|
|
|
|
|
TQToolTip::add( m_pushButtonOpenLocalFile, TQString( i18n( "Open %1" ) ).arg( i18n( "Local File" ) ) );
|
|
|
|
|
connect( m_pushButtonOpenLocalFile, SIGNAL( clicked() ), this, SLOT( openLocalFile() ) );
|
|
|
|
@ -276,7 +276,7 @@ namespace KBibTeX
|
|
|
|
|
m_pushButtonBrowseLocalFile->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
|
|
|
|
|
containerLayout->addWidget( m_pushButtonBrowseLocalFile );
|
|
|
|
|
containerLayout->addStretch( 10 );
|
|
|
|
|
m_pushButtonBrowseLocalFile->setIconSet( TQIconSet( SmallIcon( "fileopen" ) ) );
|
|
|
|
|
m_pushButtonBrowseLocalFile->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
|
|
|
|
|
|
|
|
|
|
TDEPopupMenu *menu = new TDEPopupMenu( m_pushButtonBrowseLocalFile );
|
|
|
|
|
menu->insertTitle( i18n( "Select base directory" ) );
|
|
|
|
|