mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-11 02:13:55 +00:00
* AppDelegate.cs:
* packages.config: * packages.config: * qController.iOS.csproj: * qController.Droid.csproj: * qController.csproj: Update Packages * App.xaml: Add some static styles * App.xaml.cs: Trying out Sharpnado Stuff * QCueGrid.cs: Move QCueGrid Recursive stuff inside class * QBrowserViewModel.cs: Hook into new ServerFound/Lost Methods * QCueViewModel.cs: Start work on cue children updating * QServerViewModel.cs: Hook into WorkspaceAdded/Removed methods * MenuPage.xaml.cs: Remove Add from side menu * QBrowserPage.xaml: Further work on front page design * QBrowserPage.xaml.cs: Add Manually add button to main page * QWorkspacePage.xaml.cs: Move recursive stuff out of Page code behind
This commit is contained in:
@@ -6,12 +6,13 @@ using Xamarin.Forms;
|
||||
using QControlKit;
|
||||
using QControlKit.Constants;
|
||||
using QControlKit.Events;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace qController.ViewModels
|
||||
{
|
||||
public class QCueViewModel : INotifyPropertyChanged
|
||||
{
|
||||
QCue cue;
|
||||
public QCue cue;
|
||||
bool isSelected = false;
|
||||
bool isCollapsed = false;
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -46,7 +47,11 @@ namespace qController.ViewModels
|
||||
}
|
||||
else if (property.Equals(QOSCKey.Children))
|
||||
{
|
||||
Log.Debug("children property updated");
|
||||
//Log.Debug("children property updated");
|
||||
if (cue.IsGroup)
|
||||
{
|
||||
OnPropertyChanged("cues");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -136,6 +141,14 @@ namespace qController.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public List<QCue> cues
|
||||
{
|
||||
get
|
||||
{
|
||||
return cue.cues;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsSelected
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user