public QueryBuilder(QueryBuilderModel model) : base()
        {
            this.model = model;

            matchesBox         = new QueryBuilderMatches(model);
            matchesBox.Spacing = 5;
            matchesBox.Show();

            Alignment matchesAlignment = new Alignment(0.0f, 0.0f, 1.0f, 1.0f);

            matchesAlignment.Show();
            matchesAlignment.SetPadding(10, 10, 10, 10);
            matchesAlignment.Add(matchesBox);

            Frame matchesFrame = new Frame(null);

            matchesFrame.Show();
            matchesFrame.Add(matchesAlignment);

            matchesFrame.LabelWidget = BuildMatchHeader();

            PackStart(matchesFrame, true, true, 0);
            PackStart(BuildLimitFooter(), false, false, 0);
        }
        public QueryBuilder(QueryBuilderModel model)
            : base()
        {
            this.model = model;

            matchesBox = new QueryBuilderMatches(model);
            matchesBox.Spacing = 5;
            matchesBox.Show();

            Alignment matchesAlignment = new Alignment(0.0f, 0.0f, 1.0f, 1.0f);
            matchesAlignment.Show();
            matchesAlignment.SetPadding(10, 10, 10, 10);
            matchesAlignment.Add(matchesBox);

            Frame matchesFrame = new Frame(null);
            matchesFrame.Show();
            matchesFrame.Add(matchesAlignment);

            matchesFrame.LabelWidget = BuildMatchHeader();

            PackStart(matchesFrame, true, true, 0);
            PackStart(BuildLimitFooter(), false, false, 0);
        }