Skip to content

Commit

Permalink
Merge branch 'master' of github.com:musescore/MuseScore
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Aug 20, 2012
2 parents a162802 + 105e9c8 commit b2243f0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 63 deletions.
4 changes: 2 additions & 2 deletions build/mingw32.mingw.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ set (QT_UIC_EXECUTABLE "${CROSSQT}/bin/uic.exe")
set (QT_RCC_EXECUTABLE "${CROSSQT}/bin/rcc")
set (QT_QTCORE_LIBRARY "mops")

set (QT_WRC_EXECUTABLE wrc.bat)
set (QT_WINE_EXECUTABLE wine.bat)
set (QT_WRC_EXECUTABLE ${CMAKE_CURRENT_LIST_DIR}/wrc.bat)
set (QT_WINE_EXECUTABLE ${CMAKE_CURRENT_LIST_DIR}/wine.bat)


set (QT_INCLUDES ${QT_INCLUDE_DIR} ${QT_QT_INCLUDE_DIR}
Expand Down
72 changes: 17 additions & 55 deletions mscore/actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,8 @@ Shortcut Shortcut::sc[] = {
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"insert-measure",
QT_TRANSLATE_NOOP("action","Insert One Measure")
QT_TRANSLATE_NOOP("action","Insert One Measure"),
measure_ICON
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
Expand All @@ -820,13 +821,15 @@ Shortcut Shortcut::sc[] = {
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"insert-hbox",
QT_TRANSLATE_NOOP("action","Insert Horizontal Frame")
QT_TRANSLATE_NOOP("action","Insert Horizontal Frame"),
hframe_ICON
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"insert-textframe",
QT_TRANSLATE_NOOP("action","Insert Text Frame")
QT_TRANSLATE_NOOP("action","Insert Text Frame"),
tframe_ICON
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
Expand All @@ -838,13 +841,15 @@ Shortcut Shortcut::sc[] = {
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"insert-fretframe",
QT_TRANSLATE_NOOP("action","Insert Fret Diagram Frame")
QT_TRANSLATE_NOOP("action","Insert Fret Diagram Frame"),
fframe_ICON
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"insert-vbox",
QT_TRANSLATE_NOOP("action","Insert Vertical Frame")
QT_TRANSLATE_NOOP("action","Insert Vertical Frame"),
vframe_ICON
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
Expand Down Expand Up @@ -1423,35 +1428,35 @@ Shortcut Shortcut::sc[] = {
0,
"play-prev-chord",
Qt::ApplicationShortcut,
QT_TRANSLATE_NOOP("action","Previous chord")
QT_TRANSLATE_NOOP("action","Play Previous Chord")
),
Shortcut(
STATE_PLAY,
0,
"play-prev-measure",
Qt::ApplicationShortcut,
QT_TRANSLATE_NOOP("action","Previous measure")
QT_TRANSLATE_NOOP("action","Play Previous Measure")
),
Shortcut(
STATE_PLAY,
0,
"play-next-chord",
Qt::ApplicationShortcut,
QT_TRANSLATE_NOOP("action","Next chord")
QT_TRANSLATE_NOOP("action","Play Next Chord")
),
Shortcut(
STATE_PLAY,
0,
"play-next-measure",
Qt::ApplicationShortcut,
QT_TRANSLATE_NOOP("action","Next measure")
QT_TRANSLATE_NOOP("action","Play Next Measure")
),
Shortcut(
STATE_PLAY,
0,
"seek-begin",
Qt::ApplicationShortcut,
QT_TRANSLATE_NOOP("action","Player seek to begin")
QT_TRANSLATE_NOOP("action","Player Seek to Begin")
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY | STATE_EDIT | STATE_LYRICS_EDIT | STATE_PLAY,
Expand All @@ -1466,7 +1471,7 @@ Shortcut Shortcut::sc[] = {
STATE_PLAY,
0,
"seek-end",
QT_TRANSLATE_NOOP("action","Player seek to end")
QT_TRANSLATE_NOOP("action","Player Seek to End")
),
Shortcut(
STATE_NORMAL,
Expand Down Expand Up @@ -1504,7 +1509,7 @@ Shortcut Shortcut::sc[] = {
STATE_NORMAL | STATE_NOTE_ENTRY | STATE_PLAY,
A_SCORE,
"save-default-style",
QT_TRANSLATE_NOOP("action","Save Style As Default..."),
QT_TRANSLATE_NOOP("action","Save Style as Default..."),
fileSave_ICON
),
Shortcut (
Expand Down Expand Up @@ -2022,49 +2027,6 @@ Shortcut Shortcut::sc[] = {
QT_TRANSLATE_NOOP("action","Master Palette..."),
QT_TRANSLATE_NOOP("action","Show master palette")
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"vframe",
QT_TRANSLATE_NOOP("action","Insert Vertical Frame"),
vframe_ICON
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"hframe",
QT_TRANSLATE_NOOP("action","Insert Horizontal Frame"),
0,
0,
hframe_ICON
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"tframe",
QT_TRANSLATE_NOOP("action","Insert Text Frame"),
0,
0,
tframe_ICON
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"fframe",
QT_TRANSLATE_NOOP("action","Insert Fret Diagram Frame"),
0,
0,
fframe_ICON
),
Shortcut(
STATE_NORMAL | STATE_NOTE_ENTRY,
0,
"measure",
QT_TRANSLATE_NOOP("action","Insert Measure"),
0,
0,
measure_ICON
),
Shortcut(
STATE_NORMAL,
0,
Expand Down
12 changes: 6 additions & 6 deletions mscore/menus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ Palette* MuseScore::newFramePalette()
sp->setName(tr("Frames"));
sp->setGrid(27, 40);
sp->setDrawGrid(true);

static const IconAction bpa[] = {
{ ICON_VFRAME, "vframe" },
{ ICON_HFRAME, "hframe" },
{ ICON_TFRAME, "tframe" },
{ ICON_FFRAME, "fframe" },
{ ICON_MEASURE, "measure" },
{ ICON_VFRAME, "insert-vbox" },
{ ICON_HFRAME, "insert-hbox" },
{ ICON_TFRAME, "insert-textframe" },
{ ICON_FFRAME, "insert-fretframe" },
{ ICON_MEASURE, "insert-measure" },
{ -1, ""}
};
populateIconPalette(sp, bpa);
Expand Down

0 comments on commit b2243f0

Please sign in to comment.