mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Remove terminal strip widget
Since this commit, the terminals can't be moved from the tree widget, instead we need to use the "move in" widget to move one or several selected terminals in the table view.
This commit is contained in:
@@ -33,6 +33,17 @@ namespace Ui {
|
||||
class TerminalStripTreeDockWidget : public QDockWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
enum TreeWidgetType{
|
||||
Root,
|
||||
Terminal,
|
||||
FreeTerminal,
|
||||
Installation,
|
||||
Location,
|
||||
Strip
|
||||
};
|
||||
//Role used for data in QTreeWidgetItem
|
||||
static constexpr int UUID_USER_ROLE{Qt::UserRole + 1};
|
||||
|
||||
public:
|
||||
explicit TerminalStripTreeDockWidget(QETProject *project, QWidget *parent = nullptr);
|
||||
@@ -56,7 +67,6 @@ class TerminalStripTreeDockWidget : public QDockWidget
|
||||
void buildTree();
|
||||
QTreeWidgetItem* addTerminalStrip(TerminalStrip *terminal_strip);
|
||||
void addFreeTerminal();
|
||||
void setupUndoConnections();
|
||||
void setCurrentStrip(TerminalStrip *strip);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user