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

#include <editstyle.h>

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

Public Member Functions

 EditStyle (Score *, QWidget *)
 
void setPage (int no)
 
void setScore (Score *s)
 
void gotoElement (Element *e)
 switch the page to the one related to the element e More...
 

Static Public Member Functions

static bool elementHasPage (Element *e)
 check if an element has a style page related to it More...
 

Private Slots

void selectChordDescriptionFile ()
 
void setChordStyle (bool)
 
void toggleHeaderOddEven (bool)
 
void toggleFooterOddEven (bool)
 
void buttonClicked (QAbstractButton *)
 
void setSwingParams (bool)
 
void concertPitchToggled (bool)
 
void lyricsDashMinLengthValueChanged (double)
 
void lyricsDashMaxLengthValueChanged (double)
 
void systemMinDistanceValueChanged (double)
 
void systemMaxDistanceValueChanged (double)
 
void resetStyleValue (int)
 
void valueChanged (int)
 
void textStyleChanged (int)
 
void resetTextStyle (Pid)
 
void textStyleValueChanged (Pid, QVariant)
 
void on_comboFBFont_currentIndexChanged (int index)
 
void on_buttonTogglePagelist_clicked ()
 
void editUserStyleName ()
 
void endEditUserStyleName ()
 
void resetUserStyleName ()
 

Private Member Functions

virtual void showEvent (QShowEvent *)
 
virtual void hideEvent (QHideEvent *)
 
QVariant getValue (Sid idx)
 
void setValues ()
 
void applyToAllParts ()
 
const StyleWidgetstyleWidget (Sid) const
 

Private Attributes

Scorecs
 
QPushButton * buttonApplyToAllParts
 
QButtonGroup * stemGroups [VOICES]
 
QVector< StyleWidgetstyleWidgets
 
QButtonGroup * keySigNatGroup
 
QButtonGroup * clefTypeGroup
 
bool isTooBig
 
bool hasShown
 

Static Private Attributes

static const std::map< ElementType, EditStylePagePAGES
 This is a map of element type to pages, to allow the creation of a 'Style...' menu for every possible element on the score. More...
 

Constructor & Destructor Documentation

◆ EditStyle()

Ms::EditStyle::EditStyle ( Score s,
QWidget *  parent 
)

Member Function Documentation

◆ applyToAllParts()

void Ms::EditStyle::applyToAllParts ( )
private

◆ buttonClicked

void Ms::EditStyle::buttonClicked ( QAbstractButton *  b)
privateslot

◆ concertPitchToggled

void Ms::EditStyle::concertPitchToggled ( bool  checked)
privateslot

◆ editUserStyleName

void Ms::EditStyle::editUserStyleName ( )
privateslot

◆ elementHasPage()

bool Ms::EditStyle::elementHasPage ( Element e)
static

check if an element has a style page related to it

◆ endEditUserStyleName

void Ms::EditStyle::endEditUserStyleName ( )
privateslot

◆ getValue()

QVariant Ms::EditStyle::getValue ( Sid  idx)
private

◆ gotoElement()

void Ms::EditStyle::gotoElement ( Element e)

switch the page to the one related to the element e

◆ hideEvent()

void Ms::EditStyle::hideEvent ( QHideEvent *  ev)
privatevirtual

◆ lyricsDashMaxLengthValueChanged

void Ms::EditStyle::lyricsDashMaxLengthValueChanged ( double  val)
privateslot

◆ lyricsDashMinLengthValueChanged

void Ms::EditStyle::lyricsDashMinLengthValueChanged ( double  val)
privateslot

◆ on_buttonTogglePagelist_clicked

void Ms::EditStyle::on_buttonTogglePagelist_clicked ( )
privateslot

◆ on_comboFBFont_currentIndexChanged

void Ms::EditStyle::on_comboFBFont_currentIndexChanged ( int  index)
privateslot

◆ resetStyleValue

void Ms::EditStyle::resetStyleValue ( int  i)
privateslot

◆ resetTextStyle

void Ms::EditStyle::resetTextStyle ( Pid  pid)
privateslot

◆ resetUserStyleName

void Ms::EditStyle::resetUserStyleName ( )
privateslot

◆ selectChordDescriptionFile

void Ms::EditStyle::selectChordDescriptionFile ( )
privateslot

◆ setChordStyle

void Ms::EditStyle::setChordStyle ( bool  checked)
privateslot

◆ setPage()

void Ms::EditStyle::setPage ( int  no)

◆ setScore()

void Ms::EditStyle::setScore ( Score s)
inline

◆ setSwingParams

void Ms::EditStyle::setSwingParams ( bool  checked)
privateslot

◆ setValues()

void Ms::EditStyle::setValues ( )
private

◆ showEvent()

void Ms::EditStyle::showEvent ( QShowEvent *  ev)
privatevirtual

◆ styleWidget()

const StyleWidget & Ms::EditStyle::styleWidget ( Sid  idx) const
private

◆ systemMaxDistanceValueChanged

void Ms::EditStyle::systemMaxDistanceValueChanged ( double  val)
privateslot

◆ systemMinDistanceValueChanged

void Ms::EditStyle::systemMinDistanceValueChanged ( double  val)
privateslot

◆ textStyleChanged

void Ms::EditStyle::textStyleChanged ( int  row)
privateslot

◆ textStyleValueChanged

void Ms::EditStyle::textStyleValueChanged ( Pid  pid,
QVariant  value 
)
privateslot

◆ toggleFooterOddEven

void Ms::EditStyle::toggleFooterOddEven ( bool  checked)
privateslot

◆ toggleHeaderOddEven

void Ms::EditStyle::toggleHeaderOddEven ( bool  checked)
privateslot

◆ valueChanged

void Ms::EditStyle::valueChanged ( int  i)
privateslot

Member Data Documentation

◆ buttonApplyToAllParts

QPushButton* Ms::EditStyle::buttonApplyToAllParts
private

◆ clefTypeGroup

QButtonGroup* Ms::EditStyle::clefTypeGroup
private

◆ cs

Score* Ms::EditStyle::cs
private

◆ hasShown

bool Ms::EditStyle::hasShown
private

◆ isTooBig

bool Ms::EditStyle::isTooBig
private

◆ keySigNatGroup

QButtonGroup* Ms::EditStyle::keySigNatGroup
private

◆ PAGES

const std::map< ElementType, EditStylePage > Ms::EditStyle::PAGES
staticprivate

This is a map of element type to pages, to allow the creation of a 'Style...' menu for every possible element on the score.

◆ stemGroups

QButtonGroup* Ms::EditStyle::stemGroups[VOICES]
private

◆ styleWidgets

QVector<StyleWidget> Ms::EditStyle::styleWidgets
private

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