Commit ef20ecc5 authored by Kaj Williams's avatar Kaj Williams
Browse files

updated radio button labels and tooltips. Ref #4147

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@7726 41f8697f-d340-4b68-9986-7bafba869bb8
parent cac78b76
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -44,20 +44,20 @@ namespace Isis {
    QButtonGroup *exportOptionsGrp = new QButtonGroup();
    exportOptionsGrp->setExclusive(true); // only one option can be clicked
    
    p_fullImage    = new QRadioButton("Full &Image", this);
    p_fullImage    = new QRadioButton("Export Entire &Image", this);
    connect(p_fullImage, SIGNAL(clicked(bool)), this, SLOT(setFullImage(bool)));
    exportOptionsGrp->addButton(p_fullImage);
    p_fullImage->setWhatsThis("Save the entire Image");
    p_fullImage->setWhatsThis("Make a duplicate of the original image.");
    
    p_exportAsIs    = new QRadioButton("Export &As Is", this);
    p_exportAsIs    = new QRadioButton("Export Viewport &As Is", this);
    connect(p_exportAsIs, SIGNAL(clicked(bool)), this, SLOT(setAsIs(bool)));
    exportOptionsGrp->addButton(p_exportAsIs);
    p_exportAsIs->setWhatsThis("Save the Image As Viewed");
    p_exportAsIs->setWhatsThis("Save the viewport as it is currently being viewed.");
    
    p_exportFullRes = new QRadioButton("Export Full &Res", this);
    p_exportFullRes = new QRadioButton("Export Viewport at Full &Res", this);
    connect(p_exportFullRes, SIGNAL(clicked(bool)), this, SLOT(setFullResolution(bool)));
    exportOptionsGrp->addButton(p_exportFullRes);
    p_exportFullRes->setWhatsThis("Save the Image As Viewed with Full Resoultion");
    p_exportFullRes->setWhatsThis("Save the viewport but at the full resolution of the original image.");
    
    hBoxLayout->addWidget(p_exportAsIs);
    hBoxLayout->addWidget(p_exportFullRes);
+5 −0
Original line number Diff line number Diff line
@@ -42,11 +42,16 @@ namespace Isis {
  *
  * @internal
  *   @history 2011-05-11  Sharmila Prasad - Initial Version
  *   @history 2017-06-01  Kaj Williams - renamed "save as ..." radio buttons to reflect their actual usage. Updated the associated tooltips. 
  *                        Also updated the "enum saveAsType"  documentation.
  */
  class SaveAsDialog : public FileDialog {
      Q_OBJECT
    public:
      SaveAsDialog(QString pTitle, QStringList &pFilterList, QDir &pDir, QWidget *pParent = 0);
      /**
      * @param FullImage,ExportAsIs, ExportFullRes
      **/
      enum saveAsType {FullImage, ExportAsIs, ExportFullRes};
      int getSaveAsType();