10#include <QtCore/QTimer>
17#include <GeneratedFiles/icamgui/ui_CMultiBitmapSupplierGuiComp.h>
33 I_ASSIGN(m_singleBitmapPersistenceCompPtr,
"SingleBitmapPersistence",
"Persistence for saving a single bitmap",
false,
"SingleBitmapPersistence");
34 I_ASSIGN(m_multiBitmapPersistenceCompPtr,
"MultiBitmapPersistence",
"Persistence for saving all camera images in a document",
false,
"MultiBitmapPersistence");
35 I_ASSIGN(m_iconSizeAttrPtr,
"IconSize",
"Maximum icon size in preview in px. Use 0 if you want to disable bitmap preview",
true, 48);
36 I_ASSIGN(m_filePathFormatAttrPtr,
"FilePathFormat",
"Format of file path used to save bitmap, used only if save folder is used.\n\t- %1 will be replaced with current date\n\t- %2 with time\n\t- %3 with channel index\n\t- %4 with image resolution",
true,
"%1%2_%3.png");
70 void SelectBitmap(
int bitmapIdx);
72 void ExportSelectedBitmap(
const QString& filePath = QString());
73 void ExportBitmapDocument(
const QString& filePath = QString());
74 void UpdateCommands();
81 I_ATTR(
int, m_iconSizeAttrPtr);
82 I_TEXTATTR(m_filePathFormatAttrPtr);
void OnGuiModelAttached() override
CMultiBitmapSupplierGuiComp()
void OnGuiHidden() override
Called from widget event filter when slave widget is hidden.
void on_LiveImageButton_toggled(bool checked)
void CreateShapes(int sceneId, Shapes &result) override
QWidget * GetParamsWidget() const override
void on_BitmapPreview_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
void on_ExportBitmapDocumentButton_clicked()
void on_LoadParamsButton_clicked()
void on_SaveParamsButton_clicked()
void on_SnapImageButton_clicked()
iinspgui::TSupplierGuiCompBase< Ui::CMultiBitmapSupplierGuiComp > BaseClass
void on_ExportSelectedImageButton_clicked()
void OnGuiCreated() override
Called just after GUI is initialized.
void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
Interface providing loading and saving of data objects.
Generic implementation of a multi-page bitmap.
This model wrapper provides a simple connection between a concrete istd::IChangeable implementation a...
Set of change flags (its IDs).
This package contains Qt based camera implementations.