|
lmms
Cross-platform music production software
|
Typedefs | |
| using | FloatModelView = TypedModelView<FloatModel> |
| using | IntModelView = TypedModelView<IntModel> |
| using | BoolModelView = TypedModelView<BoolModel> |
| using | sliderModel = IntModel |
| using | LcdFloatSpinBoxModel = FloatModel |
| using | LcdSpinBoxModel = IntModel |
Enumerations | |
| enum | TreeWidgetItemTypes { TypeFileItem = QTreeWidgetItem::UserType , TypeDirectoryItem } |
| enum class | KnobType { Dark28 , Bright26 , Small17 , Vintage32 , Styled } |
| enum class | EqHandleType { HighPass =1 , LowShelf , Para , HighShelf , LowPass } |
Functions | |
| static float | floatFromClipboard (bool *ok) |
| Attempt to parse a float from the clipboard. | |
| static int | computeNoteRange (int minKey, int maxKey) |
| static QString | getNoteString (int key) |
| static void | animateScroll (QScrollBar *scrollBar, int newVal, bool smoothScroll) |
| GuiApplication * | getGUI () |
| static int | getKeyOffsetFromKeyEvent (QKeyEvent *_ke) |
| QLinearGradient | getGradient (const QColor &_col, const QRectF &_rect) |
| QLinearGradient | darken (const QLinearGradient &_gradient) |
| void | drawPath (QPainter *p, const QPainterPath &path, const QColor &col, const QColor &borderCol, bool dark=false) |
| void | labelWidget (QWidget *w, const QString &txt) |
| void | convertPixmapToGrayScale (QPixmap &pixMap) |
| QFont | adjustedToPixelSize (QFont font, int size) |
| static void | setupKnobGeometry (Knob *k, int w, int h) |
Variables | |
| constexpr int | RESIZE_GRIP_WIDTH = 8 |
| The default width of the resize grip in pixels. | |
| constexpr float | RESIZE_GRIP_MAX_WIDTH_FRACTION = 0.1f |
| The maximum fraction of the clip width that the resize grip is allowed to take up. | |
| constexpr int | BeatStepButtonOffset = 4 |
| const int | INITIAL_PIANOROLL_WIDTH = 970 |
| const int | INITIAL_PIANOROLL_HEIGHT = 485 |
| const int | SCROLLBAR_SIZE = 12 |
| const int | PIANO_X = 0 |
| const int | WHITE_KEY_WIDTH = 64 |
| const int | BLACK_KEY_WIDTH = 41 |
| const int | DEFAULT_KEY_LINE_HEIGHT = 12 |
| const int | DEFAULT_CELL_WIDTH = 12 |
| const int | NOTE_EDIT_RESIZE_BAR = 6 |
| const int | NOTE_EDIT_MIN_HEIGHT = 50 |
| const int | KEY_AREA_MIN_HEIGHT = DEFAULT_KEY_LINE_HEIGHT * 10 |
| const int | PR_BOTTOM_MARGIN = SCROLLBAR_SIZE |
| const int | PR_TOP_MARGIN = 18 |
| const int | PR_RIGHT_MARGIN = SCROLLBAR_SIZE |
| constexpr int | NOTE_EDIT_LINE_WIDTH = 3 |
| Width of line for setting volume/panning of note. | |
| constexpr int | INITIAL_START_KEY = Octave::Octave_4 + Key::C |
| Key where to start. | |
| constexpr int | NUM_EVEN_LENGTHS = 6 |
| Number of each note to provide in quantization and note lengths. | |
| constexpr int | NUM_TRIPLET_LENGTHS = 5 |
| Number of each note to provide in quantization and note lengths. | |
| constexpr int | DETUNING_HANDLE_RADIUS = 3 |
| Radius of the automation node circles which appear when pitchbending a note. | |
| static std::array< QString, 12 > | s_noteStrings |
| const int | DEFAULT_PR_PPB = DEFAULT_CELL_WIDTH * DefaultStepsPerBar |
| const int | INSTRUMENT_WIDTH = 254 |
| const int | INSTRUMENT_HEIGHT = INSTRUMENT_WIDTH |
| const int | PIANO_HEIGHT = 80 |
| auto | WhiteKeys |
| The scale of C Major - white keys only. | |
| const int | PIANO_BASE = 11 |
| const int | PW_WHITE_KEY_WIDTH = 10 |
| const int | PW_BLACK_KEY_WIDTH = 8 |
| const int | PW_WHITE_KEY_HEIGHT = 57 |
| const int | PW_BLACK_KEY_HEIGHT = 38 |
| const int | LABEL_TEXT_SIZE = 8 |
| const int | CD_ENV_KNOBS_LBL_Y = 11 |
| const int | CD_KNOB_X_SPACING = 32 |
| const int | CD_LFO_SHAPES_X = 6 |
| const int | CD_LFO_SHAPES_Y = CD_ENV_KNOBS_LBL_Y + 4 |
| const int | CD_LFO_GRAPH_Y = CD_ENV_KNOBS_LBL_Y+3 |
| const int | CD_LFO_CD_KNOB_Y = CD_LFO_GRAPH_Y-2 |
| const int | CD_LFO_BASE_CD_KNOB_X = CD_LFO_SHAPES_X + 68 |
| const int | CD_LFO_SPEED_CD_KNOB_X = CD_LFO_BASE_CD_KNOB_X+CD_KNOB_X_SPACING |
| const int | CD_LFO_AMOUNT_CD_KNOB_X = CD_LFO_SPEED_CD_KNOB_X+CD_KNOB_X_SPACING |
| const int | CD_LFO_PHASE_CD_KNOB_X = CD_LFO_AMOUNT_CD_KNOB_X+CD_KNOB_X_SPACING |
| const int | CD_LFO_MULTIPLIER_X = CD_LFO_PHASE_CD_KNOB_X+CD_KNOB_X_SPACING+3 |
| constexpr int | BUFFERSIZE_RESOLUTION = 32 |
| const float | FadeDuration = 300 |
| const int | BARS_PER_GROUP = 4 |
| Alternate between a darker and a lighter background color every 4 bars. | |
| const int | MIN_PIXELS_BETWEEN_LINES = 4 |
| Lines between bars will disappear if zoomed too far out (i.e. if there are less than 4 pixels between lines). | |
| constexpr int | c_margin = 2 |
| const int | CB_ARROW_BTN_WIDTH = 18 |
| static const auto | names |
| static const int | Quantizations [] |
| const int | TEXT_TAB_HEIGHT = 14 |
| const int | GRAPHIC_TAB_HEIGHT = 17 |
| const int | DEFAULT_SETTINGS_WIDGET_WIDTH = 260 |
| const int | TRACK_OP_WIDTH = 78 |
| const int | DEFAULT_SETTINGS_WIDGET_WIDTH_COMPACT = 136 |
| const int | TRACK_OP_WIDTH_COMPACT = TRACK_OP_WIDTH |
| constexpr int | COMP_MILLI_PER_PIXEL = 6 |
| constexpr int | MIN_COMP_SCREEN_X = 800 |
| constexpr int | MIN_COMP_SCREEN_Y = 360 |
| constexpr int | MAX_COMP_SCREEN_X = 1920 |
| constexpr int | MAX_COMP_SCREEN_Y = 1080 |
| constexpr int | COMP_SCREEN_X = 800 |
| constexpr int | COMP_SCREEN_Y = 560 |
| constexpr int | KNEE_SCREEN_X = COMP_SCREEN_Y |
| constexpr int | KNEE_SCREEN_Y = COMP_SCREEN_Y |
| constexpr int | COMP_KNEE_LINES = 20 |
| constexpr int | COMP_BOX_X = 720 |
| constexpr int | COMP_BOX_Y = 280 |
| constexpr float | COMP_GRID_SPACING = 3.f |
| constexpr float | COMP_GRID_MAX = 96.f |
| const int | O1ROW = 22 |
| const int | O2ROW = 22 + 39 |
| const int | O3ROW = 22 + 39 * 2 |
| const int | LFOROW = 22 + 39 * 3 |
| const int | E1ROW = 22 + 39 * 4 |
| const int | E2ROW = 22 + 39 * 5 |
| const int | KNOBCOL1 = 16 |
| const int | KNOBCOL2 = 16 + 30 |
| const int | KNOBCOL3 = 16 + 30 * 2 |
| const int | KNOBCOL4 = 16 + 30 * 3 |
| const int | KNOBCOL5 = 16 + 30 * 4 |
| const int | KNOBCOL6 = 16 + 30 * 5 |
| const int | KNOBCOL7 = 16 + 30 * 6 |
| const int | LFOCOL1 = KNOBCOL2 |
| const int | LFOCOL2 = KNOBCOL2 + 26 |
| const int | LFOCOL3 = KNOBCOL2 + 26*2 |
| const int | LFOCOL4 = 171 |
| const int | LFOCOL5 = 171 + 26 |
| const int | LFOCOL6 = 171 + 26*2 |
| const int | MATCOL1 = 32 |
| const int | MATCOL2 = 32 + 25 |
| const int | MATCOL3 = 32 + 25*2 |
| const int | MATCOL4 = 32 + 25*3 |
| const int | MATCOL5 = 149 |
| const int | MATCOL6 = 149 + 25 |
| const int | MATCOL7 = 149 + 25*2 |
| const int | MATCOL8 = 149 + 25*3 |
| const int | MATROW1 = 22 |
| const int | MATROW2 = 22 + 39 |
| const int | MATROW3 = 22 + 39*2 |
| const int | MATROW4 = 22 + 39*3 |
| const int | MATROW5 = 22 + 39*4 |
| const int | MATROW6 = 22 + 39*5 |
| const int | OPVIEW = 0 |
| const int | MATVIEW = 1 |
| static QColor | s_emptyColor = QColor(0, 0, 0, 0) |
| static QColor | s_waveformColor = QColor(123, 49, 212) |
| static QColor | s_waveformSeekerBgColor = QColor(0, 0, 0, 255) |
| static QColor | s_waveformEditorBgColor = QColor(15, 15, 15, 255) |
| static QColor | s_waveformMaskColor = QColor(151, 65, 255) |
| static QColor | s_waveformInnerColor = QColor(183, 124, 255) |
| static QColor | s_playColor = QColor(255, 255, 255, 200) |
| static QColor | s_playHighlightColor = QColor(255, 255, 255, 70) |
| static QColor | s_sliceColor = QColor(218, 193, 255) |
| static QColor | s_sliceShadowColor = QColor(136, 120, 158) |
| static QColor | s_sliceHighlightColor = QColor(255, 255, 255) |
| static QColor | s_seekerColor = QColor(178, 115, 255) |
| static QColor | s_seekerHighlightColor = QColor(178, 115, 255, 100) |
| static QColor | s_seekerShadowColor = QColor(0, 0, 0, 120) |
| static QColor | s_editorBounding = QColor(53, 22, 90) |
| static QColor | s_gradientEnd = QColor(29, 16, 47) |
| using lmms::gui::LcdSpinBoxModel = IntModel |
| using lmms::gui::sliderModel = IntModel |
|
strong |
|
strong |
|
inline |
|
inlinestatic |
|
static |
| void lmms::gui::convertPixmapToGrayScale | ( | QPixmap & | pixMap | ) |
| QLinearGradient lmms::gui::darken | ( | const QLinearGradient & | _gradient | ) |
| void lmms::gui::drawPath | ( | QPainter * | p, |
| const QPainterPath & | path, | ||
| const QColor & | col, | ||
| const QColor & | borderCol, | ||
| bool | dark = false ) |
|
static |
Attempt to parse a float from the clipboard.
| QLinearGradient lmms::gui::getGradient | ( | const QColor & | _col, |
| const QRectF & | _rect ) |
| LMMS_EXPORT GuiApplication * lmms::gui::getGUI | ( | ) |
|
static |
|
static |
|
inline |
|
inlinestatic |
| const int lmms::gui::BARS_PER_GROUP = 4 |
Alternate between a darker and a lighter background color every 4 bars.
|
constexpr |
| const int lmms::gui::BLACK_KEY_WIDTH = 41 |
|
constexpr |
|
constexpr |
| const int lmms::gui::CB_ARROW_BTN_WIDTH = 18 |
| const int lmms::gui::CD_ENV_KNOBS_LBL_Y = 11 |
| const int lmms::gui::CD_KNOB_X_SPACING = 32 |
| const int lmms::gui::CD_LFO_AMOUNT_CD_KNOB_X = CD_LFO_SPEED_CD_KNOB_X+CD_KNOB_X_SPACING |
| const int lmms::gui::CD_LFO_BASE_CD_KNOB_X = CD_LFO_SHAPES_X + 68 |
| const int lmms::gui::CD_LFO_CD_KNOB_Y = CD_LFO_GRAPH_Y-2 |
| const int lmms::gui::CD_LFO_GRAPH_Y = CD_ENV_KNOBS_LBL_Y+3 |
| const int lmms::gui::CD_LFO_MULTIPLIER_X = CD_LFO_PHASE_CD_KNOB_X+CD_KNOB_X_SPACING+3 |
| const int lmms::gui::CD_LFO_PHASE_CD_KNOB_X = CD_LFO_AMOUNT_CD_KNOB_X+CD_KNOB_X_SPACING |
| const int lmms::gui::CD_LFO_SHAPES_X = 6 |
| const int lmms::gui::CD_LFO_SHAPES_Y = CD_ENV_KNOBS_LBL_Y + 4 |
| const int lmms::gui::CD_LFO_SPEED_CD_KNOB_X = CD_LFO_BASE_CD_KNOB_X+CD_KNOB_X_SPACING |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
| const int lmms::gui::DEFAULT_CELL_WIDTH = 12 |
| const int lmms::gui::DEFAULT_KEY_LINE_HEIGHT = 12 |
| const int lmms::gui::DEFAULT_PR_PPB = DEFAULT_CELL_WIDTH * DefaultStepsPerBar |
| const int lmms::gui::DEFAULT_SETTINGS_WIDGET_WIDTH = 260 |
| const int lmms::gui::DEFAULT_SETTINGS_WIDGET_WIDTH_COMPACT = 136 |
|
constexpr |
Radius of the automation node circles which appear when pitchbending a note.
| const int lmms::gui::E1ROW = 22 + 39 * 4 |
| const int lmms::gui::E2ROW = 22 + 39 * 5 |
| const float lmms::gui::FadeDuration = 300 |
| const int lmms::gui::GRAPHIC_TAB_HEIGHT = 17 |
| const int lmms::gui::INITIAL_PIANOROLL_HEIGHT = 485 |
| const int lmms::gui::INITIAL_PIANOROLL_WIDTH = 970 |
|
constexpr |
Key where to start.
| const int lmms::gui::INSTRUMENT_HEIGHT = INSTRUMENT_WIDTH |
| const int lmms::gui::INSTRUMENT_WIDTH = 254 |
| const int lmms::gui::KEY_AREA_MIN_HEIGHT = DEFAULT_KEY_LINE_HEIGHT * 10 |
|
constexpr |
|
constexpr |
| const int lmms::gui::KNOBCOL1 = 16 |
| const int lmms::gui::KNOBCOL2 = 16 + 30 |
| const int lmms::gui::KNOBCOL3 = 16 + 30 * 2 |
| const int lmms::gui::KNOBCOL4 = 16 + 30 * 3 |
| const int lmms::gui::KNOBCOL5 = 16 + 30 * 4 |
| const int lmms::gui::KNOBCOL6 = 16 + 30 * 5 |
| const int lmms::gui::KNOBCOL7 = 16 + 30 * 6 |
| const int lmms::gui::LABEL_TEXT_SIZE = 8 |
The height of the key label text
| const int lmms::gui::LFOCOL1 = KNOBCOL2 |
| const int lmms::gui::LFOCOL2 = KNOBCOL2 + 26 |
| const int lmms::gui::LFOCOL3 = KNOBCOL2 + 26*2 |
| const int lmms::gui::LFOCOL4 = 171 |
| const int lmms::gui::LFOCOL5 = 171 + 26 |
| const int lmms::gui::LFOCOL6 = 171 + 26*2 |
| const int lmms::gui::LFOROW = 22 + 39 * 3 |
| const int lmms::gui::MATCOL1 = 32 |
| const int lmms::gui::MATCOL2 = 32 + 25 |
| const int lmms::gui::MATCOL3 = 32 + 25*2 |
| const int lmms::gui::MATCOL4 = 32 + 25*3 |
| const int lmms::gui::MATCOL5 = 149 |
| const int lmms::gui::MATCOL6 = 149 + 25 |
| const int lmms::gui::MATCOL7 = 149 + 25*2 |
| const int lmms::gui::MATCOL8 = 149 + 25*3 |
| const int lmms::gui::MATROW1 = 22 |
| const int lmms::gui::MATROW2 = 22 + 39 |
| const int lmms::gui::MATROW3 = 22 + 39*2 |
| const int lmms::gui::MATROW4 = 22 + 39*3 |
| const int lmms::gui::MATROW5 = 22 + 39*4 |
| const int lmms::gui::MATROW6 = 22 + 39*5 |
| const int lmms::gui::MATVIEW = 1 |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
| const int lmms::gui::MIN_PIXELS_BETWEEN_LINES = 4 |
Lines between bars will disappear if zoomed too far out (i.e. if there are less than 4 pixels between lines).
|
static |
|
constexpr |
Width of line for setting volume/panning of note.
| const int lmms::gui::NOTE_EDIT_MIN_HEIGHT = 50 |
| const int lmms::gui::NOTE_EDIT_RESIZE_BAR = 6 |
|
constexpr |
Number of each note to provide in quantization and note lengths.
|
constexpr |
Number of each note to provide in quantization and note lengths.
| const int lmms::gui::O1ROW = 22 |
| const int lmms::gui::O2ROW = 22 + 39 |
| const int lmms::gui::O3ROW = 22 + 39 * 2 |
| const int lmms::gui::OPVIEW = 0 |
| const int lmms::gui::PIANO_BASE = 11 |
The height of the root note display
| const int lmms::gui::PIANO_HEIGHT = 80 |
| const int lmms::gui::PIANO_X = 0 |
| const int lmms::gui::PR_BOTTOM_MARGIN = SCROLLBAR_SIZE |
| const int lmms::gui::PR_RIGHT_MARGIN = SCROLLBAR_SIZE |
| const int lmms::gui::PR_TOP_MARGIN = 18 |
| const int lmms::gui::PW_BLACK_KEY_HEIGHT = 38 |
The height of a black key
| const int lmms::gui::PW_BLACK_KEY_WIDTH = 8 |
The width of a black key
| const int lmms::gui::PW_WHITE_KEY_HEIGHT = 57 |
The height of a white key
| const int lmms::gui::PW_WHITE_KEY_WIDTH = 10 |
The width of a white key
|
static |
|
constexpr |
The maximum fraction of the clip width that the resize grip is allowed to take up.
The maximum fraction of the note width that the resize grip is allowed to take up.
|
constexpr |
The default width of the resize grip in pixels.
Width of area used for resizing (the grip at the end of a note).
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| const int lmms::gui::SCROLLBAR_SIZE = 12 |
| const int lmms::gui::TEXT_TAB_HEIGHT = 14 |
| const int lmms::gui::TRACK_OP_WIDTH = 78 |
| const int lmms::gui::TRACK_OP_WIDTH_COMPACT = TRACK_OP_WIDTH |
| const int lmms::gui::WHITE_KEY_WIDTH = 64 |
| auto lmms::gui::WhiteKeys |
The scale of C Major - white keys only.