/[svn]/qsampler/trunk/src/qsamplerInstrumentList.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerInstrumentList.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2071 by capela, Mon Mar 15 18:21:28 2010 UTC revision 2828 by capela, Wed Jul 22 21:28:27 2015 UTC
# Line 1  Line 1 
1  // qsamplerInstrumentList.cpp  // qsamplerInstrumentList.cpp
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2003-2010, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2003-2015, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2007, Christian Schoenebeck     Copyright (C) 2007, Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 29  Line 29 
29  #include "qsamplerMainForm.h"  #include "qsamplerMainForm.h"
30    
31  #include <QApplication>  #include <QApplication>
32    #include <QHeaderView>
33  #include <QCursor>  #include <QCursor>
34    
35    
# Line 345  InstrumentListView::InstrumentListView ( Line 346  InstrumentListView::InstrumentListView (
346    
347          QHeaderView *pHeader = QTreeView::header();          QHeaderView *pHeader = QTreeView::header();
348          pHeader->setDefaultAlignment(Qt::AlignLeft);          pHeader->setDefaultAlignment(Qt::AlignLeft);
349    #if QT_VERSION < 0x050000
350          pHeader->setMovable(false);          pHeader->setMovable(false);
351    #endif
352          pHeader->setStretchLastSection(true);          pHeader->setStretchLastSection(true);
353          pHeader->resizeSection(0, 120);                 // Name          pHeader->resizeSection(0, 120);                 // Name
354          QTreeView::resizeColumnToContents(1);   // Map          QTreeView::resizeColumnToContents(1);   // Map

Legend:
Removed from v.2071  
changed lines
  Added in v.2828

  ViewVC Help
Powered by ViewVC