Skip to content

Commit

Permalink
windows export dialog fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sb0y committed Apr 16, 2015
1 parent 83ad9c6 commit 5bac625
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion qsc.pro
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ include ( src/common.pri )
RESOURCES += \
icons.qrc

VERSION = 0.0.0.5
VERSION = 0.0.0.6
QMAKE_TARGET_COMPANY = bagrintsev.me
QMAKE_TARGET_PRODUCT = QScreenShotter
QMAKE_TARGET_DESCRIPTION = Simple screenshot program
2 changes: 1 addition & 1 deletion src/aboutdialog.ui
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Version 0.5b</string>
<string>Version 0.6b</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
6 changes: 4 additions & 2 deletions src/exportresult.cpp
Original file line number Diff line number Diff line change
@@ -79,14 +79,16 @@ void exportResult::makeEasy()
delete advancedLayout;
advancedLayout = NULL;

setMinimumHeight ( 0 );
setFixedHeight ( 100 );

ui->advancedButton->setText ( "Advanced" );
}


void exportResult::makeHard()
{
_geometry = geometry();

setSizePolicy ( QSizePolicy::Fixed, QSizePolicy::Preferred );
setFixedHeight ( size().height() );

@@ -124,7 +126,7 @@ void exportResult::makeHard()
advancedLayout->addRow ( bbcodeLabel, bbcode );
advancedLayout->addRow ( bbcodeThumbnailLabel, bbcodeThumbnail );

ui->verticalLayout_2->insertLayout(1,advancedLayout,1);
ui->verticalLayout_2->insertLayout ( 1, advancedLayout, 1 );

ui->advancedButton->setText ( "Simple" );
}
2 changes: 2 additions & 0 deletions src/exportresult.h
Original file line number Diff line number Diff line change
@@ -22,6 +22,8 @@ class exportResult : public QDialog
void makeEasy();
void makeHard();

QRect _geometry;

public slots:
void updateLabels();
void advancedButton();
2 changes: 1 addition & 1 deletion winSetup.iss
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "QScreenShotter"
#define MyAppVersion "0.5b"
#define MyAppVersion "0.6b"
#define MyAppPublisher "bagrintsev.me"
#define MyAppURL "http://www.bagrintsev.me/"
#define MyAppExeName "qsc.exe"

0 comments on commit 5bac625

Please sign in to comment.