The BrowseImageWidget class Widget to add a new BrowseImageWidget.
More...
#include <browseimagewidget.h>
The BrowseImageWidget class Widget to add a new BrowseImageWidget.
- Author
- Florent Berbie
Gui::Widgets::BrowseImageWidget::BrowseImageWidget |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
QString Gui::Widgets::BrowseImageWidget::getExtension |
( |
| ) |
const |
BrowseImageWidgetextension::getExtension Return extension of the image file.
- Returns
- Extension of image file
QPixmap * Gui::Widgets::BrowseImageWidget::getImage |
( |
| ) |
|
BrowseImageWidget::getIcon Return the icon selected.
- Returns
- image
void Gui::Widgets::BrowseImageWidget::setImage |
( |
QPixmap * |
img | ) |
|
BrowseImageWidget::setImgage Change the current image by the new img
- Parameters
-
void Gui::Widgets::BrowseImageWidget::setImageScaled |
( |
QString |
path, |
|
|
int |
width = 128 , |
|
|
int |
height = 128 |
|
) |
| |
BrowseImageWidget::getImageScaled Modify the current image to a scaled image from the icon specified by it path. The image has a resolution of width*height (default 128*128)
- Parameters
-
path | Icon path |
width | Icon width |
height | Icon height |
The documentation for this class was generated from the following files:
- /home/travis/build/FACT-Team/FactDev/src/gui/widgets/browseimagewidget.h
- /home/travis/build/FACT-Team/FactDev/src/gui/widgets/browseimagewidget.cpp