Compare commits
4 Commits
4320833af3
...
aefcb78e9d
Author | SHA1 | Date |
---|---|---|
yangjiaxuan | aefcb78e9d | |
yangjiaxuan | 6f7c5de9d9 | |
luoliangyi | f5598f7313 | |
luoliangyi | a52a780b80 |
|
@ -55,6 +55,7 @@ Dialog_Export::Dialog_Export(int total, const std::vector<int> &selectedIndexs,
|
|||
, m_selectedIndexs(selectedIndexs)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
|
||||
|
||||
m_supportType.push_back(SupportType(".jpg", "JPG - JPEG / JFIF", FILE_TYPE_ATTR_MORE_OPTIONS));
|
||||
m_supportType.push_back(SupportType(".bmp", "BMP - Windows Bitmap", FILE_TYPE_ATTR_NO_MORE_OPTION));
|
||||
|
|
|
@ -13,6 +13,8 @@ Dialog_ImageInfo::Dialog_ImageInfo(const QStringList& file_keys, const QStringLi
|
|||
ui->setupUi(this);
|
||||
|
||||
this->resize(600,400);
|
||||
setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
|
||||
|
||||
ui->treeWidget->header()->resizeSections(QHeaderView::ResizeToContents);
|
||||
ui->treeWidget->setColumnCount(2);
|
||||
ui->treeWidget->setColumnWidth(0,180);
|
||||
|
|
|
@ -12,6 +12,8 @@ Dialog_MultiRotate::Dialog_MultiRotate(QWidget *parent) :
|
|||
m_rotate_page_type(0)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
|
||||
|
||||
m_group_rotation->addButton(ui->rbtn_clockwise, 0);
|
||||
m_group_rotation->addButton(ui->rbtn_180degree, 1);
|
||||
m_group_rotation->addButton(ui->rbtn_anticlockwise, 2);
|
||||
|
|
|
@ -65,6 +65,7 @@ Dialog_SaveAs::Dialog_SaveAs(QWidget *parent) :
|
|||
, ui(new Ui::Dialog_SaveAs)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
|
||||
|
||||
ui->fileDialog->setAcceptMode(QFileDialog::AcceptSave);
|
||||
ui->fileDialog->setWindowFlags(ui->fileDialog->windowFlags() & ~Qt::Dialog);
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue