Ejemplo n.º 1
0
 void MriWatcherGUI::ChangeColumn()
        {
   if (g_viewall->isChecked())
     {
       return;
        }
      else
        {
       ViewOptions();
    }
}
Ejemplo n.º 2
0
	friend inline ViewOptions
	operator -  (const ViewOptions &v, EViewOption o)
	{
		return ViewOptions(v.opt & ~ static_cast<int>(o));
	}
Ejemplo n.º 3
0
	/**
	 * Substract \p r from \p l to a new option combination.
	 *
	 * @return The new option combination.
	 */
	friend inline ViewOptions
	operator -  (const ViewOptions &vl, const ViewOptions &vr)
	{
		return ViewOptions(vl.opt & ~vr.opt);
	}
Ejemplo n.º 4
0
	friend inline ViewOptions
	operator +  (const EViewOption lo, EViewOption ro)
	{
		return ViewOptions(static_cast<int>(lo) |  static_cast<int>(ro));
	}
Ejemplo n.º 5
0
	/**
	 * Adds \p l and \p r to a new option combination.
	 *
	 * @return The new option combination.
	 */
	friend inline ViewOptions
	operator +  (const ViewOptions &lv, const ViewOptions &rv)
	{
		return ViewOptions(lv.opt |  rv.opt);
	}
Ejemplo n.º 6
0
void MriWatcherGUI::SetViewAllImages()
{
  g_viewall->setChecked(true);
  ViewOptions();
}