-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE #151][DIAGRAM_VIEW] Develop the diagram view
1. [x] Have you followed the guidelines in our [Contributing document](../blob/master/CONTRIBUTING.md)? 2. [x] Have you checked to ensure there aren't other open [Pull Requests](../pulls) for the same update/change? 3. [x] Have you built the project, and performed manual testing of your functionality for all supported platforms - Linux and Windows? 4. [x] Is your change backward-compatible with the previous version of the plugin? Change description: - Implemented 'plot view' functionality with support of the linear, point and gantt charts. Gantt charts not operable yet, while the infrustructure is already prepared. - Updated README.md - Fixed bug with endless update of the 'grouped view' - Fixed bug with short disconnection interrupting the continuous search - Adapted github workflows ---- - Implementation of the 'plot view' was heavily tested on the Linux - Fixes for bugs were verified to be functional Signed-off-by: Vladyslav Goncharuk <vladyslav_goncharuk@epam.com>
- Loading branch information
Vladyslav Goncharuk
committed
Nov 13, 2023
1 parent
51a4811
commit 53f7d48
Showing
64 changed files
with
6,518 additions
and
1,958 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* @file BaseDefinitions.cpp | ||
* @author vgoncharuk | ||
* @brief Implementation of the BaseDefinitions | ||
*/ | ||
|
||
#include "BaseDefinitions.hpp" | ||
|
||
bool QOptionalColor::operator== ( const QOptionalColor& rhs ) const | ||
{ | ||
return color == rhs.color && isSet == rhs.isSet; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/** | ||
* @file BaseDefinitions.hpp | ||
* @author vgoncharuk | ||
* @brief Declaration of the BaseDefinitions | ||
*/ | ||
|
||
#ifndef BASE_DEFINITIONS_HPP | ||
#define BASE_DEFINITIONS_HPP | ||
|
||
#include <memory> | ||
#include <vector> | ||
|
||
#include <QHash> | ||
#include <QString> | ||
#include <QMetaType> | ||
#include <QColor> | ||
|
||
typedef std::shared_ptr<QString> tQStringPtr; | ||
typedef std::vector<tQStringPtr> tQStringPtrVec; | ||
|
||
struct tQStringPtrWrapper | ||
{ | ||
tQStringPtrWrapper(); | ||
tQStringPtrWrapper(const tQStringPtr& pString_); | ||
bool operator== ( const tQStringPtrWrapper& rVal ) const; | ||
bool operator< ( const tQStringPtrWrapper& rVal ) const; | ||
tQStringPtr pString = nullptr; | ||
}; | ||
|
||
namespace std { | ||
template<> struct hash<tQStringPtrWrapper> { | ||
std::size_t operator()(const tQStringPtrWrapper& pS) const noexcept { | ||
return pS.pString ? (size_t) qHash(*pS.pString) : 0u; | ||
} | ||
}; | ||
} | ||
|
||
Q_DECLARE_METATYPE(tQStringPtrWrapper) | ||
|
||
struct QOptionalColor | ||
{ | ||
bool isSet = false; | ||
QColor color; | ||
bool operator== ( const QOptionalColor& rhs ) const; | ||
}; | ||
typedef QVector<QOptionalColor> QOptionalColorVec; | ||
|
||
#endif // BASE_DEFINITIONS_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.