-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
62,963 additions
and
183 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,51 @@ | ||
#ifndef __VTX_UI_CORE_LAYOUT_DESCRIPTOR__ | ||
#define __VTX_UI_CORE_LAYOUT_DESCRIPTOR__ | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace VTX::UI::Core | ||
{ | ||
using ToolIdentifier = std::string; | ||
inline static const ToolIdentifier UNKNOWN_TOOL_IDENTIFIER = ""; | ||
|
||
class ToolLayoutData | ||
{ | ||
public: | ||
std::string tabName; | ||
std::string blockName; | ||
|
||
std::string contextualMenuName; | ||
}; | ||
|
||
class ToolDescriptor | ||
{ | ||
public: | ||
ToolDescriptor(); | ||
ToolDescriptor( const ToolIdentifier & p_identifier ); | ||
ToolDescriptor( const ToolIdentifier & p_identifier, const ToolLayoutData p_layoutData ); | ||
|
||
const ToolIdentifier & getIdentifier() const { return _identifier; } | ||
const ToolLayoutData & getLayoutData() const { return _layoutData; } | ||
|
||
void setIdentifier( const ToolIdentifier & p_identifier ) { _identifier = p_identifier; } | ||
void setToolLayoutData( const ToolLayoutData & p_layoutData ) { _layoutData = p_layoutData; } | ||
|
||
private: | ||
ToolIdentifier _identifier; | ||
ToolLayoutData _layoutData = ToolLayoutData(); | ||
}; | ||
|
||
class LayoutDescriptor | ||
{ | ||
public: | ||
void addTool( const ToolDescriptor & p_toolDescriptor ); | ||
const std::vector<ToolDescriptor> & getTools() const { return _tools; }; | ||
|
||
private: | ||
std::vector<ToolDescriptor> _tools; | ||
}; | ||
|
||
} // namespace VTX::UI::Core | ||
|
||
#endif |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,16 @@ | ||
#ifndef __VTX_UI_QT_BASE_QT_TOOL__ | ||
#define __VTX_UI_QT_BASE_QT_TOOL__ | ||
|
||
#include "ui/core/base_ui_tool.hpp" | ||
#include <QObject> | ||
|
||
namespace VTX::UI::QT | ||
{ | ||
class BaseQtTool : public VTX::UI::Core::BaseVTXUITool, public QObject | ||
{ | ||
public: | ||
BaseQtTool(); | ||
}; | ||
} // namespace VTX::UI::QT | ||
|
||
#endif |
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
16 changes: 1 addition & 15 deletions
16
lib/ui/include/ui/qt/widget/miscellaneous/orient_on_first_molecule_loaded.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
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
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
Oops, something went wrong.