1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
13 File: YQSimplePatchSelector.h
15 Author: Stefan Hundhammer <sh@suse.de>
20 #ifndef YQSimplePatchSelector_h
21 #define YQSimplePatchSelector_h
25 #include <ycp/YCPString.h>
27 #include "YQPackageSelectorBase.h"
32 class YQPkgPatchFilterView;
37 class YQSimplePatchSelector : public YQPackageSelectorBase
43 YQSimplePatchSelector( YWidget * parent, long modeFlags );
49 * User clicked on "Details..." - start the detailed package selection.
50 * This will return from UI::RunPkgSelection() with `details .
52 void detailedPackageSelection();
62 // Layout methods - create and layout widgets
65 void layoutButtons ( QWidget * parent );
68 * Find the wizard in the current dialog, if there is any.
69 * Returns 0 if there is none.
71 YQWizard * findWizard() const;
74 * Establish Qt signal / slot connections.
76 void makeConnections();
81 YQPkgPatchFilterView * _patchFilterView;
82 YQPkgPatchList * _patchList;
88 #endif // YQSimplePatchSelector_h