|
Choreonoid
1.8
|
#include <ImageView.h>
Public Member Functions | |
| ImageView () | |
| ~ImageView () | |
| void | setPixmap (const QPixmap &pixmap) |
| void | setImage (const Image &image) |
| void | setImage (const QImage &image) |
| void | setScalingEnabled (bool on) |
| bool | isScalingEnabled () const |
| ImageableItem * | getImageableItem () |
| void | setImageableItem (ImageableItem *imageable) |
| virtual bool | storeState (Archive &archive) override |
| virtual bool | restoreState (const Archive &archive) override |
Public Member Functions inherited from cnoid::View | |
| View () | |
| virtual | ~View () |
| ViewClass * | viewClass () const |
| const std::string & | name () const |
| virtual void | setName (const std::string &name) |
| void | setTitleFormat (const std::string &title) |
| void | resetTitleFormat () |
| const std::string & | titleFormat () const |
| ViewArea * | viewArea () const |
| bool | isActive () const |
| bool | hasFocus () const |
| void | bringToFront () |
| SignalProxy< void()> | sigActivated () |
| SignalProxy< void()> | sigDeactivated () |
| SignalProxy< void()> | sigResized () |
| SignalProxy< void()> | sigRemoved () |
| void | setDefaultLayoutArea (LayoutArea area) |
| LayoutArea | defaultLayoutArea () const |
| void | setLayout (QLayout *layout, double marginRatio=0.0) |
| void | setLayout (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio) |
| QPoint | viewAreaPos () const |
| virtual QWidget * | indicatorOnInfoBar () |
| void | enableFontSizeZoomKeys (bool on) |
Public Member Functions inherited from cnoid::Widget | |
| Widget (QWidget *parent=0) | |
| SignalProxy< void(std::string name)> | sigObjectNameChanged () |
| SignalProxy< void(std::string title)> | sigWindowTitleChanged () |
Static Public Member Functions | |
| static void | initializeClass (ExtensionManager *ext) |
| static ImageView * | instance () |
Static Public Member Functions inherited from cnoid::View | |
| static View * | lastFocusView () |
Protected Member Functions | |
| virtual void | onDeactivated () override |
| virtual void | onFocusChanged (bool on) override |
Protected Member Functions inherited from cnoid::View | |
| void | setLayoutContentsMarginRatio (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio) |
| void | zoomFontSize (int zoom) |
| virtual void | onActivated () |
| virtual void | onAttachedMenuRequest (MenuManager &menuManager) |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | resizeEvent (QResizeEvent *event) |
Additional Inherited Members | |
Public Types inherited from cnoid::View | |
| enum | LayoutArea { LEFT = 0, LEFT_TOP = 0, LEFT_BOTTOM = 1, CENTER = 2, RIGHT = 3, BOTTOM = 4, NUM_AREAS } |
| ImageView::ImageView | ( | ) |
| ImageView::~ImageView | ( | ) |
| ImageableItem * ImageView::getImageableItem | ( | ) |
|
static |
|
static |
| bool ImageView::isScalingEnabled | ( | ) | const |
|
overrideprotectedvirtual |
Reimplemented from cnoid::View.
|
overrideprotectedvirtual |
Reimplemented from cnoid::View.
|
overridevirtual |
Reimplemented from cnoid::View.
| void ImageView::setImage | ( | const Image & | image | ) |
| void ImageView::setImage | ( | const QImage & | image | ) |
| void ImageView::setImageableItem | ( | ImageableItem * | imageable | ) |
| void ImageView::setPixmap | ( | const QPixmap & | pixmap | ) |
| void ImageView::setScalingEnabled | ( | bool | on | ) |
|
overridevirtual |
Reimplemented from cnoid::View.
1.8.17