Changeset 70610 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 17, 2018 2:45:30 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/logviewer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerBookmarksPanel.cpp
r70581 r70610 27 27 # endif 28 28 # include <QLabel> 29 # include <QPushButton>30 29 31 30 /* GUI includes: */ … … 108 107 mainLayout()->addWidget(m_pDeleteCurrentButton, 0); 109 108 110 m_pDeleteAllButton = new Q PushButton(this);109 m_pDeleteAllButton = new QIToolButton(this); 111 110 AssertPtrReturnVoid(m_pDeleteAllButton); 112 111 mainLayout()->addWidget(m_pDeleteAllButton, 0); … … 119 118 connect(m_pBookmarksComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), 120 119 this, &UIVMLogViewerBookmarksPanel::sltBookmarkSelected); 121 122 connect(m_pDeleteAllButton, &QPushButton::clicked, this, &UIVMLogViewerBookmarksPanel::sigDeleteAllBookmarks); 120 connect(m_pDeleteAllButton, &QIToolButton::clicked, this, &UIVMLogViewerBookmarksPanel::sigDeleteAllBookmarks); 123 121 connect(m_pDeleteCurrentButton, &QIToolButton::clicked, this, &UIVMLogViewerBookmarksPanel::sltDeleteCurrentBookmark); 124 122 } -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerBookmarksPanel.h
r70581 r70610 24 24 /* Forward declarations: */ 25 25 class QComboBox; 26 class QPushButton;27 26 class QIToolButton; 28 27 … … 73 72 const int m_iMaxBookmarkTextLength; 74 73 QComboBox *m_pBookmarksComboBox; 75 Q PushButton*m_pDeleteAllButton;74 QIToolButton *m_pDeleteAllButton; 76 75 QIToolButton *m_pDeleteCurrentButton; 77 76 }; -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerDialog.cpp
r70189 r70610 27 27 # include <QKeyEvent> 28 28 # include <QLabel> 29 # include <QPushButton>30 29 # include <QScrollBar> 31 30 # include <QPlainTextEdit> 31 # include <QPushButton> 32 32 # include <QVBoxLayout> 33 33 … … 150 150 return gEDataManager->logWindowShouldBeMaximized(); 151 151 } 152 -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerFilterPanel.cpp
r70578 r70610 31 31 # include <QLineEdit> 32 32 # include <QPlainTextEdit> 33 # include <QPushButton>34 33 # include <QTextCursor> 35 34 # include <QToolButton> … … 38 37 39 38 /* GUI includes: */ 39 # include "QIToolButton.h" 40 40 # include "UIIconPool.h" 41 41 # include "UISpecialControls.h" … … 350 350 } 351 351 352 m_pAddFilterTermButton = new Q PushButton(this);352 m_pAddFilterTermButton = new QIToolButton(this); 353 353 AssertPtrReturnVoid(m_pAddFilterTermButton); 354 354 { … … 418 418 void UIVMLogViewerFilterPanel::prepareConnections() 419 419 { 420 connect(m_pAddFilterTermButton, &Q PushButton::clicked, this, &UIVMLogViewerFilterPanel::sltAddFilterTerm);420 connect(m_pAddFilterTermButton, &QIToolButton::clicked, this, &UIVMLogViewerFilterPanel::sltAddFilterTerm); 421 421 connect(m_pButtonGroup, static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonClicked), 422 422 this, &UIVMLogViewerFilterPanel::sltOperatorButtonChanged); -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerFilterPanel.h
r70578 r70610 29 29 class QLabel; 30 30 class QLineEdit; 31 class Q PushButton;31 class QIToolButton; 32 32 class QRadioButton; 33 33 class UIVMFilterLineEdit; … … 100 100 QRadioButton *m_pOrRadioButton; 101 101 QFrame *m_pRadioButtonContainer; 102 Q PushButton*m_pAddFilterTermButton;102 QIToolButton *m_pAddFilterTermButton; 103 103 QStringList m_filterTermList; 104 104 FilterOperatorButton m_eFilterOperatorButton;
Note:
See TracChangeset
for help on using the changeset viewer.