"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/src/gui-qt/syntax_chooser.h" (12 May 2020, 576 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #ifndef SYNTAX_CHOOSER_H
    2 #define SYNTAX_CHOOSER_H
    3 
    4 #include <QDialog>
    5 #include <QString>
    6 
    7 namespace Ui {
    8 class syntax_chooser;
    9 }
   10 
   11 class syntax_chooser : public QDialog
   12 {
   13     Q_OBJECT
   14     Q_DISABLE_COPY(syntax_chooser)
   15 public:
   16     explicit syntax_chooser(QWidget *parent = 0);
   17     ~syntax_chooser();
   18 
   19     void setUnclearExtension(const QString& ext);
   20 
   21     void addSyntaxName(const QString& name);
   22 
   23     QString getSelection();
   24 
   25     bool getRememberFlag();
   26 
   27 protected:
   28     virtual void changeEvent(QEvent *e);
   29 
   30 private:
   31     Ui::syntax_chooser *ui;
   32 };
   33 
   34 #endif // SYNTAX_CHOOSER_H