class UserInfoPanel;
class ZoomButtonPanel;
class SettingsDialog;
+class QToolButton;
/**
* @brief Main Window Class
private:
/**
+ * @brief Build fullscreen toggle button and connect slots
+ */
+ void buildFullScreenButton();
+
+ /**
* @brief Build friend list panel and connect slots
*/
void buildFriendListPanel();
private slots:
/**
+ * @brief Slot for drawing the fullscreen toggle button
+ *
+ * @param size Size of the screen
+ */
+ void drawFullScreenButton(const QSize &size);
+
+ /**
* @brief Slot for drawing the Open Street Map license text
*
* @param size Size of the screen
*/
void setViewPortSize(const int width, const int height);
+ /**
+ * @brief Toggle between fullscreen and normal window mode
+ */
+ void toggleFullScreen();
+
/*******************************************************************************
* SIGNALS
******************************************************************************/
void maxZoomLevelReached();
/**
+ * @brief Signal that informs that user's message/location failed to update on Situare server
+ * This signal is originally sended from SituareService with name error
+ * Signal is renamed on MainWindow
+ */
+ void messageSendingFailed(const QString &error);
+
+ /**
* @brief Forwarding signal from MapEngine to MapView
*/
void minZoomLevelReached();
/**
+ * @brief Signal that used to inform user that his message/location update tp Situare server
+ * was failed.
+ * This signal is originally sended from UserInfo
+ */
+ void notificateUpdateFailing(const QString &message);
+
+ /**
* @brief Signal for refreshing user data.
*
*/
void updateCredentials(const QUrl &url);
/**
+ * @brief Signals when updateLocation request finished successfully
+ *
+ */
+ void updateWasSuccessful();
+
+ /**
* @brief MapView has finished zooming
*/
void viewZoomFinished();
QString m_email; ///< Placeholder for email
QString m_password; ///< Placeholder for password
+ QToolButton *m_fullScreenButton; ///< Instance of the fullscreen toggle button
+
QWebView *m_webView; ///< Shows facebook login page
FriendListPanel *m_friendsListPanel; ///< Instance of friends list panel