Work on authentication design.
This commit is contained in:
parent
bf12b1c6ce
commit
609a0c81b1
@ -17,7 +17,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string/>
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
|
@ -243,6 +243,10 @@ void FormStandardFeedDetails::initialize() {
|
||||
m_ui = new Ui::FormStandardFeedDetails();
|
||||
m_ui->setupUi(this);
|
||||
|
||||
// Add button for fetching feed data from internet.
|
||||
m_btnLoadDataFromInternet = m_ui->m_buttonBox->addButton(tr("Auto-fetch feed metadata"),
|
||||
QDialogButtonBox::HelpRole);
|
||||
|
||||
// Set flags and attributes.
|
||||
setWindowFlags(Qt::MSWindowsFixedSizeDialogHint | Qt::Dialog);
|
||||
setWindowIcon(IconThemeFactory::instance()->fromTheme("document-new"));
|
||||
|
@ -71,6 +71,7 @@ class FormStandardFeedDetails : public QDialog {
|
||||
QAction *m_actionLoadIconFromFile;
|
||||
QAction *m_actionUseDefaultIcon;
|
||||
QAction *m_actionNoIcon;
|
||||
QPushButton *m_btnLoadDataFromInternet;
|
||||
};
|
||||
|
||||
#endif // FORMSTANDARDFEEDDETAILS_H
|
||||
|
@ -7,11 +7,11 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>375</width>
|
||||
<height>337</height>
|
||||
<height>360</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
|
@ -48,6 +48,9 @@ QIcon MessageBox::iconForRole(QDialogButtonBox::StandardButton button) {
|
||||
case QMessageBox::NoToAll:
|
||||
return IconThemeFactory::instance()->fromTheme("dialog-no");
|
||||
|
||||
case QMessageBox::Help:
|
||||
return IconThemeFactory::instance()->fromTheme("dialog-information");
|
||||
|
||||
default:
|
||||
return QIcon();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user