Commit e1fb8f08 authored by Dirk Wilden's avatar Dirk Wilden

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@3484 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c4ae6bf0
......@@ -902,6 +902,11 @@ void Core::snapshot(){
}
void Core::resizeViewer(int _width, int _height ){
if ( OpenFlipper::Options::gui() )
coreWidget_->examiner_widget_->setSize(_width, _height);
}
/// set the descriptions for scriptable slots of the core
void Core::setDescriptions(){
......@@ -928,6 +933,12 @@ void Core::setDescriptions(){
QStringList("enabled"), QStringList("restriction switch"));
emit setSlotDescription("setMaxFrameRate(int)", "set the maximal framerate (automatically enables framerate restriction)",
QStringList("frameRate"), QStringList("Maximum frameRate"));
emit setSlotDescription("snapshotBaseFileName(QString&)", "", QStringList(), QStringList());
emit setSlotDescription("snapshot()", "Make a snapshot of the viewer.", QStringList(), QStringList());
emit setSlotDescription("resizeViewer(int,int)", "Resize the viewer",
QString("width,height").split(","),
QString("new width for the viewer,new height for the viewer").split(","));
}
// //-----------------------------------------------------------------------------
//
......
......@@ -310,6 +310,9 @@ public slots:
*/
void snapshot();
/// resize the examinerViewer
void resizeViewer(int _width, int _height );
/** @} */
//===========================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment