tools/qml/qmlruntime.h
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   103     void setUseNativeFileBrowser(bool);
   103     void setUseNativeFileBrowser(bool);
   104     void setSizeToView(bool sizeToView);
   104     void setSizeToView(bool sizeToView);
   105 
   105 
   106     QDeclarativeView *view() const;
   106     QDeclarativeView *view() const;
   107     LoggerWidget *warningsWidget() const;
   107     LoggerWidget *warningsWidget() const;
       
   108     QString currentFile() const { return currentFileOrUrl; }
   108 
   109 
   109     void enableExperimentalGestures();
   110     void enableExperimentalGestures();
   110 
   111 
   111 public slots:
   112 public slots:
   112     void sceneResized(QSize size);
   113     void sceneResized(QSize size);
   113     bool open(const QString&);
   114     bool open(const QString&);
   114     void openFile();
   115     void openFile();
       
   116     void openUrl();
   115     void reload();
   117     void reload();
   116     void takeSnapShot();
   118     void takeSnapShot();
   117     void toggleRecording();
   119     void toggleRecording();
   118     void toggleRecordingWithSelection();
   120     void toggleRecordingWithSelection();
   119     void ffmpegFinished(int code);
   121     void ffmpegFinished(int code);
   167     QStringList record_args;
   169     QStringList record_args;
   168     int record_rate;
   170     int record_rate;
   169     int record_autotime;
   171     int record_autotime;
   170     bool devicemode;
   172     bool devicemode;
   171     QAction *recordAction;
   173     QAction *recordAction;
   172     QString currentSkin;
       
   173     bool scaleSkin;
       
   174     RecordingDialog *recdlg;
   174     RecordingDialog *recdlg;
   175 
   175 
   176     void senseImageMagick();
   176     void senseImageMagick();
   177     void senseFfmpeg();
   177     void senseFfmpeg();
   178     QWidget *ffmpegHelpWindow;
   178     QWidget *ffmpegHelpWindow;
   179     bool ffmpegAvailable;
   179     bool ffmpegAvailable;
   180     bool convertAvailable;
   180     bool convertAvailable;
   181 
   181 
       
   182     QAction *rotateAction;
   182     QActionGroup *orientation;
   183     QActionGroup *orientation;
   183     QAction *showWarningsWindow;
   184     QAction *showWarningsWindow;
   184 
   185 
   185     QString m_script;
   186     QString m_script;
   186     ScriptOptions m_scriptOptions;
   187     ScriptOptions m_scriptOptions;