public:
ProfilesDialog(QWidget * parent = 0);
/** @brief Using this constructor, the dialog only allows editing one profile. */
- ProfilesDialog(QString profilePath, QWidget * parent = 0);
+ explicit ProfilesDialog(QString profilePath, QWidget * parent = 0);
void fillList(const QString selectedProfile = QString());
static QMap< QString, QString > getSettingsForProfile(const QString profileName);
* @param profile The profile that gives width & height
* @param eval The string to be evaluated, for example: "%width / 2"
* @return the evaluated value */
- static double getStringEval(const MltVideoProfile &profile, QString eval);
+ static double getStringEval(const MltVideoProfile &profile, QString eval, QPoint frameSize = QPoint());
/** @brief Get the descriptive text for given colorspace code (defined by MLT)
* @param colorspace An int as defined in mlt_profile.h