2
* This file Copyright (C) 2009 Charles Kerr <charles@transmissionbt.com>
4
* This file is licensed by the GPL version 2. Works owned by the
5
* Transmission project are granted a special exemption to clause 2(b)
6
* so that the bulk of its code can remain under the MIT license.
7
* This exemption does not extend to derived works not owned by
8
* the Transmission project.
19
struct QAbstractButton;
20
struct QPlainTextEdit;
30
struct tr_metainfo_builder;
33
class MakeDialog: public QDialog
38
void onFolderButtonPressed( );
39
void onFileButtonPressed( );
40
void onFileSelectedInDialog( const QString& path );
41
void onSourceChanged( );
42
void onButtonBoxClicked( QAbstractButton* );
48
void refreshButtons( );
49
void setIsBuilding( bool );
50
QString getResult( ) const;
55
QLineEdit * mySourceEdit;
56
QLabel * mySourceLabel;
57
QPlainTextEdit * myTrackerEdit;
58
QLineEdit * myCommentEdit;
59
QCheckBox * myPrivateCheck;
60
QProgressBar * myProgressBar;
61
QLabel * myProgressLabel;
62
QPushButton * myMakeButton;
63
QPushButton * myCloseButton;
64
QPushButton * myStopButton;
65
struct tr_metainfo_builder * myBuilder;
69
MakeDialog( Session&, QWidget * parent = 0 );