MuseScore
3.4
Music composition and notation
mscore
toolbarEditor.h
Go to the documentation of this file.
1
//=============================================================================
2
// MuseScore
3
// Music Composition & Notation
4
//
5
// Copyright (C) 2016 Werner Schweer
6
//
7
// This program is free software; you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License version 2
9
// as published by the Free Software Foundation and appearing in
10
// the file LICENCE.GPL
11
//=============================================================================
12
13
#ifndef __TOOLBAREDITOR_H__
14
#define __TOOLBAREDITOR_H__
15
16
#include "ui_toolbarEditor.h"
17
18
namespace
Ms
{
19
20
//---------------------------------------------------------
21
// ToolbarEditor
22
//---------------------------------------------------------
23
24
class
ToolbarEditor
:
public
QDialog,
public
Ui::ToolbarEditor {
25
Q_OBJECT
26
27
std::vector<std::list<const char*>*> *
new_toolbars
;
28
void
updateNewToolbar
(
int
toolbar_to_update);
29
30
void
populateLists
(
const
std::list<const char*>&, std::list<const char*>*);
31
bool
isSpacer
(QListWidgetItem*)
const
;
32
33
virtual
void
hideEvent
(QHideEvent*);
34
private
slots:
35
void
toolbarChanged
(
int
);
36
void
addAction
();
37
void
removeAction
();
38
void
upAction
();
39
void
downAction
();
40
void
accepted
();
41
42
public
:
43
ToolbarEditor
(QWidget* parent = 0);
44
void
init
();
45
};
46
47
}
// namespace Ms
48
49
#endif
50
Ms::ToolbarEditor::toolbarChanged
void toolbarChanged(int)
Definition:
toolbarEditor.cpp:247
Ms::ToolbarEditor::downAction
void downAction()
Definition:
toolbarEditor.cpp:232
Ms::ToolbarEditor::removeAction
void removeAction()
Definition:
toolbarEditor.cpp:202
Ms::ToolbarEditor::isSpacer
bool isSpacer(QListWidgetItem *) const
Definition:
toolbarEditor.cpp:167
Ms::ToolbarEditor::populateLists
void populateLists(const std::list< const char *> &, std::list< const char *> *)
Definition:
toolbarEditor.cpp:119
Ms::ToolbarEditor
Definition:
toolbarEditor.h:24
Ms::ToolbarEditor::ToolbarEditor
ToolbarEditor(QWidget *parent=0)
Definition:
toolbarEditor.cpp:43
Ms
Definition:
aeolus.cpp:26
Ms::ToolbarEditor::upAction
void upAction()
Definition:
toolbarEditor.cpp:217
Ms::ToolbarEditor::updateNewToolbar
void updateNewToolbar(int toolbar_to_update)
Definition:
toolbarEditor.cpp:275
Ms::ToolbarEditor::addAction
void addAction()
Definition:
toolbarEditor.cpp:176
Ms::ToolbarEditor::init
void init()
Definition:
toolbarEditor.cpp:77
Ms::ToolbarEditor::hideEvent
virtual void hideEvent(QHideEvent *)
Definition:
toolbarEditor.cpp:265
Ms::ToolbarEditor::accepted
void accepted()
Definition:
toolbarEditor.cpp:101
Ms::ToolbarEditor::new_toolbars
std::vector< std::list< const char * > * > * new_toolbars
Definition:
toolbarEditor.h:27
Generated by
1.8.13