View Issue Details

IDProjectCategoryView StatusLast Update
0000262QElectroTechElement Editorpublic2022-05-26 16:08
Reporterblack_sun_2012 Assigned Toblack_sun_2012  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionGIT/master 
Target VersionGIT/masterFixed in VersionGIT/master 
Summary0000262: Qt::Key_Space not work to rotate terminal on the fly before placing it in the drawing
Description(event -> key() == Qt::Key_Space) not work on Debian with Qt 5.15.2 since?.
Other Qt key run but not key_space.

BTW when the terminal is placed in the drawing the space key works well to rotate it.

**
    @brief ESEventAddTerminal::keyPressEvent
    @param event
    @return
*/
bool ESEventAddTerminal::keyPressEvent(QKeyEvent *event) {
    if (event -> key() == Qt::Key_Space) {
        switch (m_terminal->orientation()) {
            case Qet::North :
                m_terminal -> setOrientation(Qet::East);
                break;
            case Qet::East :
                m_terminal -> setOrientation(Qet::South);
                break;
            case Qet::South :
                m_terminal -> setOrientation(Qet::West);
                break;
            case Qet::West :
                m_terminal -> setOrientation(Qet::North);
                break;
            default :
                m_terminal -> setOrientation(Qet::North);
                break;
        }
        return true;
    }
    return (ESEventInterface::keyPressEvent(event));
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-05-21 22:02 scorpio810_mantis New Issue
2022-05-21 22:02 scorpio810_mantis Status new => assigned
2022-05-21 22:02 scorpio810_mantis Assigned To => black_sun_2012
2022-05-21 23:33 scorpio810_mantis Summary Qt::Key_Space not work. => Qt::Key_Space not work to rotate terminal on the fly before placing it in the drawing
2022-05-21 23:33 scorpio810_mantis Description Updated
2022-05-21 23:36 scorpio810_mantis Description Updated
2022-05-26 16:08 scorpio810_mantis Reporter scorpio810_mantis => black_sun_2012
2022-05-26 16:08 scorpio810_mantis Status assigned => resolved
2022-05-26 16:08 scorpio810_mantis Resolution open => fixed
2022-05-26 16:08 scorpio810_mantis Fixed in Version => GIT/master