Added accessor to strip widgets in MainWindow
This commit is contained in:
@@ -166,6 +166,16 @@ StripFactory &MainWindow::stripFactory() const
|
|||||||
return m_stripFactory;
|
return m_stripFactory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const QMap<QString, QString> &MainWindow::projects() const
|
||||||
|
{
|
||||||
|
return m_projects;
|
||||||
|
}
|
||||||
|
|
||||||
|
const std::array<StripsWidget*, 7> &MainWindow::stripsWidgets() const
|
||||||
|
{
|
||||||
|
return m_stripsWidgets;
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::getProjectsFinished()
|
void MainWindow::getProjectsFinished()
|
||||||
{
|
{
|
||||||
if(m_getProjectsReply->success())
|
if(m_getProjectsReply->success())
|
||||||
|
@@ -41,6 +41,9 @@ public:
|
|||||||
const GetUserInfoReply::UserInfo &userInfo() const;
|
const GetUserInfoReply::UserInfo &userInfo() const;
|
||||||
StripFactory &stripFactory() const;
|
StripFactory &stripFactory() const;
|
||||||
|
|
||||||
|
const QMap<QString, QString> &projects() const;
|
||||||
|
const std::array<StripsWidget*, 7> &stripsWidgets() const;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void getProjectsFinished();
|
void getProjectsFinished();
|
||||||
void getAuswertungFinished();
|
void getAuswertungFinished();
|
||||||
|
Reference in New Issue
Block a user