<file>res/images/compass.png</file>
<file>res/images/envelope.png</file>
<file>res/images/friend_group.png</file>
+ <file>res/images/gps_position.png</file>
+ <file>res/images/gps_position_s.png</file>
<file>res/images/large_profile_pic_border_left.png</file>
<file>res/images/large_profile_pic_border_middle.png</file>
<file>res/images/large_profile_pic_border_right.png</file>
- <file>res/images/gps_position.png</file>
- <file>res/images/gps_position_s.png</file>
<file>res/images/list_item_bottom.png</file>
<file>res/images/list_item_middle.png</file>
<file>res/images/list_item_top.png</file>
m_selectedGradient->setColorAt(0.98, QColor(115, 215, 255));
// Item shape path
- m_backgroundPath.moveTo(this->width(), 0); // Top right corner
+ m_backgroundPath.moveTo(this->width(), 0); // Top right corner
m_backgroundPath.lineTo(ROUNDING_ARC_RADIUS, 0);
m_backgroundPath.arcTo(0, 0, ROUNDING_ARC_RADIUS * 2, ROUNDING_ARC_RADIUS * 2,
ROUNDING_ARC_START_ANGLE, ROUNDING_ARC_LENGTH);
- m_backgroundPath.lineTo(0, this->height()); // Bottom left corner
- m_backgroundPath.lineTo(width(), this->height()); // Bottom right corner
- m_backgroundPath.closeSubpath(); // Back to the beginning
+ m_backgroundPath.lineTo(0, this->height()); // Bottom left corner
+ m_backgroundPath.lineTo(this->width(), this->height()); // Bottom right corner
+ m_backgroundPath.closeSubpath(); // Back to the beginning
}
FullScreenButton::~FullScreenButton()
m_screenSize = newSize;
QPoint resizedPosition = pos();
+
if(resizedPosition.x() > (newSize.width() - rect().width()))
resizedPosition.rx() = newSize.width() - rect().width();
else if (resizedPosition.x() < SIDEBAR_WIDTH)
resizedPosition.rx() = SIDEBAR_WIDTH;
+
if(resizedPosition.y() > (newSize.height() - rect().height()))
resizedPosition.ry() = newSize.height() - rect().height();
else if (resizedPosition.y() < 0)
*/
void timerExpired();
+/******************************************************************************
+ * SIGNALS
+ ******************************************************************************/
signals:
/**
* @brief Dragging mode triggered.