mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
More scroll-by-pixel on all platforms
This commit is contained in:
parent
4e09f52b22
commit
e6a394e8e7
@ -31,13 +31,13 @@ GetNewStuffDialog::GetNewStuffDialog( QWidget *parent, Qt::WindowFlags f )
|
||||
|
||||
ui->listView->setModel( m_model );
|
||||
ui->listView->setItemDelegate( new GetNewStuffDelegate( ui->listView ) );
|
||||
ui->listView->setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );
|
||||
|
||||
#ifdef Q_WS_MAC
|
||||
setMinimumSize( 510, 350 );
|
||||
setMaximumSize( 510, 350 );
|
||||
setSizeGripEnabled( false );
|
||||
|
||||
ui->listView->setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );
|
||||
ui->listView->setAttribute( Qt::WA_MacShowFocusRect, false );
|
||||
#endif
|
||||
|
||||
|
@ -110,6 +110,7 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
||||
SipConfigDelegate* sipdel = new SipConfigDelegate( this );
|
||||
ui->accountsView->setItemDelegate( sipdel );
|
||||
ui->accountsView->setContextMenuPolicy( Qt::CustomContextMenu );
|
||||
ui->accountsView->setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );
|
||||
|
||||
connect( ui->accountsView, SIGNAL( clicked( QModelIndex ) ), this, SLOT( sipItemClicked( QModelIndex ) ) );
|
||||
connect( sipdel, SIGNAL( openConfig( SipPlugin* ) ), this, SLOT( openSipConfig( SipPlugin* ) ) );
|
||||
@ -196,6 +197,7 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
||||
ui->scriptList->setItemDelegate( del );
|
||||
m_resolversModel = new ResolversModel( this );
|
||||
ui->scriptList->setModel( m_resolversModel );
|
||||
ui->scriptList->setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );
|
||||
|
||||
#ifdef LIBATTICA_FOUND
|
||||
connect( ui->getMoreResolvers, SIGNAL( clicked() ), this, SLOT( getMoreResolvers() ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user