reimplemented zooming controls
This commit is contained in:
@@ -39,6 +39,14 @@ void PanelWidget::SetBorderVisible(bool enabled)
|
||||
update();
|
||||
}
|
||||
|
||||
void PanelWidget::ZoomIn()
|
||||
{
|
||||
}
|
||||
|
||||
void PanelWidget::ZoomOut()
|
||||
{
|
||||
}
|
||||
|
||||
void PanelWidget::SetTitle(const QString &t)
|
||||
{
|
||||
title_ = t;
|
||||
|
||||
@@ -46,6 +46,22 @@ public:
|
||||
* @param enabled
|
||||
*/
|
||||
void SetBorderVisible(bool enabled);
|
||||
|
||||
/**
|
||||
* @brief Called whenever this panel is focused and user uses "Zoom In" (either in menus or as a keyboard shortcut)
|
||||
*
|
||||
* This function is up to the Panel's interpretation of what the user intends to zoom into. Default behavior is a
|
||||
* no-op.
|
||||
*/
|
||||
virtual void ZoomIn();
|
||||
|
||||
/**
|
||||
* @brief Called whenever this panel is focused and user uses "Zoom Out" (either in menus or as a keyboard shortcut)
|
||||
*
|
||||
* This function is up to the Panel's interpretation of what the user intends to zoom out of. Default behavior is a
|
||||
* no-op.
|
||||
*/
|
||||
virtual void ZoomOut();
|
||||
protected:
|
||||
/**
|
||||
* @brief Set panel's title
|
||||
|
||||
Reference in New Issue
Block a user