Commit b4cf543d authored by dcookastrog's avatar dcookastrog
Browse files

Merge remote-tracking branch 'upstream/dev' into devRadii

parents 69ff467a ea8b672c
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -435,17 +435,15 @@ namespace Isis {


  /**
   * Retrieves solve settings for the observation corresponding to the given
   * observation number.
   * Retrieves solve settings for the observation corresponding to the given observation number. 
   * If no corresponding settings object exists, return a new solve settings with no related 
   * observation numbers.
   *
   * @param observationNumber The observation number associated with the
   *                          BundleObservationSolveSettings object to be accessed.
   *
   * @return @b BundleObservationSolveSettings The observation settings object that contains
   *                                           the observation number passed.
   *
   * @throw IException::Unknown "Unable to find BundleObservationSolveSettings
   *                             for given observation number"
   */
  BundleObservationSolveSettings
      BundleSettings::observationSolveSettings(QString observationNumber) const {
+0 −1
Original line number Diff line number Diff line
@@ -434,7 +434,6 @@ Testing XML: Object deserialized as (should match object above):


Testing error throws...
**ERROR** Unable to find BundleObservationSolveSettings for observation number [UnassociatedObservationNumber].
**ERROR** Unable to find BundleObservationSolveSettings with index = [32].
**ERROR** Unable to find BundleObservationSolveSettings with index = [-1].
**PROGRAMMER ERROR** Unknown bundle convergence criteria [Pickles].
+3 −2
Original line number Diff line number Diff line
@@ -5,9 +5,10 @@

namespace Isis {
  /**   
   * @brief QProgressBar with customizable text
   *
   * @author ????-??-?? Steven Lambright
   * @internal ????-??-?? Steven Lambright - QProgressBar with customizable text
   *
   *                            
   */

+0 −33
Original line number Diff line number Diff line
#include "ProjectItemImageProxyModel.h"

#include <QModelIndex>
#include <QObject>
#include <QSortFilterProxyModel>

#include "ProjectItem.h"

namespace Isis {

  ProjectItemImageProxyModel::ProjectItemImageProxyModel(QObject *parent)
    : QSortFilterProxyModel(parent) {
  }


  bool ProjectItemImageProxyModel::filterAcceptsColumn(int sourceColumn,
                                                       const QModelIndex &sourceParent) const {

  }


  bool ProjectItemImageProxyModel::filterAcceptsRow(int sourceRow,
                                                    const QModelIndex &sourceParent) const {
    ProjectItemModel *source = static_cast<ProjectItemModel *>(sourceModel());
    QModelIndex modelIndex = source->index(sourceRow, 0, sourceParent);
    ProjectItem *item = source->itemFromIndex(modelIndex);
    if (item->isImage() || item->isImageList()) {
        return true;
    }
    return false;
  }

}
+0 −21
Original line number Diff line number Diff line
#ifndef ProjectItemImageProxyModel_h
#define ProjectItemImageProxyModel_h

#include <QSortFilterProxyModel>

namespace Isis {

  class ProjectItemImageProxyModel : public QSortFilterProxyModel {
    public:
      ProjectItemImageProxyModel(QObject *parent = NULL);
      ~ProjectItemImageProxyModel();

    protected:
      virtual bool filterAcceptsColumn(int sourceColumn,
                                     const QModelIndex &sourceParent) const override;
      virtual bool filterAcceptsRow(int sourceRow,
                                  const QModelIndex &sourceParent) const override;
  };
}

#endif
Loading