forked from qt-creator/qt-creator
Improved fancylineedit and consistency
- fixed some RTL issues. I removed isSideStored and useLayoutDirection. Instead we simply flip the sides if RTL is in use. - added the fader animation and clear icon that we use in Designer already. - fixed the double toplevel popup focus issues we had with the locator menu. - removed some redundant labels and reset buttons
This commit is contained in:
@@ -69,14 +69,14 @@ QWidget *CommandMappings::createPage(QWidget *parent)
|
||||
m_page = new Ui_CommandMappings();
|
||||
QWidget *w = new QWidget(parent);
|
||||
m_page->setupUi(w);
|
||||
m_page->targetEdit->setPixmap(QPixmap(Constants::ICON_RESET));
|
||||
m_page->resetButton->setIcon(QPixmap(Constants::ICON_RESET));
|
||||
m_page->targetEdit->setSide(Utils::FancyLineEdit::Right);
|
||||
m_page->targetEdit->installEventFilter(this);
|
||||
|
||||
connect(m_page->targetEdit, SIGNAL(buttonClicked()),
|
||||
this, SLOT(resetTargetIdentifier()));
|
||||
connect(m_page->removeButton, SIGNAL(clicked()),
|
||||
this, SLOT(removeTargetIdentifier()));
|
||||
connect(m_page->resetButton, SIGNAL(clicked()),
|
||||
this, SLOT(resetTargetIdentifier()));
|
||||
connect(m_page->exportButton, SIGNAL(clicked()),
|
||||
this, SLOT(exportAction()));
|
||||
connect(m_page->importButton, SIGNAL(clicked()),
|
||||
|
||||
Reference in New Issue
Block a user