refs #562, allow to validate models

* GUI part
* allow to merge a list of messages into one
* validation function
This commit is contained in:
Klaus Basan
2015-12-20 16:29:32 +01:00
parent 459b935e3b
commit 3387caabdc
9 changed files with 142 additions and 1 deletions

View File

@@ -101,6 +101,9 @@ namespace BlackGui
//! Copy over values
void ps_copyOverValues();
//! Row count changed
void ps_onRowCountChanged(int number, bool filter);
private:
QScopedPointer<Ui::CDbStashComponent> ui;
@@ -110,6 +113,12 @@ namespace BlackGui
//! Display message
bool showMessage(const BlackMisc::CStatusMessage &msg);
//! Validate
BlackMisc::CStatusMessageList validate() const;
//! Set the button row
void enableButtonRow();
//! Custom menu for the stashed models
class CStashModelsMenu : public BlackGui::IMenuDelegate
{