MuseScore  3.4
Music composition and notation
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
Ms::ScoreTab Class Reference

#include <scoretab.h>

Inheritance diagram for Ms::ScoreTab:
Inheritance graph
[legend]
Collaboration diagram for Ms::ScoreTab:
Collaboration graph
[legend]

Public Slots

void updateExcerpts ()
 
void setExcerpt (int)
 
void tabMoved (int, int)
 

Signals

void currentScoreViewChanged (ScoreView *)
 
void tabCloseRequested (int)
 
void actionTriggered (QAction *)
 
void tabInserted (int)
 
void tabRemoved (int)
 
void tabRenamed (int)
 

Public Member Functions

 ScoreTab (QList< MasterScore *> *, QWidget *parent=0)
 
 ~ScoreTab ()
 
QTabBar * getTab () const
 
void insertTab (MasterScore *)
 
void setTabText (int, const QString &)
 
int currentIndex () const
 
void setCurrentIndex (int)
 
bool setCurrentScore (Score *s)
 
void removeTab (int, bool noCurrentChangedSignal=false)
 
int count () const
 
ScoreViewview (int) const
 
QSplitter * viewSplitter (int n) const
 
ScoreViewview () const
 
bool contains (ScoreView *) const
 
void initScoreView (int idx, double mag, MagIdx magIdx, double xoffset, double yoffset)
 

Private Slots

void setCurrent (int)
 

Private Member Functions

void clearTab2 ()
 
TabScoreViewtabScoreView (int idx)
 
const TabScoreViewtabScoreView (int idx) const
 

Private Attributes

QList< MasterScore * > * scoreList
 
QTabBar * tab
 
QTabBar * tab2
 
QStackedLayout * stack
 
MuseScoremainWindow
 

Constructor & Destructor Documentation

◆ ScoreTab()

Ms::ScoreTab::ScoreTab ( QList< MasterScore *> *  sl,
QWidget *  parent = 0 
)

◆ ~ScoreTab()

Ms::ScoreTab::~ScoreTab ( )

Member Function Documentation

◆ actionTriggered

void Ms::ScoreTab::actionTriggered ( QAction *  )
signal

◆ clearTab2()

void Ms::ScoreTab::clearTab2 ( )
private

◆ contains()

bool Ms::ScoreTab::contains ( ScoreView ) const

◆ count()

int Ms::ScoreTab::count ( ) const
inline

◆ currentIndex()

int Ms::ScoreTab::currentIndex ( ) const

◆ currentScoreViewChanged

void Ms::ScoreTab::currentScoreViewChanged ( ScoreView )
signal

◆ getTab()

QTabBar* Ms::ScoreTab::getTab ( ) const
inline

◆ initScoreView()

void Ms::ScoreTab::initScoreView ( int  idx,
double  mag,
MagIdx  magIdx,
double  xoffset,
double  yoffset 
)

◆ insertTab()

void Ms::ScoreTab::insertTab ( MasterScore s)

◆ removeTab()

void Ms::ScoreTab::removeTab ( int  idx,
bool  noCurrentChangedSignal = false 
)

◆ setCurrent

void Ms::ScoreTab::setCurrent ( int  n)
privateslot

◆ setCurrentIndex()

void Ms::ScoreTab::setCurrentIndex ( int  idx)

◆ setCurrentScore()

bool Ms::ScoreTab::setCurrentScore ( Score s)

◆ setExcerpt

void Ms::ScoreTab::setExcerpt ( int  n)
slot

◆ setTabText()

void Ms::ScoreTab::setTabText ( int  idx,
const QString &  s 
)

◆ tabCloseRequested

void Ms::ScoreTab::tabCloseRequested ( int  )
signal

◆ tabInserted

void Ms::ScoreTab::tabInserted ( int  )
signal

◆ tabMoved

void Ms::ScoreTab::tabMoved ( int  from,
int  to 
)
slot

◆ tabRemoved

void Ms::ScoreTab::tabRemoved ( int  )
signal

◆ tabRenamed

void Ms::ScoreTab::tabRenamed ( int  )
signal

◆ tabScoreView() [1/2]

TabScoreView* Ms::ScoreTab::tabScoreView ( int  idx)
inlineprivate

◆ tabScoreView() [2/2]

const TabScoreView* Ms::ScoreTab::tabScoreView ( int  idx) const
inlineprivate

◆ updateExcerpts

void Ms::ScoreTab::updateExcerpts ( )
slot

◆ view() [1/2]

ScoreView * Ms::ScoreTab::view ( int  n) const

◆ view() [2/2]

ScoreView* Ms::ScoreTab::view ( ) const
inline

◆ viewSplitter()

QSplitter * Ms::ScoreTab::viewSplitter ( int  n) const

Member Data Documentation

◆ mainWindow

MuseScore* Ms::ScoreTab::mainWindow
private

◆ scoreList

QList<MasterScore*>* Ms::ScoreTab::scoreList
private

◆ stack

QStackedLayout* Ms::ScoreTab::stack
private

◆ tab

QTabBar* Ms::ScoreTab::tab
private

◆ tab2

QTabBar* Ms::ScoreTab::tab2
private

The documentation for this class was generated from the following files: