Changeset View
Changeset View
Standalone View
Standalone View
src/qml/ContentView.qml
Show First 20 Lines • Show All 355 Lines • ▼ Show 20 Line(s) | 340 | Rectangle { | |||
---|---|---|---|---|---|
356 | Layout.minimumWidth: 1 | 356 | Layout.minimumWidth: 1 | ||
357 | Layout.maximumWidth: 1 | 357 | Layout.maximumWidth: 1 | ||
358 | } | 358 | } | ||
359 | 359 | | |||
360 | MediaPlayListView { | 360 | MediaPlayListView { | ||
361 | id: playList | 361 | id: playList | ||
362 | 362 | | |||
363 | Layout.fillHeight: true | 363 | Layout.fillHeight: true | ||
364 | Layout.leftMargin: elisaTheme.layoutHorizontalMargin | 364 | Layout.leftMargin: !LayoutMirroring.enabled ? elisaTheme.layoutHorizontalMargin : 0 | ||
365 | Layout.rightMargin: LayoutMirroring.enabled ? elisaTheme.layoutHorizontalMargin : 0 | ||||
365 | 366 | | |||
366 | Layout.minimumWidth: contentZone.width | 367 | Layout.minimumWidth: contentZone.width | ||
367 | Layout.maximumWidth: contentZone.width | 368 | Layout.maximumWidth: contentZone.width | ||
368 | Layout.preferredWidth: contentZone.width | 369 | Layout.preferredWidth: contentZone.width | ||
369 | 370 | | |||
370 | onStartPlayback: elisa.audioControl.ensurePlay() | 371 | onStartPlayback: elisa.audioControl.ensurePlay() | ||
371 | 372 | | |||
372 | onPausePlayback: elisa.audioControl.playPause() | 373 | onPausePlayback: elisa.audioControl.playPause() | ||
Show All 38 Lines | 403 | sourceComponent: ContextView { | |||
411 | fileUrl: elisa.manageHeaderBar.fileName | 412 | fileUrl: elisa.manageHeaderBar.fileName | ||
412 | } | 413 | } | ||
413 | 414 | | |||
414 | Layout.fillHeight: true | 415 | Layout.fillHeight: true | ||
415 | 416 | | |||
416 | Layout.minimumWidth: 0 | 417 | Layout.minimumWidth: 0 | ||
417 | Layout.maximumWidth: 0 | 418 | Layout.maximumWidth: 0 | ||
418 | Layout.preferredWidth: 0 | 419 | Layout.preferredWidth: 0 | ||
419 | Layout.leftMargin: elisaTheme.layoutHorizontalMargin * 1.5 | 420 | Layout.leftMargin: !LayoutMirroring.enabled ? elisaTheme.layoutHorizontalMargin * 1.5 : 0 | ||
421 | Layout.rightMargin: LayoutMirroring.enabled ? elisaTheme.layoutHorizontalMargin * 1.5 : 0 | ||||
420 | 422 | | |||
421 | visible: Layout.minimumWidth != 0 | 423 | visible: Layout.minimumWidth != 0 | ||
422 | } | 424 | } | ||
423 | } | 425 | } | ||
424 | } | 426 | } | ||
425 | 427 | | |||
426 | states: [ | 428 | states: [ | ||
427 | State { | 429 | State { | ||
▲ Show 20 Lines • Show All 142 Lines • Show Last 20 Lines |