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:
joshua
2022-05-04 18:38:45 +02:00
parent bce6a43427
commit baf412614c
5 changed files with 30 additions and 295 deletions

View File

@@ -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: