+19
@@ -432,6 +432,8 @@ public slots:
|
||||
|
||||
void BrowseAutoRecoveries();
|
||||
|
||||
void RequestPixelSamplingInViewers(bool e);
|
||||
|
||||
signals:
|
||||
/**
|
||||
* @brief Signal emitted when a project is opened
|
||||
@@ -472,6 +474,18 @@ signals:
|
||||
*/
|
||||
void OpenRecentListChanged();
|
||||
|
||||
/**
|
||||
* @brief Enable mouse color sampling functionality on all viewers
|
||||
*
|
||||
* This can be slow, so we only turn it on when we need it.
|
||||
*/
|
||||
void ColorPickerEnabled(bool e);
|
||||
|
||||
/**
|
||||
* @brief A viewer with color picked enabled has emitted a color
|
||||
*/
|
||||
void ColorPickerColorEmitted(const Color &reference, const Color &display);
|
||||
|
||||
private:
|
||||
/**
|
||||
* @brief Get the file filter than can be used with QFileDialog to open and save compatible projects
|
||||
@@ -595,6 +609,11 @@ private:
|
||||
*/
|
||||
QVector<QUuid> autorecovered_projects_;
|
||||
|
||||
/**
|
||||
* @brief How many widgets currently need pixel sampling access
|
||||
*/
|
||||
int pixel_sampling_users_;
|
||||
|
||||
private slots:
|
||||
void SaveAutorecovery();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user